34 lines
443 B
C++
34 lines
443 B
C++
#ifndef OUTLINE_H
|
|
#define OUTLINE_H
|
|
|
|
|
|
#include "Renderable3D.h"
|
|
#include <vector>
|
|
#include <Indoor/geo/Point3.h>
|
|
#include "TriangleData.h"
|
|
|
|
class Outline : public Renderable3D {
|
|
|
|
private:
|
|
|
|
TriangleData triangles;
|
|
Point3 color;
|
|
|
|
public:
|
|
|
|
Outline();
|
|
|
|
|
|
|
|
virtual void render(const RenderSettings& rs) override;
|
|
|
|
void setColor(float r, float g, float b);
|
|
|
|
void clear();
|
|
|
|
void add(std::vector<std::vector<Point3>>&);
|
|
|
|
};
|
|
|
|
#endif // OUTLINE_H
|