GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SOPATHLIST (3)

NAME

SoPathList — maintains a list of pointers to paths

CONTENTS

Inherits From
Synopsis
Description
Methods
See Also

INHERITS FROM

SbPList > SoBaseList > SoPathList

SYNOPSIS

#include <Inventor/SoLists.h>

Methods from class SoPathList:

       
                    
                     SoPathList()    
   
                    
                     SoPathList(int size)    
   
                    
                     SoPathList(const SoPathList &l)    
   
                    
                     ~SoPathList()    
void    
                    
void                 append(SoPath *path)    
SoPath *    
                    
SoPath *             operator [](int i) const    
SoPathList &    
                    
SoPathList &         operator =(const SoPathList &l)    
int    
                    
int                  findPath(const SoPath &path)    
void    
                    
void                 sort()    
void    
                    
void                 uniquify()

Methods from class SoBaseList:

    void    
                    
void                 insert(SoBase *ptr, int addBefore)    
void    
                    
void                 remove(int which)    
void    
                    
void                 truncate(int start)    
void    
                    
void                 copy(const SoBaseList &l)    
void    
                    
void                 set(int i, SoBase *ptr)    
void    
                    
void                 addReferences(SbBool flag)

Methods from class SbPList:

    int    
                    
int                  find(const void *ptr) const    
int    
                    
int                  getLength() const    
int    
                    
int                  operator ==(const SbPList &pl) const    
int    
                    
int                  operator !=(const SbPList &pl) const

DESCRIPTION

This subclass of SoBaseList holds lists of pointers to SoPaths. It updates reference counts to paths in the list whenever adding or removing pointers.

METHODS

       
                    
                     SoPathList()
Constructor.

       
                    
                     SoPathList(int size)
Constructor that pre-allocates storage for size pointers.

       
                    
                     SoPathList(const SoPathList &l)
Constructor that copies the contents of another list.

       
                    
                     ~SoPathList()
Destructor.

    void    
                    
void                 append(SoPath *path)
Adds a path to the end of the list.

    SoPath *    
                    
SoPath *             operator [](int i) const
Accesses an element of a list.

    SoPathList &    
                    
SoPathList &         operator =(const SoPathList &l)
Copies a list, keeping all reference counts correct.

    int    
                    
int                  findPath(const SoPath &path)
Returns the index of the matching path in the list, or -1 if not found.

    void    
                    
void                 sort()
Sorts list in place based on (1) increasing address of head node, then (2) increasing indices of children.

    void    
                    
void                 uniquify()
Given a sorted list, removes any path that (1) is a duplicate, or (2) goes through a node that is the tail of another path.

SEE ALSO

SoPath

Search for    or go to Top of page |  Section 3 |  Main Index


SOPATHLIST(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.