Coin  4.0.10
Coin3D core library
Loading...
Searching...
No Matches
SoNodeKitPathView Class Referencefinal

A borrowed, allocation-free nodekit projection of a SoPath. More...

#include <Inventor/SoPath.h>

Public Member Functions

int getLength (void) const
 
SoNode * getNode (const int index) const
 
SoNode * getNodeFromTail (const int index) const
 
SoNode * getTail (void) const
 

Detailed Description

A borrowed, allocation-free nodekit projection of a SoPath.

Only nodekits in the complete route are visible, including the head only when it is a nodekit. The view reflects changes to its source path and must not outlive it. In builds without nodekit support, the projection is empty.

Member Function Documentation

◆ getLength()

int SoNodeKitPathView::getLength ( void ) const

Returns the number of nodekits in the complete route.

◆ getNode()

SoNode * SoNodeKitPathView::getNode ( const int index) const

Returns nodekit number index, or NULL for an invalid index.

◆ getNodeFromTail()

SoNode * SoNodeKitPathView::getNodeFromTail ( const int index) const

Returns projected node index from the logical tail. Returns NULL for an invalid index.

◆ getTail()

SoNode * SoNodeKitPathView::getTail ( void ) const

Returns the last nodekit in the complete route, or NULL when there is no nodekit.


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