#include <SpaceWareSensor.h>
Inheritance diagram for H3D::SpaceWareSensor:

Public Member Functions | |
| SpaceWareSensor (Inst< SFBool > _enabled=0, Inst< SFNode > _metadata=0, Inst< SFBool > _isActive=0, Inst< SFVec3f > _rawTranslation=0, Inst< SFRotation > _rawYaw=0, Inst< SFRotation > _rawPitch=0, Inst< SFRotation > _rawRoll=0, Inst< SFRotation > _rawRotation=0, Inst< ScaleTranslation > _instantTranslation=0, Inst< ScaleRotation > _instantYaw=0, Inst< ScaleRotation > _instantPitch=0, Inst< ScaleRotation > _instantRoll=0, Inst< ScaleRotation > _instantRotation=0, Inst< AccumulateTranslation > _accumulatedTranslation=0, Inst< AccumulateRotation > _accumulatedYaw=0, Inst< AccumulateRotation > _accumulatedPitch=0, Inst< AccumulateRotation > _accumulatedRoll=0, Inst< AccumulateRotation > _accumulatedRotation=0, Inst< SFFloat > _translationScale=0, Inst< SFFloat > _rotationScale=0, Inst< SFInt32 > _buttons=0, Inst< SFInt32 > _latestButtonPress=0, Inst< SFInt32 > _latestButtonRelease=0) | |
| Constructor. | |
Public Attributes | |
| auto_ptr< SFVec3f > | rawTranslation |
| Contains the current translation as reported by the device. | |
| auto_ptr< SFRotation > | rawYaw |
| Contains the current rotation around the x-axis as reported by the device. | |
| auto_ptr< SFRotation > | rawPitch |
| Contains the current rotation around the y-axis as reported by the device. | |
| auto_ptr< SFRotation > | rawRoll |
| Contains the current rotation around the z-axis as reported by the device. | |
| auto_ptr< SFRotation > | rawRotation |
| Contains the current total rotation as reported by the device. | |
| auto_ptr< ScaleTranslation > | instantTranslation |
| rawTranslation scaled by rotationScale | |
| auto_ptr< ScaleRotation > | instantYaw |
| rawYaw scaled by rotationScale | |
| auto_ptr< ScaleRotation > | instantPitch |
| rawPitch scaled by rotationScale | |
| auto_ptr< ScaleRotation > | instantRoll |
| rawRoll scaled by rotationScale | |
| auto_ptr< ScaleRotation > | instantRotation |
| Composite rotation of instantYaw, instantPitch and instantRoll. | |
| auto_ptr< AccumulateTranslation > | accumulatedTranslation |
| The sum of all instantTranslation values. | |
| auto_ptr< AccumulateRotation > | accumulatedYaw |
| The sum of all instantYaw values. | |
| auto_ptr< AccumulateRotation > | accumulatedPitch |
| The sum of all instantPitch values. | |
| auto_ptr< AccumulateRotation > | accumulatedRoll |
| The sum of all instantRoll values. | |
| auto_ptr< AccumulateRotation > | accumulatedRotation |
| The sum of all instantRotation values. | |
| auto_ptr< SFFloat > | translationScale |
| The scale factor for the instantTranslation field. | |
| auto_ptr< SFFloat > | rotationScale |
| The scale factor for the instant version of the different rotation fields. | |
| auto_ptr< SFInt32 > | buttons |
| Integer representing the current status of the buttons. | |
| auto_ptr< SFInt32 > | latestButtonPress |
| The button number of the last button that was pressed. | |
| auto_ptr< SFInt32 > | latestButtonRelease |
| The button number of the last button that was released. | |
| bool | thread_motion_event |
| vector< ButtonData > | thread_buttons |
| Vec3f | thread_rotation |
| Vec3f | thread_translation |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
Classes | |
| struct | AccumulateRotation |
| This class is an AutoUpdate class that accumulates the rotation values routed to it, i.e. More... | |
| struct | AccumulateTranslation |
| This class is an AutoUpdate class that accumulates the Vec3f values routed to it, i.e. More... | |
| struct | ScaleRotation |
| Updates itself to the Rotation routed to it where the angle is scaled by the scale factor. More... | |
| struct | ScaleTranslation |
| Updates itself to the SFVec3f routed to it scaled by the scale factor. More... | |
|
|
The sum of all instantPitch values.
Access type: outputOnly
|
|
|
The sum of all instantRoll values.
Access type: outputOnly
|
|
|
The sum of all instantRotation values.
Access type: outputOnly
|
|
|
The sum of all instantTranslation values.
Access type: outputOnly
|
|
|
The sum of all instantYaw values.
Access type: outputOnly
|
|
|
Integer representing the current status of the buttons. Each bit represents the status of a button where 1 means that it is pressed. There are three special button bits: SI_RESET_BIT, SI_PICK_BIT and SI_DIALOG_BIT (these buttons are not present on all devices). Aside from these the first button is the 0x2 bit, the second is the 0x4 and so on.
Access type: outputOnly
|
|
|
rawPitch scaled by rotationScale
Access type: outputOnly
|
|
|
rawRoll scaled by rotationScale
Access type: outputOnly
|
|
|
Composite rotation of instantYaw, instantPitch and instantRoll.
Access type: outputOnly
|
|
|
rawTranslation scaled by rotationScale
Access type: outputOnly
|
|
|
rawYaw scaled by rotationScale
Access type: outputOnly
|
|
|
The button number of the last button that was pressed.
Access type: outputOnly
|
|
|
The button number of the last button that was released.
Access type: outputOnly
|
|
|
Contains the current rotation around the y-axis as reported by the device.
Access type: outputOnly
|
|
|
Contains the current rotation around the z-axis as reported by the device.
Access type: outputOnly
|
|
|
Contains the current total rotation as reported by the device.
Access type: outputOnly
|
|
|
Contains the current translation as reported by the device.
Access type: outputOnly
|
|
|
Contains the current rotation around the x-axis as reported by the device.
Access type: outputOnly
|
|
|
The scale factor for the instant version of the different rotation fields.
Access type: inputOutput
|
|
|
The scale factor for the instantTranslation field.
Access type: inputOutput
|
1.4.5