Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::vrml97_node::shape_node:
Public Member Functions | |
shape_node (const node_type &type, const scope_ptr &scope) | |
Construct. | |
virtual | ~shape_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 void | render (openvrml::viewer &viewer, rendering_context context) |
Render the node. | |
Private Member Functions | |
void | process_set_appearance (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_appearance eventIn handler. | |
void | process_set_geometry (const field_value &value, 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_t | viewerObject |
A reference to the node's previously used rendering data. | |
Friends | |
class | shape_class |
Class object for Shape instances. |
|
Construct.
|
|
Get the bounding volume.
Reimplemented from openvrml::node. |
|
Determine whether the node has been modified.
Reimplemented from openvrml::node. |
|
set_appearance eventIn handler.
|
|
set_geometry eventIn handler.
|
|
Render the node.
Reimplemented from openvrml::node. |
|
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. |