Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sofullpath(3) [debian man page]

SoFullPath(3)							       Coin							     SoFullPath(3)

NAME
SoFullPath - The SoFullPath class allows examination of hidden children in paths. SoPath allows only access from the head node to the first node with hidden children, but not any further. SYNOPSIS
#include <Inventor/SoFullPath.h> Inherits SoPath. Inherited by SoTempPath. Public Member Functions void pop (void) SoNode * getTail (void) const SoNode * getNodeFromTail (const int index) const int getIndexFromTail (const int index) const int getLength (void) const Additional Inherited Members Detailed Description The SoFullPath class allows examination of hidden children in paths. SoPath allows only access from the head node to the first node with hidden children, but not any further. Since the SoFullPath is derived from SoPath and contains no private data, you can cast SoPath instances to the SoFullPath type. This will allow you to examine hidden children. (Actually, you are not supposed to allocate instances of this class at all. It is only available as an 'extended interface' into the superclass SoPath.) Member Function Documentation void SoFullPath::pop (void) [inline] This method overrides SoPath::pop() to allow clients to get at all the nodes in the path. Reimplemented from SoPath. SoNode * SoFullPath::getTail (void) const This method overrides SoPath::getTail() to allow clients to get the tail node, counting internal path nodes. Reimplemented from SoPath. SoNode * SoFullPath::getNodeFromTail (const intindex) const This method overrides SoPath::getNodeFromTail() to allow clients to get the node positioned index nodes from the tail, counting internal path nodes. Reimplemented from SoPath. int SoFullPath::getIndexFromTail (const intindex) const This method overrides SoPath::getIndexFromTail() to allow clients to get the child index number for nodes based on their position from the tail, counting hidden nodes. Reimplemented from SoPath. int SoFullPath::getLength (void) const This method returns the length of the path, counting hidden nodes also. Reimplemented from SoPath. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoFullPath(3)

Check Out this Related Man Page

SoChildList(3)							       Coin							    SoChildList(3)

NAME
SoChildList - The SoChildList class is a container for node children. This class does automatic notification on the parent nodes upon adding or removing children. SYNOPSIS
#include <Inventor/misc/SoChildList.h> Inherits SoNodeList. Public Member Functions SoChildList (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) Detailed Description The 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 *constparentptr) Default constructor, sets parent container and initializes a minimal list. SoChildList::SoChildList (SoNode *constparentptr, const intsize) Constructor with hint about list size. See also: SoNodeList::SoNodeList(const int) SoChildList::SoChildList (SoNode *constparentptr, const SoChildList &cl) Copy constructor. See also: SoNodeList::SoNodeList(const SoNodeList &) SoChildList::~SoChildList () Destructor. Member Function Documentation void SoChildList::append (SoNode *constnode) 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. Reimplemented from SoNodeList. void SoChildList::insert (SoNode *constnode, const intaddbefore) 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. void SoChildList::remove (const intindex) Remove the child node pointer at index. Automatically notifies parent node and any SoPath instances auditing paths with nodes from this list. Reimplemented from SoBaseList. void SoChildList::truncate (const intlength) Makes the list contain only the length first items, removing all items from index length and onwards to the end of the list. Dereferences the objects to be removed (unless addReferences() has been set to FALSE). See also: SbPList::truncate() Reimplemented from SoBaseList. void SoChildList::copy (const SoChildList &cl) Copy contents of cl into this list. void SoChildList::set (const intindex, SoNode *constnode) Index operator to set element at index. Does not expand array bounds if index is outside the list. void SoChildList::traverseInPath (SoAction *constaction, const intnumindices, const int *indices) Optimized IN_PATH traversal method. This method is an extension versus the Open Inventor API. void SoChildList::traverse (SoAction *constaction) Traverse all nodes in the list, invoking their methods for the given action. void SoChildList::traverse (SoAction *constaction, const intindex) Traverse the node at index (and possibly its children, if its a group node), applying the nodes' method for the given action. void SoChildList::traverse (SoAction *constaction, SoNode *node) Traverse the node (and possibly its children, if its a group node), applying the nodes' method for the given action. void SoChildList::traverse (SoAction *constaction, const intfirst, const intlast) 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. void SoChildList::addPathAuditor (SoPath *constpath) Notify path whenever this list of node children changes. void SoChildList::removePathAuditor (SoPath *constpath) Remove path as an auditor for our list of node children. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoChildList(3)
Man Page