Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
lod_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
Construct. | |
virtual | ~lod_node () throw () |
Destroy. | |
virtual bool | modified () const |
Determine whether the node has been modified. | |
virtual const openvrml::bounding_volume & | bounding_volume () const |
Get the bounding volume. | |
virtual const std::vector< node_ptr > & | children () const throw () |
Get the children in the scene graph. | |
virtual void | activate (double timestamp, bool over, bool active, double *p) |
Private Member Functions | |
virtual void | do_render_child (openvrml::viewer &viewer, rendering_context context) |
Render the node. | |
virtual void | recalcBSphere () |
Recalculate the bounding volume. | |
Private Attributes | |
exposedfield< mfnode > | level_ |
level exposedField. | |
sfvec3f | center_ |
center field. | |
mffloat | range_ |
range field. | |
mfnode | children_ |
Caches the active level for fast access by lod_node::children. | |
bounding_sphere | bsphere |
Cached copy of the bounding_sphere enclosing this node's children. | |
Friends | |
class | lod_class |
Class object for LOD nodes. |
|
Construct.
|
|
Destroy.
|
|
Determine whether the node has been modified.
Reimplemented from openvrml::node. |
|
Get the bounding volume.
Reimplemented from openvrml::node. |
|
Get the children in the scene graph.
Implements openvrml::grouping_node. |
|
Pass on to enabled touchsensor child. Implements openvrml::grouping_node. |
|
Render the node. Render one of the children.
Reimplemented from openvrml::child_node. |
|
Recalculate the bounding volume.
|
|
Class object for LOD nodes.
|
|
level exposedField.
|
|
center field.
|
|
range field.
|
|
Caches the active level for fast access by lod_node::children.
|
|
Cached copy of the bounding_sphere enclosing this node's children.
|