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 763 of file GA_Detail.h.
|
inline |
Definition at line 766 of file GA_Detail.h.
|
inline |
Definition at line 777 of file GA_Detail.h.
|
inline |
Definition at line 783 of file GA_Detail.h.
|
inline |
Definition at line 771 of file GA_Detail.h.
|
inline |
Definition at line 781 of file GA_Detail.h.
|
inline |
Definition at line 787 of file GA_Detail.h.
|
inline |
Definition at line 775 of file GA_Detail.h.
|
inline |
Definition at line 779 of file GA_Detail.h.
|
inline |
Definition at line 785 of file GA_Detail.h.
|
inline |
Definition at line 773 of file GA_Detail.h.