HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GT_RefineCollect Class Reference

A simple refiner which just collects the refined primitives in a list. More...

#include <GT_RefineCollect.h>

+ Inheritance diagram for GT_RefineCollect:

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

Detailed Description

A simple refiner which just collects the refined primitives in a list.

Definition at line 21 of file GT_RefineCollect.h.

Constructor & Destructor Documentation

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)

GT_RefineCollect::~GT_RefineCollect ( )
override

D-tor.

Member Function Documentation

void GT_RefineCollect::addPrimitive ( const GT_PrimitiveHandle prim)
overridevirtual

Implemented from GT_Refine

Implements GT_Refine.

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

exint GT_RefineCollect::entries ( ) const
inline

Accessor

Definition at line 42 of file GT_RefineCollect.h.

const GT_PrimitiveHandle& GT_RefineCollect::getPrim ( ) const
inline

Accessor

Definition at line 38 of file GT_RefineCollect.h.

GT_PrimitiveHandle GT_RefineCollect::getPrim ( int  i) const
inline

Accessor

Definition at line 47 of file GT_RefineCollect.h.

const GT_PrimCollect* GT_RefineCollect::getPrimCollect ( ) const
inline

Accessor

Definition at line 40 of file GT_RefineCollect.h.


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