![]() |
Coin3D is Free Software, published under the BSD 3-clause license. |
https://coin3d.github.io https://www.kongsberg.com/en/kogt/ |
The SoNodeKitPath class is a path that contains only nodekit nodes. More...
#include <Inventor/SoNodeKitPath.h>
Protected Member Functions | |
SoNodeKitPath (const int approxLength) | |
virtual | ~SoNodeKitPath () |
![]() | |
virtual | ~SoPath () |
void | auditPath (const SbBool flag) |
![]() | |
SoBase (void) | |
virtual | ~SoBase () |
virtual void | destroy (void) |
SbBool | hasMultipleWriteRefs (void) const |
SbBool | writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) const |
void | writeFooter (SoOutput *out) const |
virtual const char * | getFileFormatName (void) const |
virtual SoNotRec | createNotRec (void) |
Additional Inherited Members | |
![]() | |
static void | initClass (void) |
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. | |
static SoType | getClassTypeId (void) |
This static method returns the SoType object associated with objects of this class. | |
static SoPath * | getByName (const SbName name) |
static int | getByName (const SbName name, SoPathList &l) |
![]() | |
static void | initClass (void) |
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. | |
static SoType | getClassTypeId (void) |
This static method returns the SoType object associated with objects of this class. | |
static void | addName (SoBase *const base, const char *const name) |
static void | removeName (SoBase *const base, const char *const name) |
static void | incrementCurrentWriteCounter (void) |
static void | decrementCurrentWriteCounter (void) |
static SoBase * | getNamedBase (const SbName &name, SoType type) |
static int | getNamedBases (const SbName &name, SoBaseList &baselist, SoType type) |
static SbBool | read (SoInput *input, SoBase *&base, SoType expectedtype) |
static void | setInstancePrefix (const SbString &c) |
static void | setTraceRefs (SbBool trace) |
static SbBool | getTraceRefs (void) |
static SbBool | connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname) |
static SbBool | readRoute (SoInput *input) |
![]() | |
enum | BaseFlags { IS_ENGINE = 0x01 , IS_GROUP = 0x02 } |
![]() | |
static uint32_t | getCurrentWriteCounter (void) |
static void | staticDataLock (void) |
static void | staticDataUnlock (void) |
The SoNodeKitPath class is a path that contains only nodekit nodes.
All other nodes are hidden from the user.
|
protected |
A constructor.
|
protectedvirtual |
The destructor.
int SoNodeKitPath::getLength | ( | void | ) | const |
Returns the length of the path (the number of nodekit nodes).
Returns the tail of the path (the last nodekit in the path).
Returns nodekit number idx in the path, from the tail.
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 occurrence 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.