33 #ifndef COIN_SOVRMLDRAGSENSOR_H 34 #define COIN_SOVRMLDRAGSENSOR_H 36 #include <Inventor/nodes/SoSubNode.h> 37 #include <Inventor/VRMLnodes/SoVRMLSensor.h> 38 #include <Inventor/fields/SoSFVec3f.h> 39 #include <Inventor/SbVec2s.h> 40 #include <Inventor/SbVec2f.h> 41 #include <Inventor/SbMatrix.h> 42 #include <Inventor/SbViewVolume.h> 57 static void initClass(
void);
61 virtual SbBool dragStart(
void) = 0;
62 virtual void drag(
void) = 0;
63 virtual void dragFinish(
void) = 0;
68 const SbVec3f & getLocalStartingPoint(
void)
const;
69 const SbMatrix & getLocalToWorldMatrix(
void)
const;
70 const SbMatrix & getWorldToLocalMatrix(
void)
const;
72 const SbVec2f & getNormalizedLocaterPosition(
void)
const;
84 #endif // ! COIN_SOVRMLDRAGSENSOR_H The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:49
SoSFVec3f trackPoint_changed
Definition: SoVRMLDragSensor.h:52
The SoVRMLDragSensor class is a superclass for VRML drag sensors.
Definition: SoVRMLDragSensor.h:46
The SoSFBool class is a container for an SbBool value.
Definition: SoSFBool.h:39
The SoVRMLSensor class is an abstract superclass for VRML sensors.
Definition: SoVRMLSensor.h:39
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
SoSFBool autoOffset
Definition: SoVRMLDragSensor.h:53
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:47
The SoHandleEventAction class distributes user events to the scene.
Definition: SoHandleEventAction.h:46
The SbViewVolume class is a viewing volume in 3D space.
Definition: SbViewVolume.h:50
The SoSFVec3f class is a container for an SbVec3f vector.
Definition: SoSFVec3f.h:40
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition: SbVec2s.h:51
virtual void handleEvent(SoHandleEventAction *action)
Definition: SoNode.cpp:1083
#define SO_NODE_ABSTRACT_HEADER(classname)