20 #ifndef GUIViewTraffic_h 21 #define GUIViewTraffic_h 89 bool hide =
false,
double hideThreshold = 0);
113 void saveFrame(
const std::string& destFile, FXColor* buf);
virtual void buildViewToolBars(GUIGlChildWindow &)
builds the view toolbars
long onCmdCloseLane(FXObject *, FXSelector, void *)
interaction with the simulation
bool setColorScheme(const std::string &name)
set color scheme
void onGamingRightClick(Position pos)
Stores the information about how to visualize structures.
A class that stores a 2D geometrical boundary.
Representation of a lane in the micro simulation (gui-version)
A point in 2D or 3D with translation and scaling methods.
long onCmdAddRerouter(FXObject *, FXSelector, void *)
long onCmdCloseEdge(FXObject *, FXSelector, void *)
bool myTLSGame
whether game mode was set to 'tls'
void onGamingClick(Position pos)
handle mouse click in gaming mode
A simple video encoder from RGBA pics to anything ffmpeg can handle.
void startTrack(int id)
Starts vehicle tracking.
std::vector< std::string > getEdgeLaneParamKeys(bool edgeKeys) const
return list of available edge parameters
long onDoubleClicked(FXObject *, FXSelector, void *)
void checkSnapshots()
Checks whether it is time for a snapshot.
SUMOTime getCurrentTimeStep() const
get the current simulation time
A single child window which contains a view of the simulation area.
void endSnapshot()
Ends a video snapshot.
void buildColorRainbow(const GUIVisualizationSettings &s, GUIColorScheme &scheme, int active, GUIGlObjectType objectType, bool hide=false, double hideThreshold=0)
recalibrate color scheme according to the current value range
A MSNet extended by some values for usage within the gui.
void saveFrame(const std::string &destFile, FXColor *buf)
Adds a frame to a video snapshot which will be initialized if neccessary.
virtual ~GUIViewTraffic()
destructor
int doPaintGL(int mode, const Boundary &bound)
paint GL
const std::vector< SUMOTime > retrieveBreakpoints() const
retrieve breakpoints from the current runThread
GUIGlID getTrackedID() const
Returns the id of the tracked vehicle (-1 if none)
std::vector< std::string > getEdgeDataAttrs() const
return list of loaded edgeData attributes
void stopTrack()
Stops vehicle tracking.
GUILane * getLaneUnderCursor()
A MSVehicle extended by some values for usage within the gui.