37 #include <Inventor/SbVec2s.h> 38 #include <Inventor/SbVec2f.h> 39 #include <Inventor/SbTime.h> 40 #include <Inventor/events/SoSubEvent.h> 46 SO_EVENT_ABSTRACT_HEADER();
48 static void initClass(
void);
53 SbBool isOfType(
SoType type)
const;
55 void setTime(
const SbTime t);
56 SbTime getTime(
void)
const;
58 void setPosition(
const SbVec2s & p);
59 const SbVec2s & getPosition(
void)
const;
63 void setShiftDown(SbBool isDown);
64 SbBool wasShiftDown(
void)
const;
65 void setCtrlDown(SbBool isDown);
66 SbBool wasCtrlDown(
void)
const;
67 void setAltDown(SbBool isDown);
68 SbBool wasAltDown(
void)
const;
76 static void initEvents(
void);
79 unsigned int shiftdown : 1;
80 unsigned int ctrldown : 1;
81 unsigned int altdown : 1;
85 #endif // !COIN_SOEVENT_H The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:49
The SbTime class instances represents time values.
Definition: SbTime.h:50
The SoEvent class is the base class for all Coin events.
Definition: SoEvent.h:45
The SbViewportRegion class is a viewport within a full window.
Definition: SbViewportRegion.h:40
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition: SbVec2s.h:51
The SoType class is the basis for the run-time type system in Coin.
Definition: SoType.h:59