Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Inheritance diagram for SphereSensor:
Public Methods | |
SphereSensor (const NodeType &nodeType, const ScopePtr &scope) | |
Constructor. | |
virtual | ~SphereSensor () throw () |
Destructor. | |
virtual SphereSensor * | toSphereSensor () const |
Cast to a SphereSensor. | |
virtual void | render (Viewer &viewer, VrmlRenderContext context) |
Render the node. | |
void | activate (double timeStamp, bool isActive, double *p) |
Activate or deactivate the SphereSensor. | |
bool | isEnabled () const throw () |
Determine whether the SphereSensor is enabled. | |
Private Methods | |
void | processSet_autoOffset (const FieldValue &sfbool, double timestamp) throw (std::bad_cast) |
set_autoOffset eventIn handler. | |
void | processSet_enabled (const FieldValue &sfbool, double timestamp) throw (std::bad_cast) |
set_enabled eventIn handler. | |
void | processSet_offset (const FieldValue &sfrotation, double timestamp) throw (std::bad_cast) |
set_offset eventIn handler. | |
Private Attributes | |
SFBool | autoOffset |
autoOffset exposedField. | |
SFBool | enabled |
enabled exposedField. | |
SFRotation | offset |
offset exposedField. | |
SFBool | active |
isActive eventOut. | |
SFRotation | rotation |
rotation_changed eventOut. | |
SFVec3f | trackPoint |
trackPoint_changed eventOut. | |
SFVec3f | activationPoint |
The start point of a drag operation. | |
SFVec3f | centerPoint |
Center point. | |
VrmlMatrix | modelview |
Modelview matrix. | |
Friends | |
class | SphereSensorClass |
Class object for SphereSensor instances. |
|
Constructor.
|
|
Destructor.
|
|
Activate or deactivate the SphereSensor. Activating a drag sensor means that the pointing device button has been depressed and a drag operation has been initiated. The sensor is deactivated when the button is released at the end of the operation.
|
|
Determine whether the SphereSensor is enabled.
|
|
set_autoOffset eventIn handler.
|
|
set_enabled eventIn handler.
|
|
set_offset eventIn handler.
|
|
Render the node.
Reimplemented from Node. |
|
Cast to a SphereSensor.
Reimplemented from Node. |
|
Class object for SphereSensor instances.
|
|
The start point of a drag operation.
|
|
isActive eventOut.
|
|
autoOffset exposedField.
|
|
Center point.
|
|
enabled exposedField.
|
|
Modelview matrix.
|
|
offset exposedField.
|
|
rotation_changed eventOut.
|
|
trackPoint_changed eventOut.
|