GlobeEngine
ChartObject.h
Go to the documentation of this file.
1 
9 #ifndef GlobeEngine_ChartObject_h
10 #define GlobeEngine_ChartObject_h
11 
12 #include <vector>
13 #include "OpenGL_Includes.h"
14 #include "PointFeatureObject.h"
15 #include "SceneBluePrint.h"
16 #include "Texture.h"
17 
18 namespace geGIS {
19 
21  {
22 
23  public:
24  ChartObject();
25  ~ChartObject();
26  void clear();
27  void create(std::string filename);
28  void create(std::shared_ptr<ChartBlueprint> _blueprint, std::shared_ptr<ReferenceSystem> _referenceSystem);
29  void draw(std::shared_ptr<ge::Camera> _cam);
30  void loadData(std::string filename);
31 
32  private:
33  using ge::DrawableComponent::create; // implicitly hidden
34 
35  void loadAttributeValuesToPointCloud();
36  //void setAndUpdateChartShader();
37  void loadTrafficTable(std::string _filename);
38 
39  std::shared_ptr<ChartBlueprint> blueprint;
40 
41  std::string namestable;
42  std::string heighttable;
43  std::map<std::string, double> namesmap;
44  std::vector<std::string> namesEntries;
45 
46  int bufferIdxForSum;
47  };
48 }
49 #endif
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: ChartObject.cpp:118
Definition: ClusterGrid.h:17
Definition: PointFeatureObject.h:19
~ChartObject()
Definition: ChartObject.cpp:11
virtual void create()=0
virtual void create()
Definition: FeatureObject.cpp:47
Definition: ChartObject.h:20
ChartObject()
Definition: ChartObject.cpp:6
void loadData(std::string filename)
Definition: ChartObject.cpp:34
void clear()
Definition: ChartObject.cpp:16