HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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)
 
virtual ~GT_RefineCollect ()
 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
 
virtual bool allowThreading () const
 
virtual void addPrimitive (const GT_PrimitiveHandle &prim)
 
- 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)

virtual GT_RefineCollect::~GT_RefineCollect ( )
virtual

D-tor.

Member Function Documentation

virtual void GT_RefineCollect::addPrimitive ( const GT_PrimitiveHandle prim)
virtual

Implemented from GT_Refine

Implements GT_Refine.

virtual bool GT_RefineCollect::allowThreading ( ) const
inlinevirtual

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 ( void  ) 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: