Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
transform_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
Construct. | |
virtual | ~transform_node () throw () |
Destroy. | |
virtual const openvrml::bounding_volume & | bounding_volume () const |
Get the bounding volume. | |
virtual const mat4f & | transform () const throw () |
Get the transformation associated with the node as a matrix. | |
Private Member Functions | |
virtual void | do_render_child (openvrml::viewer &viewer, rendering_context context) |
Render the node. | |
void | recalc_bsphere () |
Recalculate the bounding volume. | |
void | update_transform () const throw () |
Update transform. | |
Private Attributes | |
center_exposedfield | center_ |
center exposedField. | |
rotation_exposedfield | rotation_ |
rotation exposedField. | |
scale_exposedfield | scale_ |
scale exposedField. | |
scale_orientation_exposedfield | scale_orientation_ |
scaleOrientation exposedField. | |
translation_exposedfield | translation_ |
translation exposedField. | |
mat4f | transform_ |
Cached copy of this node's transformation. | |
bool | transform_dirty |
Flag to indicate whether transform_ needs to be updated. | |
viewer::object_t | xformObject |
A handle to the renderer's representation of the Transform. | |
Friends | |
class | transform_class |
Class object for Transform nodes. | |
Classes | |
class | center_exposedfield |
center exposedField implementation. More... | |
class | rotation_exposedfield |
rotation exposedField implementation. More... | |
class | scale_exposedfield |
scale exposedField implementation. More... | |
class | scale_orientation_exposedfield |
scaleOrientation exposedField implementation. More... | |
class | translation_exposedfield |
translation exposedField implementation. More... |
|
Construct.
Reimplemented from openvrml::transform_node. |
|
Destroy.
Implements openvrml::transform_node. |
|
Get the bounding volume.
Reimplemented from openvrml::vrml97_node::group_node. |
|
Get the transformation associated with the node as a matrix.
Implements openvrml::transform_node. |
|
Render the node.
Reimplemented from openvrml::vrml97_node::group_node. |
|
Recalculate the bounding volume.
Reimplemented from openvrml::vrml97_node::group_node. |
|
Update transform.
If transform_dirty is
|
|
Class object for Transform nodes.
|
|
center exposedField.
|
|
rotation exposedField.
|
|
scale exposedField.
|
|
scaleOrientation exposedField.
|
|
translation exposedField.
|
|
Cached copy of this node's transformation.
|
|
Flag to indicate whether transform_ needs to be updated.
|
|
A handle to the renderer's representation of the Transform.
|