Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
plane_sensor_node (const node_type &type, const scope_ptr &scope) | |
Construct. | |
virtual | ~plane_sensor_node () throw () |
Destroy. | |
virtual plane_sensor_node * | to_plane_sensor () const |
Cast to a plane_sensor_node. | |
virtual void | render (openvrml::viewer &viewer, rendering_context context) |
Render the node. | |
void | activate (double timeStamp, bool isActive, double *p) |
bool | enabled () const |
Return whether the PlaneSensor 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_maxPosition (const field_value &value, double timestamp) throw (std::bad_cast) |
set_maxPosition eventIn handler. | |
void | process_set_minPosition (const field_value &value, double timestamp) throw (std::bad_cast) |
set_minPosition 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. | |
sfvec2f | maxPosition |
maxPosition exposedField. | |
sfvec2f | minPosition |
minPosition exposedField. | |
sfvec3f | offset |
offset exposedField. | |
sfbool | active |
isActive eventOut. | |
sfvec3f | translation |
translation_changed eventOut. | |
sfvec3f | trackPoint |
trackPoint_changed eventOut. | |
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. |
|
Construct.
|
|
|
|
Return whether the PlaneSensor is enabled.
|
|
set_autoOffset eventIn handler.
|
|
set_enabled eventIn handler.
|
|
set_maxPosition eventIn handler.
|
|
set_minPosition eventIn handler.
|
|
set_offset eventIn handler.
|
|
Render the node. Render a frame if there is one available.
Reimplemented from openvrml::node. |
|
Cast to a plane_sensor_node.
Reimplemented from openvrml::node. |