Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Inheritance diagram for TouchSensor:
Public Methods | |
TouchSensor (const NodeType &nodeType, const ScopePtr &scope) | |
Constructor. | |
virtual | ~TouchSensor () throw () |
Destructor. | |
virtual TouchSensor * | toTouchSensor () const |
Cast to a TouchSensor. | |
void | activate (double timeStamp, bool isOver, bool isActive, double *p) |
bool | isEnabled () const |
Return whether the TouchSensor is enabled. | |
Private Methods | |
void | processSet_enabled (const FieldValue &sfbool, double timestamp) throw (std::bad_cast) |
set_enabled eventIn handler. | |
Private Attributes | |
SFBool | enabled |
enabled exposedField. | |
SFVec3f | hitNormal |
hitNormal_changed eventOut. | |
SFVec3f | hitPoint |
hitPoint_changed eventOut. | |
SFVec2f | hitTexCoord |
hitTexCoord_changed eventOut. | |
SFBool | active |
isActive eventOut. | |
SFBool | over |
isOver eventOut. | |
SFTime | touchTime |
touchTime eventOut. | |
Friends | |
class | TouchSensorClass |
Class object for TouchSensor instances. |
|
Constructor.
|
|
Destructor.
|
|
|
|
Return whether the TouchSensor is enabled.
|
|
set_enabled eventIn handler.
|
|
Cast to a TouchSensor.
Reimplemented from Node. |
|
Class object for TouchSensor instances.
|
|
isActive eventOut.
|
|
enabled exposedField.
|
|
hitNormal_changed eventOut.
|
|
hitPoint_changed eventOut.
|
|
hitTexCoord_changed eventOut.
|
|
isOver eventOut.
|
|
touchTime eventOut.
|