| Home | Download | Screen shots | Discussion | Documentation | Links |
|---|
Inheritance diagram for LOD:

Public Methods | |
| LOD (const NodeType &nodeType, const ScopePtr &scope) | |
| Constructor. | |
| virtual | ~LOD () throw () |
| Destructor. | |
| virtual bool | isModified () const |
| Determine whether the node has been modified. | |
| virtual void | updateModified (NodePath &path, int flags=0x003) |
| Propagate the bvolume dirty flag from children to parents. | |
| virtual void | render (Viewer &viewer, VrmlRenderContext context) |
| Render the node. | |
| virtual const BVolume * | getBVolume () const |
| Get the bounding volume. | |
Private Methods | |
| void | processSet_level (const FieldValue &mfnode, double timestamp) throw (std::bad_cast, std::bad_alloc) |
| set_level eventIn handler. | |
| virtual void | recalcBSphere () |
| Recalculate the bounding volume. | |
Private Attributes | |
| MFNode | level |
| SFVec3f | center |
| MFFloat | range |
| BSphere | bsphere |
| Cached copy of the BSphere enclosing this node's children. | |
Friends | |
| class | LODClass |
|
||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
|
Get the bounding volume.
Reimplemented from Node. |
|
|
Determine whether the node has been modified.
Reimplemented from Node. |
|
||||||||||||
|
set_level eventIn handler.
|
|
|
Recalculate the bounding volume.
|
|
||||||||||||
|
Render the node. Render one of the children.
Reimplemented from Node. |
|
||||||||||||
|
Propagate the bvolume dirty flag from children to parents.
Reimplemented from Node. |
|
|
Cached copy of the BSphere enclosing this node's children.
|