HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 683 of file GA_Detail.h.

Constructor & Destructor Documentation

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

Definition at line 686 of file GA_Detail.h.

Member Function Documentation

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

Definition at line 697 of file GA_Detail.h.

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

Definition at line 703 of file GA_Detail.h.

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

Definition at line 691 of file GA_Detail.h.

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

Definition at line 701 of file GA_Detail.h.

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

Definition at line 707 of file GA_Detail.h.

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

Definition at line 695 of file GA_Detail.h.

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

Definition at line 699 of file GA_Detail.h.

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

Definition at line 705 of file GA_Detail.h.

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

Definition at line 693 of file GA_Detail.h.


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