HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_GBPrimitiveIterator Class Reference

#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_PrimitivegetPrimitive () const
 Return the current primitive (NULL if complete) More...
 
GA_PrimitivegetNextPrimitive () const
 Return the next primitive (NULL if no valid primitive) More...
 
GA_PrimitivegetPrimitive2 () const
 Return the current primitive from the 2nd detail (NULL if complete) More...
 
GA_PrimitivegetNextPrimitive2 () const
 Return the next primitive from the 2nd detail. More...
 
void advance ()
 Advance to next iteration. More...
 
GA_GBPrimitiveIteratoroperator++ ()
 Increment operator calls advance() to move to the next element. More...
 

Detailed Description

Definition at line 34 of file GA_GBIterators.h.

Constructor & Destructor Documentation

GA_GBPrimitiveIterator::GA_GBPrimitiveIterator ( const GA_Detail gdp)
explicit

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.

Member Function Documentation

void GA_GBPrimitiveIterator::advance ( )

Advance to next iteration.

GA_Primitive* GA_GBPrimitiveIterator::getNextPrimitive ( ) const
inline

Return the next primitive (NULL if no valid primitive)

Definition at line 79 of file GA_GBIterators.h.

GA_Primitive* GA_GBPrimitiveIterator::getNextPrimitive2 ( ) const
inline

Return the next primitive from the 2nd detail.

Definition at line 84 of file GA_GBIterators.h.

GA_Primitive* GA_GBPrimitiveIterator::getPrimitive ( ) const
inline

Return the current primitive (NULL if complete)

Definition at line 77 of file GA_GBIterators.h.

GA_Primitive* GA_GBPrimitiveIterator::getPrimitive2 ( ) const
inline

Return the current primitive from the 2nd detail (NULL if complete)

Definition at line 82 of file GA_GBIterators.h.

GA_GBPrimitiveIterator& GA_GBPrimitiveIterator::operator++ ( )
inline

Increment operator calls advance() to move to the next element.

Definition at line 90 of file GA_GBIterators.h.


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