worked on 3D display
some ui changes refactoring new icons
This commit is contained in:
33
mapview/3D/misc/Outline.h
Normal file
33
mapview/3D/misc/Outline.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#ifndef OUTLINE_H
|
||||
#define OUTLINE_H
|
||||
|
||||
|
||||
#include "Renderable3D.h"
|
||||
#include <vector>
|
||||
#include <Indoor/geo/Point3.h>
|
||||
|
||||
class Outline : public Renderable3D {
|
||||
|
||||
private:
|
||||
|
||||
std::vector<float> vertices;
|
||||
std::vector<float> normals;
|
||||
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
|
||||
Reference in New Issue
Block a user