24 #ifndef COIN_SOVRMLCYLINDERSENSOR_H 25 #define COIN_SOVRMLCYLINDERSENSOR_H 27 #include <Inventor/nodes/SoSubNode.h> 28 #include <Inventor/VRMLnodes/SoVRMLDragSensor.h> 29 #include <Inventor/fields/SoSFFloat.h> 30 #include <Inventor/fields/SoSFRotation.h> 38 static void initClass(
void);
50 virtual void drag(
void);
56 static float findAngle(
const SbRotation & rot);
60 #endif // ! COIN_SOVRMLCYLINDERSENSOR_H The SoVRMLCylinderSensor class maps pointer motion into rotations around the Y axis.The detailed class documentation is taken verbatim from the VRML97 standard (ISO/IEC 14772-1:1997). It is copyright The Web3D Consortium, and is used by permission of the Consortium: .
Definition: SoVRMLCylinderSensor.h:32
#define SO_NODE_HEADER(classname)
The SoSFRotation class is a container for an SbRotation.This field is used where nodes, engines or other field containers needs to store a single rotation definition.
Definition: SoSFRotation.h:31
SoSFFloat offset
Definition: SoVRMLCylinderSensor.h:44
virtual SbBool dragStart(void)=0
The SoVRMLDragSensor class is a superclass for VRML drag sensors.
Definition: SoVRMLDragSensor.h:37
virtual void drag(void)=0
The SbRotation class represents a rotation in 3D space.SbRotation is used extensively throughout the ...
Definition: SbRotation.h:33
virtual void dragFinish(void)=0
SoSFFloat diskAngle
Definition: SoVRMLCylinderSensor.h:41
The SoSFFloat class is a container for a floating point value.This field is used where nodes...
Definition: SoSFFloat.h:30
SoSFRotation rotation_changed
Definition: SoVRMLCylinderSensor.h:45
SoSFFloat maxAngle
Definition: SoVRMLCylinderSensor.h:42
The SbCylinderProjector class is the abstract base class for mapping to cylindrical surfaces...
Definition: SbCylinderProjector.h:30
SoSFFloat minAngle
Definition: SoVRMLCylinderSensor.h:43