16 #include "visbasemod.h" 26 namespace osg {
class Node; }
37 class EventCatchHandler;
48 EventInfo(
const EventInfo&);
51 EventInfo& operator=(
const EventInfo&);
89 friend class EventCatchHandler;
96 void setEventType(
int type );
97 int eventType()
const {
return type_; }
99 void releaseEventsPostOsg(
bool yn );
107 bool isHandled()
const;
121 static const char* eventtypestr();
bool eventreleasepostosg_
Definition: visevent.h:132
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: visevent.h:41
TabletInfo * tabletinfo
Definition: visevent.h:82
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:53
Line3 mouseline
Definition: visevent.h:59
DataObject is the base class off all objects that are used in Visualization and ought to be shared in...
Definition: visdata.h:65
Definition: visevent.h:41
TypeSet< int > pickedobjids
Definition: visevent.h:76
CNotifier< EventCatcher, const EventInfo & > eventhappened
Definition: visevent.h:104
ObjectSet< Transformation > utm2display_
Definition: visevent.h:119
static EventCatcher * create()
Definition: visevent.h:93
bool rehandling_
Definition: visevent.h:124
Definition: visevent.h:41
A cartesian coordinate in 2D space.
Definition: coord.h:25
CNotifier< EventCatcher, const EventInfo & > nothandled
Definition: visevent.h:105
A Line3 is a line in space, with the following equations:
Definition: trigonometry.h:441
Definition: mouseevent.h:23
bool pressed
Definition: visevent.h:66
double pickdepth
Mouseline parameter value of picked pos.
Definition: visevent.h:63
Set of pointers to objects.
Definition: commontypes.h:32
ButtonState
Definition: keyenum.h:20
Coord3 localpickedpos
Definition: visevent.h:79
Threads::Lock eventqueuelock_
Definition: visevent.h:131
ObjectSet< EventInfo > eventqueue_
Definition: visevent.h:130
Coord3 worldpickedpos
Definition: visevent.h:80
Definition: visevent.h:42
bool ishandled_
Definition: visevent.h:123
Timer * eventreleasetimer_
Definition: visevent.h:133
int type_
Definition: visevent.h:118
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: visannot.h:43
bool dragging
Only set if type == MouseMovement.
Definition: visevent.h:70
EventType type
Definition: visevent.h:53
OD::KeyboardKey key_
Only set if type == Keyboard.
Definition: visevent.h:73
Coord mousepos
Definition: visevent.h:57
bool rehandled_
Definition: visevent.h:125
Open Scene Graph.
Definition: visannot.h:29
Definition: visevent.h:44
KeyboardKey
Definition: keyenum.h:35
EventCatchHandler * eventcatchhandler_
Definition: visevent.h:128
Notifier with automatic capsule creation.
Definition: callback.h:395
#define mCreateDataObj(clss)
Definition: visdata.h:209
Coord3 displaypickedpos
Definition: visevent.h:78
Timer class.
Definition: timer.h:25
osg::Node * osgnode_
Definition: visevent.h:127
EventType
Definition: visevent.h:41
OD::ButtonState buttonstate_
Definition: visevent.h:55
Definition: visevent.h:87
Definition: visevent.h:41