GlobeEngine
PointFeatureObject.h
Go to the documentation of this file.
1 
9 #ifndef GlobeEngine_PointFeatureObject_h
10 #define GlobeEngine_PointFeatureObject_h
11 
12 #include <vector>
13 #include "OpenGL_Includes.h"
14 #include "PointCloud.h"
15 #include "FeatureObject.h"
16 
17 namespace geGIS {
18 
20  {
21 
22  public:
25  void clear();
26  void createPointCloud(vmml::Vector4f outerRingColor, float ringBorder);
27  void update();
28  virtual void draw(std::shared_ptr<ge::Camera> _cam);
29  void loadData(std::string filename);
30  virtual void createVAO(enum GEOMETRYDRAWMODE _in);
31 
33  virtual void setPointSize(float _pointsize);
34  float getPointSize() const;
35 
36  // overrides
37  void resetColor();
38  void setColor(vmml::Vector3f _color);
39  void setUID(GLuint _input);
40  void setGroupID(GLuint _input);
41  void setScale(vmml::Vector3d _scale);
42  void setPosition(vmml::Vector3d _position);
43  void setRotation(vmml::Vector3d _rotations);
44  void setColorPerVertex(unsigned int _in);
45  bool isPointFeature() const;
46 
47  int getVisibleItemsSize();
48  int getVisibleItemAtIndex(int _idx);
49  void setVisibleItems(vmml::Vector3d _name);
50  void setVisibilityThreshold(double _value);
51 
52  protected:
54 
56 
57  std::vector<int> visibleItems;
59 
60  };
61 }
62 #endif
void setPosition(vmml::Vector3d _position)
Definition: PointFeatureObject.cpp:189
PointFeatureObject()
Definition: PointFeatureObject.cpp:5
geData::PointCloud * pointcloud
Definition: PointFeatureObject.h:55
GEOMETRYDRAWMODE
Definition: FeatureObject.h:37
void setVisibilityThreshold(double _value)
Definition: PointFeatureObject.cpp:83
void addFeatureGeometryToCloud()
Definition: PointFeatureObject.cpp:53
void loadData(std::string filename)
Definition: ClusterGrid.h:17
bool isPointFeature() const
Definition: PointFeatureObject.cpp:72
Definition: PointFeatureObject.h:19
Definition: FeatureObject.h:28
double visibilityThreshold
Definition: PointFeatureObject.h:58
void update()
Definition: PointFeatureObject.cpp:37
void setGroupID(GLuint _input)
Definition: PointFeatureObject.cpp:168
float getPointSize() const
Definition: PointFeatureObject.cpp:131
virtual void setPointSize(float _pointsize)
Definition: PointFeatureObject.cpp:127
Definition: PointCloud.h:25
void createPointCloud(vmml::Vector4f outerRingColor, float ringBorder)
Definition: PointFeatureObject.cpp:24
void setScale(vmml::Vector3d _scale)
Definition: PointFeatureObject.cpp:179
void setVisibleItems(vmml::Vector3d _name)
Definition: PointFeatureObject.cpp:87
void setUID(GLuint _input)
Definition: PointFeatureObject.cpp:157
void setColorPerVertex(unsigned int _in)
Definition: PointFeatureObject.cpp:210
void setColor(vmml::Vector3f _color)
Definition: PointFeatureObject.cpp:138
int getVisibleItemAtIndex(int _idx)
Definition: PointFeatureObject.cpp:110
void clear()
Definition: PointFeatureObject.cpp:15
void resetColor()
Definition: PointFeatureObject.cpp:146
virtual void createVAO(enum GEOMETRYDRAWMODE _in)
Definition: PointFeatureObject.cpp:115
geData::PointCloud * getPointCloud()
Definition: PointFeatureObject.cpp:123
std::vector< int > visibleItems
Definition: PointFeatureObject.h:57
void setRotation(vmml::Vector3d _rotations)
Definition: PointFeatureObject.cpp:200
int getVisibleItemsSize()
Definition: PointFeatureObject.cpp:106
virtual void draw(std::shared_ptr< ge::Camera > _cam)
Definition: PointFeatureObject.cpp:42
~PointFeatureObject()
Definition: PointFeatureObject.cpp:10