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

SoPathList(3)							       Coin							     SoPathList(3)

NAME
SoPathList - The SoPathList class is a container for pointers to SoPath objects. As this class inherits SoBaseList, referencing and dereferencing will default be done on the objects at append(), remove(), insert() etc. SYNOPSIS
#include <Inventor/lists/SoPathList.h> Inherits SoBaseList. Public Member Functions SoPathList (void) SoPathList (const int size) SoPathList (const SoPathList &pl) ~SoPathList () void append (SoPath *const path) SoPath * operator[] (const int i) const SoPathList & operator= (const SoPathList &pl) int findPath (const SoPath &path) const void sort (void) void uniquify (void) Detailed Description The SoPathList class is a container for pointers to SoPath objects. As this class inherits SoBaseList, referencing and dereferencing will default be done on the objects at append(), remove(), insert() etc. Constructor &; Destructor Documentation SoPathList::SoPathList (void) Default constructor. SoPathList::SoPathList (const intsize) Constructor with a hint about the number of elements the list will hold. See also: SoBaseList::SoBaseList(const int) SoPathList::SoPathList (const SoPathList &pl) Copy constructor. Does a shallow copy of the SoPath pointer values, but updates reference count. See also: SoBaseList::SoBaseList(const SoBaseList &) SoPathList::~SoPathList () Destructor. See also: SoBaseList::~SoBaseList() Member Function Documentation void SoPathList::append (SoPath *constpath) Append ptr to the list. See also: SoBaseList::append() SoPath * SoPathList::operator[] (const inti) const Return node pointer at index i. See also: SoBaseList::operator[]() Reimplemented from SoBaseList. SoPathList & SoPathList::operator= (const SoPathList &pl) Shallow copy of contents of list pl to this list. See also: SoBaseList::operator=() int SoPathList::findPath (const SoPath &path) const Find and return index of first item equal to path. void SoPathList::sort (void) Sort paths in list according to how early they are run into when traversing the scene graph. void SoPathList::uniquify (void) Removes identical paths and paths that go through the tail of another path. Note that this method assumes the list to be in a sorted order. See also: sort() Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoPathList(3)
Man Page