Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sonodekitpath(3) [debian man page]

SoNodeKitPath(3)						       Coin							  SoNodeKitPath(3)

NAME
SoNodeKitPath - The SoNodeKitPath class is a path that contains only nodekit nodes. All other nodes are hidden from the user. SYNOPSIS
#include <Inventor/SoNodeKitPath.h> Inherits SoPath. Public Member Functions int getLength (void) const SoNode * getTail (void) const SoNode * getNode (const int idx) const SoNode * getNodeFromTail (const int idx) const void truncate (const int length) void pop (void) void append (SoBaseKit *childKit) void append (const SoNodeKitPath *fromPath) SbBool containsNode (SoBaseKit *node) const int findFork (const SoNodeKitPath *path) const Protected Member Functions SoNodeKitPath (const int approxLength) virtual ~SoNodeKitPath () Friends int operator== (const SoNodeKitPath &p1, const SoNodeKitPath &p2) Additional Inherited Members Detailed Description The SoNodeKitPath class is a path that contains only nodekit nodes. All other nodes are hidden from the user. Constructor &; Destructor Documentation SoNodeKitPath::SoNodeKitPath (const intapproxLength) [protected] A constructor. SoNodeKitPath::~SoNodeKitPath () [protected], [virtual] The destructor. Member Function Documentation int SoNodeKitPath::getLength (void) const Returns the length of the path (the number of nodekit nodes). Reimplemented from SoPath. SoNode * SoNodeKitPath::getTail (void) const Returns the tail of the path (the last nodekit in the path). Reimplemented from SoPath. SoNode * SoNodeKitPath::getNode (const intidx) const Returns nodekit number idx in path. Reimplemented from SoPath. SoNode * SoNodeKitPath::getNodeFromTail (const intidx) const Returns nodekit number idx in the path, from the tail. Reimplemented from SoPath. void SoNodeKitPath::truncate (const intlength) Truncates the path at nodekit number length. Reimplemented from SoPath. void SoNodeKitPath::pop (void) Pops off the last nodekit (truncates at last tail). Reimplemented from SoPath. void SoNodeKitPath::append (SoBaseKit *childKit) Appends childKit to the path. childKit should be a part in the tail nodekit of this path. In effect, the path from the tail to first occurrance of childKit will be appended to the path. void SoNodeKitPath::append (const SoNodeKitPath *fromPath) Appends the nodekit path to this path. Head of fromPath must be a part in the current tail. SbBool SoNodeKitPath::containsNode (SoBaseKit *node) const Returns TRUE if node is in this path. int SoNodeKitPath::findFork (const SoNodeKitPath *path) const Returns the index of last common nodekit, or -1 if head node differs. Friends And Related Function Documentation int operator== (const SoNodeKitPath &p1, const SoNodeKitPath &p2) [friend] Returns TRUE if paths are equal, FALSE otherwise. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoNodeKitPath(3)

Check Out this Related Man Page

SoLightPath(3)							       Coin							    SoLightPath(3)

NAME
SoLightPath - The SoLightPath class is a light version of SoPath. SoLightPath can be used if you only need a temporary path, and don't want the overhead that comes with an SoPath (ref, unref, auditing etc). SYNOPSIS
#include <Inventor/misc/SoLightPath.h> Public Member Functions SoLightPath (SoNode *node, const int approxlength) SoLightPath (const int approxlength) ~SoLightPath () void setHead (SoNode *const node) void append (const int childindex) void push (const int childindex) void pop (void) void setTail (const int childindex) SoNode * getTail (void) const SoNode * getHead (void) const SoNode * getNode (const int index) const int getIndex (const int index) const int getFullLength () const void truncate (const int startindex) void makeTempPath (SoTempPath *path) const Detailed Description The SoLightPath class is a light version of SoPath. SoLightPath can be used if you only need a temporary path, and don't want the overhead that comes with an SoPath (ref, unref, auditing etc). It is your responsibility to make sure the path is valid before using it. Constructor &; Destructor Documentation SoLightPath::SoLightPath (SoNode *headnodeptr, const intapproxlength) A constructor. Supply the head node and the approximate length of the path. SoLightPath::SoLightPath (const intapproxlength) A constructor. Supply the appriximate length of the path. SoLightPath::~SoLightPath () Destructor. Member Function Documentation void SoLightPath::setHead (SoNode *constnode) Sets head of path. Truncates path to length 1. void SoLightPath::append (const intchildindex) Appends a childindex to the path. void SoLightPath::push (const intchildindex) Same as append(). void SoLightPath::pop (void) Pops off the last child. void SoLightPath::setTail (const intchildindex) Sets the tail of the path. SoNode * SoLightPath::getTail (void) const Returns the tail node of the path. Uses getNode(). SoNode * SoLightPath::getHead (void) const Returns the head node. SoNode * SoLightPath::getNode (const intindex) const Returns the indexth node in path. int SoLightPath::getIndex (const intindex) const Returns the child index of the indexth node in the path. int SoLightPath::getFullLength (void) const Returns the length of the path. void SoLightPath::truncate (const intstartindex) Truncates the path from startindex. void SoLightPath::makeTempPath (SoTempPath *path) const Updates path to be the same path as this path. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoLightPath(3)
Man Page