H3D::X3DGroupingNode Class Reference
[Abstract nodes.]

This abstract node type indicates that concrete node types derived from it contain children nodes and is the basis for all aggregation. More...

#include <X3DGroupingNode.h>

Inheritance diagram for H3D::X3DGroupingNode:

Inheritance graph
List of all members.

Public Member Functions

 X3DGroupingNode (Inst< MFChild > _addChildren=0, Inst< MFChild > _removeChildren=0, Inst< MFChild > _children=0, Inst< SFNode > _metadata=0, Inst< SFBound > _bound=0, Inst< SFVec3f > _bboxCenter=0, Inst< SFVec3f > _bboxSize=0)
 Constructor.
virtual void initialize ()
 Sets up the bound field using the bboxCenter and bboxSize fields.
virtual void render ()
 Render the children.

Public Attributes

bool use_union_bound
 if true a route will be set up between the bound field of the nodes in children and the bound field of the grouping node.
auto_ptr< MFChildaddChildren
 The addChildren event appends nodes to the children field of a grouping node.
auto_ptr< MFChildremoveChildren
 The removeChildren event removes nodes from the children field of the grouping node .
auto_ptr< MFChildchildren
 The nodes that are grouped together by this node.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.

Friends

class MFChild

Classes

class  MFChild
 MFChild sets up a routes from the Nodes that are added and removed from the field to the owner of the field. More...
class  SFBound
 SFBound is specialized to update from the SFBound fields routed to it. More...

Detailed Description

This abstract node type indicates that concrete node types derived from it contain children nodes and is the basis for all aggregation.


Member Function Documentation

virtual void H3D::X3DGroupingNode::initialize  )  [inline, virtual]
 

Sets up the bound field using the bboxCenter and bboxSize fields.

If bboxSize is (-1, -1, -1) the bound will be the union of all the bound objects of the Nodes in the children field. Otherwise it will be a BoxBound with center and origin determined by the bboxCenter and bboxOrigin fields.


Member Data Documentation

auto_ptr< MFChild > H3D::X3DGroupingNode::addChildren
 

The addChildren event appends nodes to the children field of a grouping node.

Any nodes passed to the addChildren field that are already in the children list of the grouping node are ignored.

Access type: inputOnly

auto_ptr< MFChild > H3D::X3DGroupingNode::children
 

The nodes that are grouped together by this node.

Access type: inputOutput

auto_ptr< MFChild > H3D::X3DGroupingNode::removeChildren
 

The removeChildren event removes nodes from the children field of the grouping node .

Any nodes in the removeChildren event that are not in the children list of the grouping node are ignored.

Access type: inputOnly


Generated on Thu Aug 24 12:40:21 2006 for H3D API by  doxygen 1.4.5