Open Inventor Reference
SoFullPath Class Reference

This SoEXTENDER class allows expert users to examine "hidden" children in paths. More...

#include <Inventor/SoPath.h>

Inheritance diagram for SoFullPath:
SoPath SoBase SoTempPath

List of all members.

Public Member Functions

void pop ()
 Override methods that normally stop at last public child:
SoNodegetTail () const
 These return the first and last nodes in a path chain.
SoNodegetNodeFromTail (int i) const
 Returns a pointer to the i'th node. Passing 0 for i returns the tail node.
int getIndexFromTail (int i) const
 Returns the index of the i'th node (within its parent) in the chain, counting backward from the tail node.
int getLength () const
 Returns length of path chain (number of nodes).

Friends

class SoTempPath

Detailed Description

SoPath allows access from the head node down to the first node with hidden children, but no further. Casting an SoPath to an SoFullPath (which is always guaranteed to be safe) allows you to get at hidden children. SoFullPath overrides some of the methods defined on paths to make this possible.

Definition at line 297 of file SoPath.h.


Member Function Documentation

int SoFullPath::getIndexFromTail ( int  i) const [inline]

Passing 0 for i returns the tail node's index.

Reimplemented from SoPath.

Definition at line 319 of file SoPath.h.

int SoFullPath::getLength ( ) const [inline]

Reimplemented from SoPath.

Definition at line 323 of file SoPath.h.

SoNode* SoFullPath::getNodeFromTail ( int  i) const [inline]

Reimplemented from SoPath.

Definition at line 313 of file SoPath.h.

SoNode* SoFullPath::getTail ( ) const [inline]

Reimplemented from SoPath.

Definition at line 309 of file SoPath.h.

void SoFullPath::pop ( ) [inline]

These allow a path to be treated as a stack; they push a node at the end of the chain and pop the last node off.

Reimplemented from SoPath.

Definition at line 306 of file SoPath.h.

References SoPath::truncate().


Friends And Related Function Documentation

friend class SoTempPath [friend]

Reimplemented from SoPath.

Definition at line 329 of file SoPath.h.


The documentation for this class was generated from the following file: