Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
cylinder_sensor_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
Construct. | |
virtual | ~cylinder_sensor_node () throw () |
Destroy. | |
virtual cylinder_sensor_node * | to_cylinder_sensor () const |
Cast to a cylinder_sensor_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 | |
virtual void | do_render_child (openvrml::viewer &viewer, rendering_context context) |
Render the node. | |
Private Attributes | |
exposedfield< sfbool > | auto_offset_ |
autoOffset exposedField. | |
exposedfield< sffloat > | disk_angle_ |
diskAngle exposedField. | |
exposedfield< sfbool > | enabled_ |
enabled exposedField. | |
exposedfield< sffloat > | max_angle_ |
maxAngle exposedField. | |
exposedfield< sffloat > | min_angle_ |
minAngle exposedField. | |
exposedfield< sffloat > | offset_ |
offset exposedField. | |
sfbool | is_active_ |
Active state. | |
sfbool_emitter | is_active_emitter_ |
isActive eventOut. | |
sfrotation | rotation_changed_ |
Rotation state. | |
sfrotation_emitter | rotation_changed_emitter_ |
rotation_changed eventOut. | |
sfvec3f | track_point_changed_ |
Track point state. | |
sfvec3f_emitter | track_point_changed_emitter_ |
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. |
openvrml::vrml97_node::cylinder_sensor_node::cylinder_sensor_node | ( | const node_type & | type, | |
const boost::shared_ptr< openvrml::scope > & | scope | |||
) |
Construct.
type | the node_type associated with the node instance. | |
scope | the scope to which the node belongs. |
openvrml::vrml97_node::cylinder_sensor_node::~cylinder_sensor_node | ( | ) | throw () [virtual] |
Destroy.
cylinder_sensor_node * openvrml::vrml97_node::cylinder_sensor_node::to_cylinder_sensor | ( | ) | const [virtual] |
Cast to a cylinder_sensor_node.
Reimplemented from openvrml::node.
void openvrml::vrml97_node::cylinder_sensor_node::activate | ( | double | timeStamp, | |
bool | isActive, | |||
double * | p | |||
) |
Called in response to user interaction.
bool openvrml::vrml97_node::cylinder_sensor_node::enabled | ( | ) | const |
Indicate whether the sensor is enabled.
true
if the sensor is enabled; false
otherwise. void openvrml::vrml97_node::cylinder_sensor_node::do_render_child | ( | openvrml::viewer & | viewer, | |
rendering_context | context | |||
) | [private, virtual] |
Render the node.
viewer | a Viewer. | |
context | a rendering context. |
Reimplemented from openvrml::child_node.
openvrml::vrml97_node::cylinder_sensor_node::cylinder_sensor_class [friend] |
Class object for CylinderSensor nodes.
autoOffset exposedField.
diskAngle exposedField.
enabled exposedField.
maxAngle exposedField.
minAngle exposedField.
offset exposedField.
Active state.
isActive eventOut.
Rotation state.
rotation_changed eventOut.
Track point state.
trackPoint_changed eventOut.
float openvrml::vrml97_node::cylinder_sensor_node::rotation_val [private] |
The rotation value.
The activation point.
Activation matrix.
Modelview matrix.