| 1 |
NAME SoMotion3Event SoMotion3Ev "" { 3D motion events } |
| 2 |
|
| 3 |
INCLUDE events/SoMotion3Event.h |
| 4 |
|
| 5 |
DESC { \cSoMotion3Event\. represents 3D relative motion events in the Inventor |
| 6 |
event model. |
| 7 |
} |
| 8 |
|
| 9 |
METHOD "" SoMotion3Event() { Constructor. } |
| 10 |
|
| 11 |
METHOD "" static SoType getClassTypeId() { |
| 12 |
Return the type id for the \cSoMotion3Event\. class. |
| 13 |
} |
| 14 |
|
| 15 |
METHOD "setXlate" void setTranslation(const SbVec3f &t) {} |
| 16 |
METHOD "getXlate" const SbVec3f & getTranslation() const { |
| 17 |
Set and get the relative change in translation since the last translation event. |
| 18 |
} |
| 19 |
|
| 20 |
METHOD "setRot" void setRotation(const SbRotation &r) {} |
| 21 |
METHOD "getRot" const SbRotation & getRotation() const { |
| 22 |
Set and get the relative change in rotation since the last rotation event. |
| 23 |
} |
| 24 |
|
| 25 |
ALSO { |
| 26 |
SoEvent, SoButtonEvent, SoKeyboardEvent, SoLocation2Event, |
| 27 |
SoMouseButtonEvent, SoSpaceballButtonEvent, |
| 28 |
SoHandleEventAction, SoEventCallback, SoSelection, SoInteraction, |
| 29 |
SoXtDevice } |
| 30 |
|
| 31 |
|
| 32 |
|