H3D::X3DDragSensorNode Class Reference
[Abstract nodes.]

This abstract node type is the base type for all drag-style pointing device sensors. More...

#include <H3D/X3DDragSensorNode.h>

Inheritance diagram for H3D::X3DDragSensorNode:

Inheritance graph

List of all members.

Public Member Functions

 X3DDragSensorNode (Inst< SFBool > _autoOffset=0, Inst< SFString > _description=0, Inst< SFBool > _enabled=0, Inst< SFNode > _metadata=0, Inst< SFBool > _isActive=0, Inst< SFBool > _isOver=0, Inst< SFVec3f > _trackPoint_changed=0)
 Constructor.

Public Attributes

auto_ptr< SFBoolautoOffset
 If autoOffset is TRUE when the pointing-device is deactivated, the offset field is set to the sensor's last

_changed value and offset sends an offset_changed output event.

auto_ptr< SFVec3ftrackPoint_changed
 The trackPoint_changed outputOnly field sends the intersection point of the bearing with the drag sensor's virtual geometry.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.


Detailed Description

This abstract node type is the base type for all drag-style pointing device sensors.


Member Data Documentation

If autoOffset is TRUE when the pointing-device is deactivated, the offset field is set to the sensor's last

_changed value and offset sends an offset_changed output event.

This enables subsequent grabbing operations to accumulate the changes. If autoOffset is FALSE, the sensor does not set the offset field value at deactivation (or any other time).

Access type: inputOutput

Referenced by H3D::SphereSensor::Set_SphereEvents::update(), and X3DDragSensorNode().

The trackPoint_changed outputOnly field sends the intersection point of the bearing with the drag sensor's virtual geometry.

Access type: outputOnly

Referenced by H3D::SphereSensor::Set_SphereEvents::update().


The documentation for this class was generated from the following files:

Generated on Fri Nov 7 10:31:25 2008 for H3D API by  doxygen 1.5.7