Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::vrml97_node::cylinder_sensor_node:
Public Member Functions | |
cylinder_sensor_node (const node_type &type, const scope_ptr &scope) | |
Construct. | |
virtual | ~cylinder_sensor_node () throw () |
Destroy. | |
virtual cylinder_sensor_node * | to_cylinder_sensor () const |
Cast to a cylinder_sensor_node. | |
virtual void | render (openvrml::viewer &viewer, rendering_context context) |
Render the node. | |
void | activate (double timeStamp, bool isActive, double *p) |
Called in response to user interaction. | |
bool | enabled () const |
Indicate whether the sensor 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_diskAngle (const field_value &value, double timestamp) throw (std::bad_cast) |
set_diskAngle eventIn handler. | |
void | process_set_enabled (const field_value &value, double timestamp) throw (std::bad_cast) |
set_enabled eventIn handler. | |
void | process_set_maxAngle (const field_value &value, double timestamp) throw (std::bad_cast) |
set_maxAngle eventIn handler. | |
void | process_set_minAngle (const field_value &value, double timestamp) throw (std::bad_cast) |
set_minAngle 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. | |
sffloat | diskAngle |
diskAngle exposedField. | |
sfbool | enabled_ |
enabled exposedField. | |
sffloat | maxAngle |
maxAngle exposedField. | |
sffloat | minAngle |
minAngle exposedField. | |
sffloat | offset |
offset exposedField. | |
sfbool | active |
isActive eventOut. | |
sfrotation | rotation |
rotation_changed eventOut. | |
sfvec3f | trackPoint |
trackPoint_changed eventOut. | |
float | rotation_val |
The rotation value. | |
vec3f | activationPoint |
The activation point. | |
bool | disk |
mat4f | activationMatrix |
Activation matrix. | |
mat4f | modelview |
Modelview matrix. | |
Friends | |
class | cylinder_sensor_class |
Class object for CylinderSensor nodes. |
|
Construct.
|
|
Indicate whether the sensor is enabled.
|
|
set_autoOffset eventIn handler.
|
|
set_diskAngle eventIn handler.
|
|
set_enabled eventIn handler.
|
|
set_maxAngle eventIn handler.
|
|
set_minAngle eventIn handler.
|
|
set_offset eventIn handler.
|
|
Render the node.
Reimplemented from openvrml::node. |
|
Cast to a cylinder_sensor_node.
Reimplemented from openvrml::node. |