Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
viewpoint_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &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 | update_final_transformation () const throw () |
Update final_transformation. | |
Private Attributes | |
set_bind_listener | set_bind_listener_ |
set_bind eventIn handler. | |
exposedfield< sffloat > | field_of_view_ |
fieldOfView exposedField. | |
exposedfield< sfbool > | jump_ |
jump exposedField. | |
orientation_exposedfield | orientation_ |
orientation exposedField. | |
position_exposedfield | position_ |
position exposedField. | |
sfstring | description_ |
description field. | |
sfbool | is_bound_ |
isBound eventOut value. | |
sfbool_emitter | is_bound_emitter_ |
isBound eventOut emitter. | |
sftime | bind_time_ |
bindTime eventOut value. | |
sftime_emitter | bind_time_emitter_ |
bindTime eventOut emitter. | |
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 nodes. | |
Classes | |
class | orientation_exposedfield |
orientation exposedField implementation. More... | |
class | position_exposedfield |
position exposedField implementation. More... | |
class | set_bind_listener |
set_bind eventIn listener. More... |
|
Construct.
Reimplemented from openvrml::viewpoint_node. |
|
Destroy.
Implements openvrml::viewpoint_node. |
|
Get the transformation of the viewpoint_node in the global coordinate system.
Implements openvrml::viewpoint_node. |
|
Get the transformation of the user view relative to the viewpoint_node.
Implements openvrml::viewpoint_node. |
|
Set the transformation of the user view relative to the viewpoint_node.
Implements openvrml::viewpoint_node. |
|
description accessor.
Implements openvrml::viewpoint_node. |
|
Get the field of view.
Implements openvrml::viewpoint_node. |
|
orientation accessor.
|
|
position accessor.
|
|
Initialize.
Reimplemented from openvrml::node. |
|
Relocate.
Reimplemented from openvrml::child_node. |
|
Shut down.
Reimplemented from openvrml::node. |
|
Update final_transformation.
If final_transformation_dirty is |
|
Class object for Viewpoint nodes.
|
|
set_bind eventIn handler.
|
|
fieldOfView exposedField.
|
|
jump exposedField.
|
|
orientation exposedField.
|
|
position exposedField.
|
|
description field.
|
|
isBound eventOut value.
|
|
isBound eventOut emitter.
|
|
bindTime eventOut value.
|
|
bindTime eventOut emitter.
|
|
The accumulated transformation applied by any parent nodes.
|
|
The product of parent_transform and any transformation applied by the Viewpoint node.
|
|
Flag that indicates if final_transformation needs to be updated.
|
|
The transformation applied to the user view. Generally the result of any user navigation. |