Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
plane_sensor_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
Construct. | |
virtual | ~plane_sensor_node () throw () |
Destroy. | |
virtual plane_sensor_node * | to_plane_sensor () const |
Cast to a plane_sensor_node. | |
void | activate (double timeStamp, bool isActive, double *p) |
bool | enabled () const |
Return whether the PlaneSensor 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< sfbool > | enabled_ |
enabled exposedField. | |
exposedfield< sfvec2f > | max_position_ |
maxPosition exposedField. | |
exposedfield< sfvec2f > | min_position_ |
minPosition exposedField. | |
exposedfield< sfvec3f > | offset_ |
offset exposedField. | |
sfbool | is_active_ |
isActive eventOut value. | |
sfbool_emitter | is_active_emitter_ |
isActive eventOut emitter. | |
sfvec3f | track_point_changed_ |
trackPoint_changed eventOut value. | |
sfvec3f_emitter | track_point_changed_emitter_ |
trackPoint_changed eventOut emitter. | |
sfvec3f | translation_changed_ |
translation_changed eventOut value. | |
sfvec3f_emitter | translation_changed_emitter_ |
translation_changed eventOut emitter. | |
sfvec3f | activationPoint |
The point at which the PlaneSensor was activated. | |
mat4f | activationMatrix |
Activation matrix. | |
mat4f | modelview |
The modelview matrix. | |
Friends | |
class | plane_sensor_class |
Class object for PlaneSensor instances. |
openvrml::vrml97_node::plane_sensor_node::plane_sensor_node | ( | const node_type & | type, | |
const boost::shared_ptr< openvrml::scope > & | scope | |||
) |
Construct.
type | the node_type associated with the node. | |
scope | the scope to which the node belongs. |
openvrml::vrml97_node::plane_sensor_node::~plane_sensor_node | ( | ) | throw () [virtual] |
Destroy.
plane_sensor_node * openvrml::vrml97_node::plane_sensor_node::to_plane_sensor | ( | ) | const [virtual] |
Cast to a plane_sensor_node.
Reimplemented from openvrml::node.
void openvrml::vrml97_node::plane_sensor_node::activate | ( | double | timestamp, | |
bool | isActive, | |||
double * | p | |||
) |
p
to local coords for each instance (USE) of the sensor? bool openvrml::vrml97_node::plane_sensor_node::enabled | ( | ) | const |
Return whether the PlaneSensor is enabled.
true
if the PlaneSensor is enabled, false
otherwise. void openvrml::vrml97_node::plane_sensor_node::do_render_child | ( | openvrml::viewer & | viewer, | |
rendering_context | context | |||
) | [private, virtual] |
Render the node.
Render a frame if there is one available.
viewer | a Viewer. | |
context | a rendering context. |
Reimplemented from openvrml::child_node.
openvrml::vrml97_node::plane_sensor_node::plane_sensor_class [friend] |
Class object for PlaneSensor instances.
autoOffset exposedField.
enabled exposedField.
maxPosition exposedField.
minPosition exposedField.
offset exposedField.
isActive eventOut value.
isActive eventOut emitter.
trackPoint_changed eventOut value.
trackPoint_changed eventOut emitter.
translation_changed eventOut value.
translation_changed eventOut emitter.
The point at which the PlaneSensor was activated.
Activation matrix.
The modelview matrix.