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 760 of file GA_Detail.h.

Constructor & Destructor Documentation

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

Definition at line 763 of file GA_Detail.h.

Member Function Documentation

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

Definition at line 774 of file GA_Detail.h.

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

Definition at line 780 of file GA_Detail.h.

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

Definition at line 768 of file GA_Detail.h.

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

Definition at line 778 of file GA_Detail.h.

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

Definition at line 784 of file GA_Detail.h.

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

Definition at line 772 of file GA_Detail.h.

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

Definition at line 776 of file GA_Detail.h.

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

Definition at line 782 of file GA_Detail.h.

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

Definition at line 770 of file GA_Detail.h.


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