Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
touch_sensor_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
Construct. | |
virtual | ~touch_sensor_node () throw () |
Destroy. | |
virtual touch_sensor_node * | to_touch_sensor () const |
Cast to a touch_sensor_node. | |
void | activate (double timeStamp, bool isOver, bool isActive, double *p) |
bool | enabled () const |
Return whether the TouchSensor is enabled. | |
Private Attributes | |
exposedfield< sfbool > | enabled_ |
enabled exposedField. | |
sfvec3f | hit_normal_changed_ |
hitNormal_changed eventOut value. | |
sfvec3f_emitter | hit_normal_changed_emitter_ |
hitNormal_changed eventOut emitter. | |
sfvec3f | hit_point_changed_ |
hitPoint_changed eventOut value. | |
sfvec3f_emitter | hit_point_changed_emitter_ |
hitPoint_changed eventOut emitter. | |
sfvec2f | hit_tex_coord_changed_ |
hitTexCoord_changed eventOut value. | |
sfvec2f_emitter | hit_tex_coord_changed_emitter_ |
hitTexCoord_changed eventOut emitter. | |
sfbool | is_active_ |
isActive eventOut value. | |
sfbool_emitter | is_active_emitter_ |
isActive eventOut emitter. | |
sfbool | is_over_ |
isOver eventOut value. | |
sfbool_emitter | is_over_emitter_ |
isOver eventOut emitter. | |
sftime | touch_time_ |
touchTime eventOut value. | |
sftime_emitter | touch_time_emitter_ |
touchTime eventOut emitter. | |
Friends | |
class | touch_sensor_class |
Class object for TouchSensor instances. |
openvrml::vrml97_node::touch_sensor_node::touch_sensor_node | ( | const node_type & | type, | |
const boost::shared_ptr< openvrml::scope > & | scope | |||
) |
Construct.
type | the node_type associated with the instance. | |
scope | the scope that the new node will belong to. |
openvrml::vrml97_node::touch_sensor_node::~touch_sensor_node | ( | ) | throw () [virtual] |
Destroy.
touch_sensor_node * openvrml::vrml97_node::touch_sensor_node::to_touch_sensor | ( | ) | const [virtual] |
void openvrml::vrml97_node::touch_sensor_node::activate | ( | double | timestamp, | |
bool | isOver, | |||
bool | isActive, | |||
double * | p | |||
) |
bool openvrml::vrml97_node::touch_sensor_node::enabled | ( | ) | const |
Return whether the TouchSensor is enabled.
true
if the TouchSensor is enabled, false
otherwise.
openvrml::vrml97_node::touch_sensor_node::touch_sensor_class [friend] |
Class object for TouchSensor instances.
enabled exposedField.
hitNormal_changed eventOut value.
hitNormal_changed eventOut emitter.
hitPoint_changed eventOut value.
hitPoint_changed eventOut emitter.
hitTexCoord_changed eventOut value.
hitTexCoord_changed eventOut emitter.
isActive eventOut value.
isActive eventOut emitter.
isOver eventOut value.
isOver eventOut emitter.
touchTime eventOut value.
touchTime eventOut emitter.