HDK
|
Processes primitives generated by refinement process. More...
#include <GT_Refine.h>
Public Member Functions | |
GT_Refine () | |
Default constructor. More... | |
virtual | ~GT_Refine () |
Destructor. More... | |
virtual bool | allowThreading () const |
Return true if the refinement allows threaded refinement of primitives. More... | |
virtual void | addPrimitive (const GT_PrimitiveHandle &prim)=0 |
template<typename Range , typename Body > | |
void | refineRange (const Range &range, const Body &body) |
Static Public Member Functions | |
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) |
Processes primitives generated by refinement process.
Definition at line 20 of file GT_Refine.h.
|
inline |
Default constructor.
Definition at line 23 of file GT_Refine.h.
|
virtual |
Destructor.
|
pure virtual |
This method is called for all primitives generated during the refinement process.
Implemented in GLTF_NAMESPACE::GLTF_Refiner, GusdRefiner, and GT_RefineCollect.
|
inlinevirtual |
Return true if the refinement allows threaded refinement of primitives.
Reimplemented in GLTF_NAMESPACE::GLTF_Refiner, GusdRefiner, and GT_RefineCollect.
Definition at line 29 of file GT_Refine.h.
For memory tracking, we override the new/delete operators
|
static |
For memory tracking, we override the new/delete operators
For memory tracking, we override the new/delete operators
|
inline |
Convenience method called by primitives which support parallel for loops for refinement.
Definition at line 38 of file GT_Refine.h.