| Home | Download | Screen shots | Discussion | Documentation |
|---|
Inheritance diagram for openvrml::vrml97_node::lod_node:


Public Member Functions | |
| lod_node (const node_type &type, const scope_ptr &scope) | |
| Construct. | |
| virtual | ~lod_node () throw () |
| Destroy. | |
| virtual bool | modified () const |
| Determine whether the node has been modified. | |
| virtual void | render (openvrml::viewer &viewer, rendering_context context) |
| Render the node. | |
| 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 | |
| void | process_set_level (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
| set_level eventIn handler. | |
| virtual void | recalcBSphere () |
| Recalculate the bounding volume. | |
Private Attributes | |
| 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.
|
|
||||||||||||||||||||
|
Pass on to enabled touchsensor child. Implements openvrml::grouping_node. |
|
|
Get the bounding volume.
Reimplemented from openvrml::node. |
|
|
Get the children in the scene graph.
Implements openvrml::grouping_node. |
|
|
Determine whether the node has been modified.
Reimplemented from openvrml::node. |
|
||||||||||||
|
set_level eventIn handler.
|
|
||||||||||||
|
Render the node. Render one of the children.
Reimplemented from openvrml::node. |