HDK
|
#include <GA_GBIterators.h>
Public Member Functions | |
GA_GBPrimitiveIterator (const GA_Detail &gdp) | |
Iterate over all primitives. More... | |
GA_GBPrimitiveIterator (const GA_Detail &gdp, GA_Range::safedeletions) | |
GA_GBPrimitiveIterator (const GA_Detail &gdp, const GA_Primitive *first, const GA_Primitive *last) | |
Iterate over all points from the given prim till the last in the list. More... | |
GA_GBPrimitiveIterator (const GA_Detail &gdp, const GA_PrimitiveGroup *group) | |
Iterate over all primitives in group (group is optional) More... | |
GA_GBPrimitiveIterator (const GA_Detail &gdp, const GA_PrimitiveGroup *group, GA_Range::safedeletions) | |
GA_GBPrimitiveIterator (const GA_Detail &gdp, const GA_PrimCompat::TypeMask &mask) | |
GA_GBPrimitiveIterator (const GA_Detail &gdp1, const GA_PrimitiveGroup *group1, const GA_Detail &gdp2, const GA_PrimitiveGroup *group2) | |
Iterate over pairs of primitives - groups are optional. More... | |
~GA_GBPrimitiveIterator () | |
Destructor. More... | |
GA_Primitive * | getPrimitive () const |
Return the current primitive (NULL if complete) More... | |
GA_Primitive * | getNextPrimitive () const |
Return the next primitive (NULL if no valid primitive) More... | |
GA_Primitive * | getPrimitive2 () const |
Return the current primitive from the 2nd detail (NULL if complete) More... | |
GA_Primitive * | getNextPrimitive2 () const |
Return the next primitive from the 2nd detail. More... | |
void | advance () |
Advance to next iteration. More... | |
GA_GBPrimitiveIterator & | operator++ () |
Increment operator calls advance() to move to the next element. More... | |
Definition at line 34 of file GA_GBIterators.h.
Iterate over all primitives.
GA_GBPrimitiveIterator::GA_GBPrimitiveIterator | ( | const GA_Detail & | gdp, |
GA_Range::safedeletions | |||
) |
GA_GBPrimitiveIterator::GA_GBPrimitiveIterator | ( | const GA_Detail & | gdp, |
const GA_Primitive * | first, | ||
const GA_Primitive * | last | ||
) |
Iterate over all points from the given prim till the last in the list.
GA_GBPrimitiveIterator::GA_GBPrimitiveIterator | ( | const GA_Detail & | gdp, |
const GA_PrimitiveGroup * | group | ||
) |
Iterate over all primitives in group (group is optional)
GA_GBPrimitiveIterator::GA_GBPrimitiveIterator | ( | const GA_Detail & | gdp, |
const GA_PrimitiveGroup * | group, | ||
GA_Range::safedeletions | |||
) |
GA_GBPrimitiveIterator::GA_GBPrimitiveIterator | ( | const GA_Detail & | gdp, |
const GA_PrimCompat::TypeMask & | mask | ||
) |
Iterate over all primitives whose obsolete primitive ids match the given mask
GA_GBPrimitiveIterator::GA_GBPrimitiveIterator | ( | const GA_Detail & | gdp1, |
const GA_PrimitiveGroup * | group1, | ||
const GA_Detail & | gdp2, | ||
const GA_PrimitiveGroup * | group2 | ||
) |
Iterate over pairs of primitives - groups are optional.
GA_GBPrimitiveIterator::~GA_GBPrimitiveIterator | ( | ) |
Destructor.
void GA_GBPrimitiveIterator::advance | ( | ) |
Advance to next iteration.
|
inline |
Return the next primitive (NULL if no valid primitive)
Definition at line 79 of file GA_GBIterators.h.
|
inline |
Return the next primitive from the 2nd detail.
Definition at line 84 of file GA_GBIterators.h.
|
inline |
Return the current primitive (NULL if complete)
Definition at line 77 of file GA_GBIterators.h.
|
inline |
Return the current primitive from the 2nd detail (NULL if complete)
Definition at line 82 of file GA_GBIterators.h.
|
inline |
Increment operator calls advance() to move to the next element.
Definition at line 90 of file GA_GBIterators.h.