man SoPathList () - maintains a list of pointers to paths
NAME
SoPathList - maintains a list of pointers to paths
INHERITS FROM
SbPList > SoBaseList > SoPathList
SYNOPSIS
#include <Inventor/SoLists.h>
Methods from class SoPathList:
c
}
c
}
SoPathList()
c
}
c
}
SoPathList(int size)
c
}
c
}
SoPathList(const SoPathList &l)
c
}
c
}
~SoPathList()
c
}
c
}
append(SoPath *path)
c
}
c
}
operator [](int i) const
c
}
c
}
operator =(const SoPathList &l)
c
}
c
}
findPath(const SoPath &path)
c
}
c
}
sort()
c
}
c
}
uniquify()
Methods from class SoBaseList:
c
}
c
}
insert(SoBase *ptr, int addBefore)
c
}
c
}
remove(int which)
c
}
c
}
truncate(int start)
c
}
c
}
copy(const SoBaseList &l)
c
}
c
}
set(int i, SoBase *ptr)
c
}
c
}
addReferences(SbBool flag)
Methods from class SbPList:
c
}
c
}
find(const void *ptr) const
c
}
c
}
getLength() const
c
}
c
}
operator ==(const SbPList &pl) const
c
}
c
}
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
c
}
c
}
SoPathList()
Constructor.
c
}
c
}
SoPathList(int size)
Constructor that pre-allocates storage for size pointers.
c
}
c
}
SoPathList(const SoPathList &l)
Constructor that copies the contents of another list.
c
}
c
}
~SoPathList()
Destructor.
c
}
c
}
append(SoPath *path)
Adds a path to the end of the list.
c
}
c
}
operator [](int i) const
Accesses an element of a list.
c
}
c
}
operator =(const SoPathList &l)
Copies a list, keeping all reference counts correct.
c
}
c
}
findPath(const SoPath &path)
Returns the index of the matching path in the list, or -1 if not found.
c
}
c
}
sort()
Sorts list in place based on (1) increasing address of head node, then (2) increasing indices of children.
c
}
c
}
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