| Home | Download | Screen shots | Discussion | Documentation |
|---|
Inheritance diagram for openvrml::vrml97_node::sphere_sensor_node:


Public Member Functions | |
| sphere_sensor_node (const node_type &type, const scope_ptr &scope) | |
| Construct. | |
| virtual | ~sphere_sensor_node () throw () |
| Destroy. | |
| virtual sphere_sensor_node * | to_sphere_sensor () const |
| Cast to a sphere_sensor_node. | |
| virtual void | render (openvrml::viewer &viewer, rendering_context context) |
| Render the node. | |
| void | activate (double timeStamp, bool isActive, double *p) |
| Activate or deactivate the sphere_sensor_node. | |
| bool | isEnabled () const throw () |
| Determine whether the SphereSensor is enabled. | |
Private Member Functions | |
| void | process_set_autoOffset (const field_value &value, double timestamp) throw (std::bad_cast) |
| set_autoOffset eventIn handler. | |
| void | process_set_enabled (const field_value &value, double timestamp) throw (std::bad_cast) |
| set_enabled eventIn handler. | |
| void | process_set_offset (const field_value &value, double timestamp) throw (std::bad_cast) |
| set_offset eventIn handler. | |
Private Attributes | |
| sfbool | autoOffset |
| autoOffset exposedField. | |
| sfbool | enabled |
| enabled exposedField. | |
| sfrotation | offset |
| offset exposedField. | |
| sfbool | active |
| isActive eventOut. | |
| sfrotation | rotation |
| rotation_changed eventOut. | |
| sfvec3f | trackPoint |
| trackPoint_changed eventOut. | |
| sfvec3f | activationPoint |
| The start point of a drag operation. | |
| sfvec3f | centerPoint |
| Center point. | |
| mat4f | modelview |
| Modelview matrix. | |
Friends | |
| class | sphere_sensor_class |
| Class object for SphereSensor instances. | |
|
||||||||||||
|
Construct.
|
|
||||||||||||||||
|
Activate or deactivate the sphere_sensor_node. Activating a drag sensor means that the pointing device button has been depressed and a drag operation has been initiated. The sensor is deactivated when the button is released at the end of the operation.
|
|
|
Determine whether the SphereSensor is enabled.
|
|
||||||||||||
|
set_autoOffset eventIn handler.
|
|
||||||||||||
|
set_enabled eventIn handler.
|
|
||||||||||||
|
set_offset eventIn handler.
|
|
||||||||||||
|
Render the node.
Reimplemented from openvrml::node. |
|
|
Cast to a sphere_sensor_node.
Reimplemented from openvrml::node. |