24 #ifndef COIN_SOVRMLDRAGSENSOR_H 25 #define COIN_SOVRMLDRAGSENSOR_H 27 #include <Inventor/nodes/SoSubNode.h> 28 #include <Inventor/VRMLnodes/SoVRMLSensor.h> 29 #include <Inventor/fields/SoSFVec3f.h> 30 #include <Inventor/SbVec2s.h> 31 #include <Inventor/SbVec2f.h> 32 #include <Inventor/SbMatrix.h> 33 #include <Inventor/SbViewVolume.h> 48 static void initClass(
void);
52 virtual SbBool dragStart(
void) = 0;
53 virtual void drag(
void) = 0;
54 virtual void dragFinish(
void) = 0;
59 const SbVec3f & getLocalStartingPoint(
void)
const;
60 const SbMatrix & getLocalToWorldMatrix(
void)
const;
61 const SbMatrix & getWorldToLocalMatrix(
void)
const;
63 const SbVec2f & getNormalizedLocaterPosition(
void)
const;
75 #endif // ! COIN_SOVRMLDRAGSENSOR_H The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:36
The SoBase class is the top-level superclass for a number of class-hierarchies.SoBase provides the ba...
Definition: SoBase.h:41
SoSFVec3f trackPoint_changed
Definition: SoVRMLDragSensor.h:43
The SoVRMLDragSensor class is a superclass for VRML drag sensors.
Definition: SoVRMLDragSensor.h:37
The SoSFBool class is a container for an SbBool value.This field is used where nodes, engines or other field containers needs to store a boolean on/off or TRUE/FALSE value, like for instance as the "on" field of the SoPointLight, SoSpotLight and SoDirectionalLight node classes.
Definition: SoSFBool.h:30
The SoVRMLSensor class is an abstract superclass for VRML sensors.
Definition: SoVRMLSensor.h:30
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
SoSFBool autoOffset
Definition: SoVRMLDragSensor.h:44
The SbMatrix class is a 4x4 dimensional representation of a matrix.SbMatrix is used by many other cla...
Definition: SbMatrix.h:37
The SoHandleEventAction class distributes user events to the scene.This is the action used by the GUI...
Definition: SoHandleEventAction.h:36
The SbViewVolume class is a viewing volume in 3D space.This class contains the necessary information ...
Definition: SbViewVolume.h:41
The SoSFVec3f class is a container for an SbVec3f vector.This field is used where nodes...
Definition: SoSFVec3f.h:31
The SbVec2s class is a 2 dimensional vector with short integer coordinates.This vector class is used ...
Definition: SbVec2s.h:37
virtual void handleEvent(SoHandleEventAction *action)
Definition: SoNode.cpp:1031