Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Inheritance diagram for Viewpoint:
Public Methods | |
Viewpoint (const NodeType &nodeType, const ScopePtr &scope) | |
Constructor. | |
virtual | ~Viewpoint () throw () |
Destructor. | |
virtual Viewpoint * | toViewpoint () const |
Viewpoint cast implementation. | |
virtual void | accumulateTransform (Node *) |
virtual Node * | getParentTransform () |
Get the parent Transform. | |
const SFFloat & | getFieldOfView () const |
fieldOfView accessor. | |
const SFRotation & | getOrientation () const |
orientation accessor. | |
const SFVec3f & | getPosition () const |
position accessor. | |
const SFString & | getDescription () const |
description accessor. | |
const BVolume * | getBVolume () const |
Get the bounding volume. | |
void | getInverseMatrix (VrmlMatrix &M) const |
Get the inverse of the transform represented by the viewpoint's position and orientation fields. | |
void | getFrustum (VrmlFrustum &frust) const |
Private Methods | |
virtual void | initializeImpl (double timestamp) throw () |
Initialize. | |
void | processSet_bind (const FieldValue &sfbool, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_bind eventIn handler. | |
void | processSet_fieldOfView (const FieldValue &sffloat, double timestamp) throw (std::bad_cast) |
set_fieldOfView eventIn handler. | |
void | processSet_jump (const FieldValue &sfbool, double timestamp) throw (std::bad_cast) |
set_jump eventIn handler. | |
void | processSet_orientation (const FieldValue &sfrotation, double timestamp) throw (std::bad_cast) |
set_orientation eventIn handler. | |
void | processSet_position (const FieldValue &sfvec3f, double timestamp) throw (std::bad_cast) |
set_position eventIn handler. | |
Private Attributes | |
SFFloat | fieldOfView |
fieldOfView exposedField. | |
SFBool | jump |
jump exposedField. | |
SFRotation | orientation |
orientation exposedField. | |
SFVec3f | position |
position exposedField. | |
SFString | description |
description field. | |
SFBool | bound |
isBound eventOut. | |
SFTime | bindTime |
bindTime eventOut. | |
Node * | parentTransform |
A pointer to the parent Transform for this node. | |
Friends | |
class | ViewpointClass |
Class object for Viewpoint instances. |
|
Constructor.
|
|
Destructor.
|
|
Cache a pointer to (one of the) parent transforms for proper rendering of bindables. Reimplemented from Node. |
|
Get the bounding volume.
Reimplemented from Node. |
|
description accessor.
|
|
fieldOfView accessor.
|
|
|
|
Get the inverse of the transform represented by the viewpoint's position and orientation fields. Return the matrix in VrmlMatrix format (same as OGL). Note that this method deals only with the viewpoint node's transform, not with any ancestor transforms.
|
|
orientation accessor.
|
|
Get the parent Transform. Since Viewpoint nodes should never be instanced, they should not have multiple parent Transform nodes.
Reimplemented from Node. |
|
position accessor.
|
|
Initialize.
Reimplemented from Node. |
|
set_bind eventIn handler.
|
|
set_fieldOfView eventIn handler.
|
|
set_jump eventIn handler.
|
|
set_orientation eventIn handler.
|
|
set_position eventIn handler.
|
|
Viewpoint cast implementation.
Reimplemented from Node. |
|
Class object for Viewpoint instances.
|
|
bindTime eventOut.
|
|
isBound eventOut.
|
|
description field.
|
|
fieldOfView exposedField.
|
|
jump exposedField.
|
|
orientation exposedField.
|
|
A pointer to the parent Transform for this node.
|
|
position exposedField.
|