Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Inheritance diagram for Shape:
Public Methods | |
Shape (const NodeType &nodeType, const ScopePtr &scope) | |
Constructor. | |
virtual | ~Shape () throw () |
Destructor. | |
virtual bool | isModified () const |
Determine whether the node has been modified. | |
virtual void | updateModified (NodePath &path, int flags) |
Propagate the bvolume dirty flag from children to parents. | |
virtual const BVolume * | getBVolume () const |
Get the bounding volume. | |
virtual void | render (Viewer &viewer, VrmlRenderContext context) |
Render the node. | |
Private Methods | |
void | processSet_appearance (const FieldValue &sfnode, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_appearance eventIn handler. | |
void | processSet_geometry (const FieldValue &sfnode, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_geometry eventIn handler. | |
Private Attributes | |
SFNode | appearance |
appearance exposedField. | |
SFNode | geometry |
geometry exposedField. | |
Viewer::Object | viewerObject |
A reference to the node's previously used rendering data. | |
Friends | |
class | ShapeClass |
Class object for Shape instances. |
|
Constructor.
|
|
Destructor.
|
|
Get the bounding volume.
Reimplemented from Node. |
|
Determine whether the node has been modified.
Reimplemented from Node. |
|
set_appearance eventIn handler.
|
|
set_geometry eventIn handler.
|
|
Render the node.
Reimplemented from Node. |
|
Propagate the bvolume dirty flag from children to parents.
Reimplemented from Node. |
|
Class object for Shape instances.
|
|
appearance exposedField.
|
|
geometry exposedField.
|
|
A reference to the node's previously used rendering data. If supported by the Viewer implementation, this member holds a reference to the node's rendering data once the node has already been rendered once. The intent is to capitalize on USE references in the VRML scene graph. |