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

Public Methods | |
| Group (const NodeType &nodeType, const ScopePtr &scope) | |
| Constructor. | |
| virtual | ~Group () throw () |
| Destructor. | |
| virtual Group * | toGroup () const |
| 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 void | render (Viewer &viewer, VrmlRenderContext context) |
| Render the node. | |
| virtual void | accumulateTransform (Node *) |
| Accumulate transforms. | |
| void | renderNoCull (Viewer &viewer, VrmlRenderContext context) |
| void | activate (double timeStamp, bool isOver, bool isActive, double *p) |
| virtual Node * | getParentTransform () |
| const BVolume * | getBVolume () const |
| Get the bounding volume. | |
Protected Methods | |
| void | processAddChildren (const FieldValue &mfnode, double timestamp) throw (std::bad_cast, std::bad_alloc) |
| addChildren eventIn handler. | |
| void | processRemoveChildren (const FieldValue &mfnode, double timestamp) throw (std::bad_cast, std::bad_alloc) |
| removeChildren eventIn handler. | |
| void | processSet_children (const FieldValue &mfnode, double timestamp) throw (std::bad_cast, std::bad_alloc) |
| set_children eventIn handler. | |
| virtual void | recalcBSphere () |
| Recalculate the bounding volume. | |
Protected Attributes | |
| SFVec3f | bboxCenter |
| SFVec3f | bboxSize |
| MFNode | children |
| SFString | relative |
| Node * | parentTransform |
| Viewer::Object | viewerObject |
| BSphere | bsphere |
Friends | |
| class | GroupClass |
|
||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
|
Accumulate transforms. Cache a pointer to (one of the) parent transforms for proper rendering of bindables. Reimplemented from Node. |
|
||||||||||||||||||||
|
Pass on to enabled touchsensor child. |
|
|
Get the bounding volume.
Reimplemented from Node. |
|
|
Determine whether the node has been modified.
Reimplemented from Node. Reimplemented in Collision. |
|
||||||||||||
|
addChildren eventIn handler.
|
|
||||||||||||
|
removeChildren eventIn handler.
|
|
||||||||||||
|
set_children eventIn handler.
|
|
|
Recalculate the bounding volume. Construct a bounding sphere around this node's children. Store it in d_bsphere. Reimplemented in Transform. |
|
||||||||||||
|
Render the node. Render each of the children.
Reimplemented from Node. |
|
||||||||||||
|
because children will already have done the culling, we don't need to repeat it here. |
|
||||||||||||
|
Propagate the bvolume dirty flag from children to parents.
Reimplemented from Node. |
|
|
Cached copy of the bsphere enclosing this node's children. |