HDK
|
#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 |
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 703 of file GA_Detail.h.
Definition at line 706 of file GA_Detail.h.
|
inline |
Definition at line 717 of file GA_Detail.h.
|
inline |
Definition at line 723 of file GA_Detail.h.
|
inline |
Definition at line 711 of file GA_Detail.h.
|
inline |
Definition at line 721 of file GA_Detail.h.
|
inline |
Definition at line 727 of file GA_Detail.h.
|
inline |
Definition at line 715 of file GA_Detail.h.
|
inline |
Definition at line 719 of file GA_Detail.h.
|
inline |
Definition at line 725 of file GA_Detail.h.
|
inline |
Definition at line 713 of file GA_Detail.h.