Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::vrml97_node::group_node:
Public Member Functions | |
group_node (const node_type &type, const scope_ptr &scope) | |
Construct. | |
virtual | ~group_node () throw () |
Destroy. | |
virtual const openvrml::bounding_volume & | bounding_volume () const |
Get the bounding volume. | |
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 std::vector< node_ptr > & | children () const throw () |
Get the children in the scene graph. | |
virtual void | activate (double timeStamp, bool isOver, bool isActive, double *p) |
void | render_nocull (openvrml::viewer &viewer, rendering_context context) |
Protected Member Functions | |
void | process_addChildren (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
addChildren eventIn handler. | |
void | process_removeChildren (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
removeChildren eventIn handler. | |
void | process_set_children (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_children eventIn handler. | |
void | recalc_bsphere () |
Recalculate the bounding volume. | |
Protected Attributes | |
sfvec3f | bboxCenter |
bboxCenter field. | |
sfvec3f | bboxSize |
bboxSize field. | |
mfnode | children_ |
children exposedField. | |
viewer::object_t | viewerObject |
Handle for the renderer. | |
bounding_sphere | bsphere |
Cached copy of the bounding_sphere enclosing this node's children. | |
Friends | |
class | group_class |
Class object for Group nodes. |
|
Construct.
|
|
Pass on to enabled touchsensor child. Implements openvrml::grouping_node. |
|
Get the bounding volume.
Reimplemented from openvrml::node. Reimplemented in openvrml::vrml97_node::anchor_node, and openvrml::vrml97_node::transform_node. |
|
Get the children in the scene graph.
Implements openvrml::grouping_node. |
|
Determine whether the node has been modified.
Reimplemented from openvrml::node. Reimplemented in openvrml::vrml97_node::collision_node. |
|
addChildren eventIn handler.
|
|
removeChildren eventIn handler.
|
|
set_children eventIn handler.
|
|
Render the node. Render each of the children.
Reimplemented from openvrml::node. Reimplemented in openvrml::vrml97_node::anchor_node, openvrml::vrml97_node::billboard_node, and openvrml::vrml97_node::transform_node. |
|
because children will already have done the culling, we don't need to repeat it here. |