HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GT_Refine Class Referenceabstract

Processes primitives generated by refinement process. More...

#include <GT_Refine.h>

+ Inheritance diagram for GT_Refine:

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 voidoperator new (size_t size)
 
static voidoperator new (size_t size, void *p)
 
static void operator delete (void *p, size_t size)
 

Detailed Description

Processes primitives generated by refinement process.

Definition at line 20 of file GT_Refine.h.

Constructor & Destructor Documentation

GT_Refine::GT_Refine ( )
inline

Default constructor.

Definition at line 23 of file GT_Refine.h.

virtual GT_Refine::~GT_Refine ( )
virtual

Destructor.

Member Function Documentation

virtual void GT_Refine::addPrimitive ( const GT_PrimitiveHandle prim)
pure virtual

This method is called for all primitives generated during the refinement process.

Implemented in GLTF_NAMESPACE::GLTF_Refiner, GusdRefiner, and GT_RefineCollect.

virtual bool GT_Refine::allowThreading ( ) const
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.

static void GT_Refine::operator delete ( void p,
size_t  size 
)
static

For memory tracking, we override the new/delete operators

static void* GT_Refine::operator new ( size_t  size)
static

For memory tracking, we override the new/delete operators

static void* GT_Refine::operator new ( size_t  size,
void p 
)
static

For memory tracking, we override the new/delete operators

template<typename Range , typename Body >
void GT_Refine::refineRange ( const Range &  range,
const Body &  body 
)
inline

Convenience method called by primitives which support parallel for loops for refinement.

Definition at line 38 of file GT_Refine.h.


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