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

#include <GA_Detail.h>

Public Member Functions

 OffsetMarker (const GA_Detail &detail)
 
GA_Range pointRange () const
 
GA_Range vertexRange () const
 
GA_Range primitiveRange () const
 
GA_Offset pointBegin () const
 
GA_Offset vertexBegin () const
 
GA_Offset primitiveBegin () const
 
GA_Offset pointEnd () const
 
GA_Offset vertexEnd () const
 
GA_Offset primitiveEnd () const
 

Detailed Description

This is a helpful class for getting the ranges of elements created after such an OffsetMarker is declared. For example,

GA_Detail::OffsetMarker marker(*gdp); ... // Some code that creates points, vertices, or primitives for (GA_Iterator it(marker.pointRange()); !it.atEnd(); ++it) ... // Do something to each created point for (GA_Iterator it(marker.vertexRange()); !it.atEnd(); ++it) ... // Do something to each created vertex for (GA_Iterator it(marker.primitiveRange()); !it.atEnd(); ++it) ... // Do something to each created primitive

NOTE: The code doing the creating can't delete elements from the detail before adding any new elements.

Definition at line 763 of file GA_Detail.h.

Constructor & Destructor Documentation

GA_Detail::OffsetMarker::OffsetMarker ( const GA_Detail detail)
inline

Definition at line 766 of file GA_Detail.h.

Member Function Documentation

GA_Offset GA_Detail::OffsetMarker::pointBegin ( ) const
inline

Definition at line 777 of file GA_Detail.h.

GA_Offset GA_Detail::OffsetMarker::pointEnd ( ) const
inline

Definition at line 783 of file GA_Detail.h.

GA_Range GA_Detail::OffsetMarker::pointRange ( ) const
inline

Definition at line 771 of file GA_Detail.h.

GA_Offset GA_Detail::OffsetMarker::primitiveBegin ( ) const
inline

Definition at line 781 of file GA_Detail.h.

GA_Offset GA_Detail::OffsetMarker::primitiveEnd ( ) const
inline

Definition at line 787 of file GA_Detail.h.

GA_Range GA_Detail::OffsetMarker::primitiveRange ( ) const
inline

Definition at line 775 of file GA_Detail.h.

GA_Offset GA_Detail::OffsetMarker::vertexBegin ( ) const
inline

Definition at line 779 of file GA_Detail.h.

GA_Offset GA_Detail::OffsetMarker::vertexEnd ( ) const
inline

Definition at line 785 of file GA_Detail.h.

GA_Range GA_Detail::OffsetMarker::vertexRange ( ) const
inline

Definition at line 773 of file GA_Detail.h.


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