Updraft
1.0
Open source glider flight visualisation tool.
|
This class holds information about a MapObject event. More...
#include <eventinfo.h>
Public Member Functions | |
EventInfo (EventType type_) | |
EventInfo (EventType type_, osg::Vec3 inter_) | |
Public Attributes | |
EventType | type |
osg::Vec3 | intersection |
Coordinates of the intersection. |
This class holds information about a MapObject event.
This event happens when e.g. the user clicks a MapObject. Subsequently, all the plugins are informed about the event using this class. Everything that the plugins might need to know about the event should go here.
Updraft::EventInfo::EventInfo | ( | EventType | type_ | ) | [inline] |
Updraft::EventInfo::EventInfo | ( | EventType | type_, |
osg::Vec3 | inter_ | ||
) | [inline] |
osg::Vec3 Updraft::EventInfo::intersection |
Coordinates of the intersection.