class MwGroup : public MwNode


Inheritance:


Public Fields

MwMFNode addChildren
MwSFVec3f bboxCenter
Bounding box center
MwSFVec3f bboxSize
Bounding box size
MwMFNode children
All children_ are to be automatically addChilded...
MwNodeList <MwClickSensor> * pointingDevices
MwMFNode removeChildren

Public Methods

void addChild(MwNode *child)
Add a child as the last one
void addMFNode(MwMFNode &mfNode)
Add the nodes in MwMFNode to children_
int findChild(const MwNode *child)
Finds index of given child within group
MwNode* getChild(int index)
Get a particular child from children_ and index
int getNumChildren()
Get number of children_
virtual pfNode* getPfNode()
pfMatrix* getTraversal()
static int preCB_Group(pfTraverser *trav, void *data)
void removeAllChildren()
Removes all children from group
void removeChild(MwNode *child)
Removes first instance of given child from group
void removeChild(int index)
Removes child with given index from group
void removeMFNode(MwMFNode &mfNode)
Remove the nodes in MwMFNode from children_
void updateChildren()
Updates the ground if the children field has changed

Protected Fields

pfGroup* group_
pfMatrix traversal

Protected Methods

MwGroup(pfGroup *)
Derived classes of MwGroup must use this in the member initialization list so that they can pass in the appropriate pfGroup

Private Methods

MW_NODE_HEADER(MwGroup)

Documentation

MW_NODE_HEADER(MwGroup)

MwMFNode children
All children_ are to be automatically addChilded...

MwMFNode addChildren

MwMFNode removeChildren

MwSFVec3f bboxCenter
Bounding box center

MwSFVec3f bboxSize
Bounding box size

MwNode* getChild(int index)
Get a particular child from children_ and index

int getNumChildren()
Get number of children_

void updateChildren()
Updates the ground if the children field has changed

void addMFNode(MwMFNode &mfNode)
Add the nodes in MwMFNode to children_

void removeMFNode(MwMFNode &mfNode)
Remove the nodes in MwMFNode from children_

int findChild(const MwNode *child)
Finds index of given child within group

void addChild(MwNode *child)
Add a child as the last one

void removeChild(int index)
Removes child with given index from group

void removeChild(MwNode *child)
Removes first instance of given child from group

void removeAllChildren()
Removes all children from group

pfMatrix* getTraversal()

virtual pfNode* getPfNode()

static int preCB_Group(pfTraverser *trav, void *data)

MwNodeList <MwClickSensor> * pointingDevices

MwGroup(pfGroup *)
Derived classes of MwGroup must use this in the member initialization list so that they can pass in the appropriate pfGroup

pfGroup* group_

pfMatrix traversal


Direct child classes:
MwTransform
MwLOD
MwInline
MwCollision
MwBillboard
MwAnchor

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de