8 #ifndef GlobeEngine_TrafficInfoObject_h
9 #define GlobeEngine_TrafficInfoObject_h
12 #include "OpenGL_Includes.h"
17 #include <QNetworkReply>
28 void create(std::shared_ptr<TrafficInfoBlueprint> _blueprint, std::shared_ptr<ReferenceSystem> _referenceSystem);
51 void draw(std::shared_ptr<ge::Camera> _cam);
59 void loadTrafficTable(std::string _filename);
61 std::shared_ptr<TrafficInfoBlueprint> blueprint;
64 std::vector<int> rblNumbers;
65 std::vector<std::string> plattformNames;
66 std::vector<std::string> lineNames;
67 std::vector<int> underGroundRBLNumbers;
68 std::vector <int>trafficInfoTextureRef;
69 std::vector <ge::Texture2Drgba*> iconObjects;
70 std::vector <std::string> iconVarNames;
72 float highlightingSize;
void loadData(std::string filename)
Definition: TrafficInfoObject.cpp:41
void loadTrafficInfoFromJson(std::string _input)
Definition: TrafficInfoObject.cpp:177
void undoHighlightPoint()
Definition: TrafficInfoObject.cpp:317
const std::vector< int > getUndergroundRBLNumbers() const
Definition: TrafficInfoObject.cpp:301
Definition: ClusterGrid.h:17
const std::vector< std::string > getPlattformNames() const
Definition: TrafficInfoObject.cpp:305
QUrl requestSingleStation(int _idx)
Definition: TrafficInfoObject.cpp:162
Definition: PointFeatureObject.h:19
int getRBLNumber(int _idx) const
Definition: TrafficInfoObject.cpp:281
std::string getLineName(int _idx) const
Definition: TrafficInfoObject.cpp:297
const std::vector< int > getRBLNumbers() const
Definition: TrafficInfoObject.cpp:285
TrafficInfoObject()
Definition: TrafficInfoObject.cpp:15
virtual void create()
Definition: FeatureObject.cpp:47
void setPointSize(float _input)
Definition: TrafficInfoObject.cpp:322
Definition: TrafficInfoObject.h:21
void highlightPoint(int _id)
Definition: TrafficInfoObject.cpp:313
~TrafficInfoObject()
Definition: TrafficInfoObject.cpp:20
QUrl requestTrafficInfo() const
Definition: TrafficInfoObject.cpp:241
std::string getPlattformName(int _idx) const
Definition: TrafficInfoObject.cpp:293
int getUndergroundRBLNumber(int _idx) const
Definition: TrafficInfoObject.cpp:289
const std::vector< std::string > getLineNames() const
Definition: TrafficInfoObject.cpp:309
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: TrafficInfoObject.cpp:142
void clear()
Definition: TrafficInfoObject.cpp:25
bool hasTrafficInfo() const
Definition: TrafficInfoObject.cpp:273