HDK
|
A simple refiner which just collects the refined primitives in a list. More...
#include <GT_RefineCollect.h>
Public Member Functions | |
GT_RefineCollect () | |
Default constructor. More... | |
GT_RefineCollect (const GT_PrimitiveHandle &collection) | |
~GT_RefineCollect () override | |
D-tor. More... | |
void | clear () |
Clear the collection. More... | |
const GT_PrimitiveHandle & | getPrim () const |
const GT_PrimCollect * | getPrimCollect () const |
exint | entries () const |
GT_PrimitiveHandle | getPrim (int i) const |
bool | allowThreading () const override |
void | addPrimitive (const GT_PrimitiveHandle &prim) override |
Public Member Functions inherited from GT_Refine | |
GT_Refine () | |
Default constructor. More... | |
virtual | ~GT_Refine () |
Destructor. More... | |
template<typename Range , typename Body > | |
void | refineRange (const Range &range, const Body &body) |
Additional Inherited Members | |
Static Public Member Functions inherited from GT_Refine | |
static void * | operator new (size_t size) |
static void * | operator new (size_t size, void *p) |
static void | operator delete (void *p, size_t size) |
A simple refiner which just collects the refined primitives in a list.
Definition at line 21 of file GT_RefineCollect.h.
GT_RefineCollect::GT_RefineCollect | ( | ) |
Default constructor.
GT_RefineCollect::GT_RefineCollect | ( | const GT_PrimitiveHandle & | collection | ) |
The primitive handle must be a handle to a primitive collection If the primitive is not a collection, the refiner will allocate its own collection (as the default behaviour)
|
override |
D-tor.
|
overridevirtual |
|
inlineoverridevirtual |
Implemented from GT_Refine
Reimplemented from GT_Refine.
Definition at line 53 of file GT_RefineCollect.h.
void GT_RefineCollect::clear | ( | ) |
Clear the collection.
|
inline |
Accessor
Definition at line 42 of file GT_RefineCollect.h.
|
inline |
Accessor
Definition at line 38 of file GT_RefineCollect.h.
|
inline |
Accessor
Definition at line 47 of file GT_RefineCollect.h.
|
inline |
Accessor
Definition at line 40 of file GT_RefineCollect.h.