SoPathList - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 2.5.0
Note : Coin

NAMESoPathList − The SoPathList class is a container for pointers to SoPath objects​.

SYNOPSIS
#include <Inventor/lists/SoPathList​.h> Inherits SoBaseList​.

Public Member FunctionsSoPathList (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)

Additional Inherited Members

Detailed DescriptionThe 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 int size)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 *const path)Append ptr to the list​. See also SoBaseList::append() References SoBaseList::append()​. Referenced by SoSearchAction::addPath(), SoSelection::addPath(), SoAction::apply(), and SoPath::getByName()​.

SoPath * SoPathList::operator[] (const int i) constReturn node pointer at index i​. See also SoBaseList::operator[]() References SoBaseList::operator[]()​.

SoPathList & SoPathList::operator= (const SoPathList & pl)Shallow copy of contents of list pl to this list​. See also SoBaseList::operator=() References SoBaseList::copy()​.

int SoPathList::findPath (const SoPath & path) constFind and return index of first item equal to path​. References SbPList::getLength()​. Referenced by SoSelection::findPath()​.

void SoPathList::sort (void)Sort paths in list according to how early they are run into when traversing the scene graph​. References SbPList::getArrayPtr(), and SbPList::getLength()​. Referenced by SoAction::apply()​.

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() References SoPath::findFork(), SbPList::getArrayPtr(), SbPList::getLength(), SoFullPath::getLength(), and SoBaseList::remove()​. Referenced by SoAction::apply()​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   20,495 byte
man-SoPathList.3coin2Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 199,281
Visitor ID   :     :  
Visitor IP   :   3.15.10.117   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.