SoChildList - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 2.5.0
Note : Coin

NAMESoChildList − The SoChildList class is a container for node children​.

SYNOPSIS
#include <Inventor/misc/SoChildList​.h> Inherits SoNodeList​.

Public Member FunctionsSoChildList (SoNode *const parent)
SoChildList (SoNode *const parent, const int size)
SoChildList (SoNode *const parent, const SoChildList &cl)
~SoChildList ()
void append (SoNode *const node)
void insert (SoNode *const ptr, const int addbefore)
void remove (const int index)
void truncate (const int length)
void copy (const SoChildList &cl)
void set (const int index, SoNode *const node)
void traverseInPath (SoAction *const action, const int numindices, const int *indices)
void traverse (SoAction *const action)
void traverse (SoAction *const action, const int index)
void traverse (SoAction *const action, SoNode *node)
void traverse (SoAction *const action, const int first, const int last)
void addPathAuditor (SoPath *const path)
void removePathAuditor (SoPath *const path)

Additional Inherited Members

Detailed DescriptionThe SoChildList class is a container for node children​. This class does automatic notification on the parent nodes upon adding or removing children​. Methods for action traversal of the children are also provided​.

Constructor & Destructor Documentation

SoChildList::SoChildList (SoNode *const parentptr)Default constructor, sets parent container and initializes a minimal list​.

SoChildList::SoChildList (SoNode *const parentptr, const int size)Constructor with hint about list size​. See also SoNodeList::SoNodeList(const int)

SoChildList::SoChildList (SoNode *const parentptr, const SoChildList & cl)Copy constructor​. See also SoNodeList::SoNodeList(const SoNodeList &) References copy()​.

SoChildList::~SoChildList ()Destructor​.

Member Function Documentation

void SoChildList::append (SoNode *const node)Append a new node instance as a child of our parent container​. Automatically notifies parent node and any SoPath instances auditing paths with nodes from this list​. References SoBase::addAuditor(), SoNodeList::append(), and SoNode::startNotify()​. Referenced by SoGroup::addChild(), SoFile::copyContents(), SoWWWInline::copyContents(), SoFile::readNamedFile(), SoNodeKitListPart::setContainerType(), SoClipPlaneManip::setDragger(), SoDirectionalLightManip::setDragger(), SoPointLightManip::setDragger(), SoSpotLightManip::setDragger(), SoTransformManip::setDragger(), SoBaseKit::setPart(), SoNodeKitListPart::SoNodeKitListPart(), and SoVRMLParent::updateChildList()​.

void SoChildList::insert (SoNode *const node, const int addbefore)Insert a new node instance as a child of our parent container at position addbefore​. Automatically notifies parent node and any SoPath instances auditing paths with nodes from this list​. References SoBase::addAuditor(), SbList< Type >::getLength(), SbPList::getLength(), SoBaseList::insert(), and SoNode::startNotify()​. Referenced by SoGroup::insertChild(), and SoBaseKit::setPart()​.

void SoChildList::remove (const int index)Remove the child node pointer at index​. Automatically notifies parent node and any SoPath instances auditing paths with nodes from this list​. References SbList< Type >::getLength(), SbPList::getLength(), SoNodeList::operator[](), SoBaseList::remove(), SoBase::removeAuditor(), and SoNode::startNotify()​. Referenced by SoGroup::removeChild(), SoNodeKitListPart::setContainerType(), SoClipPlaneManip::setDragger(), SoDirectionalLightManip::setDragger(), SoPointLightManip::setDragger(), SoSpotLightManip::setDragger(), SoTransformManip::setDragger(), and SoBaseKit::setPart()​.

void SoChildList::copy (const SoChildList & cl)Copy contents of cl into this list​. References SoBaseList::copy(), SbPList::getLength(), and SoNode::startNotify()​. Referenced by SoFile::readNamedFile(), and SoChildList()​.

void SoChildList::set (const int index, SoNode *const node)Index operator to set element at index​. Does not expand array bounds if index is outside the list​. References SoBase::addAuditor(), SbList< Type >::getLength(), SbPList::getLength(), SoNodeList::operator[](), SoDebugError::postInfo(), SoBase::removeAuditor(), SoBaseList::set(), and SoNode::startNotify()​. Referenced by SoGroup::replaceChild(), SoDirectionalLightManip::setDragger(), SoPointLightManip::setDragger(), SoSpotLightManip::setDragger(), SoTransformManip::setDragger(), and SoBaseKit::setPart()​.

void SoChildList::traverseInPath (SoAction *const action, const int numindices, const int * indices)Optimized IN_PATH traversal method​. This method is an extension versus the Open Inventor API​. References SoNode::affectsState(), SoAction::getCurPathCode(), SoAction::hasTerminated(), SoAction::popCurPath(), SoAction::pushCurPath(), and SoAction::traverse()​. Referenced by SoClipPlaneManip::doAction(), SoDirectionalLightManip::doAction(), SoPointLightManip::doAction(), SoSpotLightManip::doAction(), SoTransformManip::doAction(), SoBaseKit::doAction(), SoNodeKitListPart::doAction(), SoFile::doAction(), SoGroup::doAction(), SoLOD::doAction(), SoSwitch::doAction(), SoWWWInline::doAction(), SoVRMLAppearance::doAction(), SoVRMLLOD::doAction(), SoVRMLShape::doAction(), SoVRMLSwitch::doAction(), SoVRMLShape::getBoundingBox(), SoClipPlaneManip::getMatrix(), SoDirectionalLightManip::getMatrix(), SoPointLightManip::getMatrix(), SoSpotLightManip::getMatrix(), SoTransformManip::getMatrix(), SoBaseKit::getMatrix(), SoNodeKitListPart::getMatrix(), SoSeparator::getMatrix(), SoTransformSeparator::getMatrix(), SoVRMLGroup::getMatrix(), and SoVRMLGeometry::search()​.

void SoChildList::traverse (SoAction *const action)Traverse all nodes in the list, invoking their methods for the given action​. References SbPList::getLength()​. Referenced by SoClipPlaneManip::doAction(), SoDirectionalLightManip::doAction(), SoPointLightManip::doAction(), SoSpotLightManip::doAction(), SoTransformManip::doAction(), SoBaseKit::doAction(), SoNodeKitListPart::doAction(), SoFile::doAction(), SoGroup::doAction(), SoLevelOfDetail::doAction(), SoLOD::doAction(), SoSwitch::doAction(), SoWWWInline::doAction(), SoVRMLAppearance::doAction(), SoVRMLLOD::doAction(), SoVRMLShape::doAction(), SoVRMLSwitch::doAction(), SoClipPlaneManip::getBoundingBox(), SoDirectionalLightManip::getBoundingBox(), SoPointLightManip::getBoundingBox(), SoSpotLightManip::getBoundingBox(), SoTransformManip::getBoundingBox(), SoBaseKit::getBoundingBox(), SoNodeKitListPart::getBoundingBox(), SoFile::getBoundingBox(), SoGroup::getBoundingBox(), SoWWWInline::getBoundingBox(), SoVRMLInline::getBoundingBox(), SoVRMLShape::getBoundingBox(), SoClipPlaneManip::getMatrix(), SoDirectionalLightManip::getMatrix(), SoPointLightManip::getMatrix(), SoSpotLightManip::getMatrix(), SoTransformManip::getMatrix(), SoBaseKit::getMatrix(), SoNodeKitListPart::getMatrix(), SoSwitch::search(), SoVRMLGeometry::search(), SoVRMLSwitch::search(), traverse(), SoBaseKit::write(), and SoSwitch::write()​.

void SoChildList::traverse (SoAction *const action, const int index)Traverse the node at index (and possibly its children, if its a group node), applying the nodes' method for the given action​. References SbPList::getLength(), and traverse()​.

void SoChildList::traverse (SoAction *const action, SoNode * node)Traverse the node (and possibly its children, if its a group node), applying the nodes' method for the given action​. References SbPList::find(), and traverse()​.

void SoChildList::traverse (SoAction *const action, const int first, const int last)Traverse child nodes in the list from index first up to and including index last, or until the SoAction::hasTerminated() flag of action has been set​. References SoNode::affectsState(), SoAction::getCurPathCode(), SbPList::getLength(), SoAction::hasTerminated(), SoAction::popCurPath(), SoAction::popPushCurPath(), SoDebugError::postWarning(), SoAction::pushCurPath(), and SoAction::traverse()​.

void SoChildList::addPathAuditor (SoPath *const path)Notify path whenever this list of node children changes​. References SbList< Type >::append(), and SoDebugError::postInfo()​. Referenced by SoPath::operator=()​.

void SoChildList::removePathAuditor (SoPath *const path)Remove path as an auditor for our list of node children​. References SbList< Type >::find(), SoType::getName(), SbName::getString(), SoBase::getTypeId(), SoDebugError::post(), SoDebugError::postInfo(), and SbList< Type >::remove()​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   37,030 byte
man-SoChildList.3coin2Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 193,004
Visitor ID   :     :  
Visitor IP   :   18.225.98.39   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.