Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::vrml97_node::viewpoint_node:
Public Member Functions | |
viewpoint_node (const node_type &type, const scope_ptr &scope) | |
Construct. | |
virtual | ~viewpoint_node () throw () |
Destroy. | |
virtual const mat4f & | transformation () const throw () |
Get the transformation of the viewpoint_node in the global coordinate system. | |
virtual const mat4f & | user_view_transform () const throw () |
Get the transformation of the user view relative to the viewpoint_node. | |
virtual void | user_view_transform (const mat4f &transform) throw () |
Set the transformation of the user view relative to the viewpoint_node. | |
virtual const std::string & | description () const throw () |
description accessor. | |
virtual float | field_of_view () const throw () |
Get the field of view. | |
const sfrotation & | orientation () const |
orientation accessor. | |
const sfvec3f & | position () const |
position accessor. | |
Private Member Functions | |
virtual void | do_initialize (double timestamp) throw () |
Initialize. | |
virtual void | do_relocate () throw (std::bad_alloc) |
Relocate. | |
virtual void | do_shutdown (double timestamp) throw () |
Shut down. | |
void | process_set_bind (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_bind eventIn handler. | |
void | process_set_fieldOfView (const field_value &value, double timestamp) throw (std::bad_cast) |
set_fieldOfView eventIn handler. | |
void | process_set_jump (const field_value &value, double timestamp) throw (std::bad_cast) |
set_jump eventIn handler. | |
void | process_set_orientation (const field_value &value, double timestamp) throw (std::bad_cast) |
set_orientation eventIn handler. | |
void | process_set_position (const field_value &value, double timestamp) throw (std::bad_cast) |
set_position eventIn handler. | |
void | update_final_transformation () const throw () |
Update final_transformation. | |
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. | |
mat4f | parent_transform |
The accumulated transformation applied by any parent nodes. | |
mat4f | final_transformation |
The product of parent_transform and any transformation applied by the Viewpoint node. | |
bool | final_transformation_dirty |
Flag that indicates if final_transformation needs to be updated. | |
mat4f | user_view_transform_ |
The transformation applied to the user view. | |
Friends | |
class | viewpoint_class |
Class object for Viewpoint instances. |
|
Construct.
Reimplemented from openvrml::viewpoint_node. |
|
Destroy.
Implements openvrml::viewpoint_node. |
|
description accessor.
Implements openvrml::viewpoint_node. |
|
Initialize.
Reimplemented from openvrml::node. |
|
Relocate.
Reimplemented from openvrml::node. |
|
Shut down.
Reimplemented from openvrml::node. |
|
Get the field of view.
Implements openvrml::viewpoint_node. |
|
orientation accessor.
|
|
position accessor.
|
|
set_bind eventIn handler.
|
|
set_fieldOfView eventIn handler.
|
|
set_jump eventIn handler.
|
|
set_orientation eventIn handler.
|
|
set_position eventIn handler.
|
|
Get the transformation of the viewpoint_node in the global coordinate system.
Implements openvrml::viewpoint_node. |
|
Update final_transformation.
If final_transformation_dirty is |
|
Set the transformation of the user view relative to the viewpoint_node.
Implements openvrml::viewpoint_node. |
|
Get the transformation of the user view relative to the viewpoint_node.
Implements openvrml::viewpoint_node. |
|
Class object for Viewpoint instances.
|
|
bindTime eventOut.
|
|
isBound eventOut.
|
|
description field.
|
|
fieldOfView exposedField.
|
|
The product of parent_transform and any transformation applied by the Viewpoint node.
|
|
Flag that indicates if final_transformation needs to be updated.
|
|
jump exposedField.
|
|
orientation exposedField.
|
|
The accumulated transformation applied by any parent nodes.
|
|
position exposedField.
|
|
The transformation applied to the user view. Generally the result of any user navigation. |