HDK
|
Trivial collector class for Channel - 1 GT_PrimChannel per Channel primitive. More...
#include <GT_PrimChannel.h>
Public Member Functions | |
GT_GEOPrimCollectChannel () | |
~GT_GEOPrimCollectChannel () override | |
GT_GEOPrimCollectData * | beginCollecting (const GT_GEODetailListHandle &geometry, const GT_RefineParms *parms) const override |
GT_PrimitiveHandle | collect (const GT_GEODetailListHandle &, const GEO_Primitive *const *prim_list, int, GT_GEOPrimCollectData *) const override |
GT_PrimitiveHandle | endCollecting (const GT_GEODetailListHandle &geometry, GT_GEOPrimCollectData *data) const override |
Public Member Functions inherited from GT_GEOPrimCollect | |
GT_GEOPrimCollect () | |
Constructor. More... | |
virtual | ~GT_GEOPrimCollect () |
Destructor. More... | |
void | bind (const GA_PrimitiveTypeId &id) const |
Additional Inherited Members | |
Static Public Member Functions inherited from GT_GEOPrimCollect | |
static GT_GEOPrimCollectPtr | getCollector (const GA_PrimitiveTypeId &id) |
Get the current collector bound for a primitive. More... | |
Trivial collector class for Channel - 1 GT_PrimChannel per Channel primitive.
Definition at line 62 of file GT_PrimChannel.h.
|
inline |
Definition at line 65 of file GT_PrimChannel.h.
|
inlineoverride |
Definition at line 66 of file GT_PrimChannel.h.
|
overridevirtual |
This method is called when the detail begins collecting. The method may or may not be called if there are now collectable primitives in the detail.
The data container is passed to the collect()
and endCollect()
methods. It is automatically deleted on completion. If no data is needed for collection, this method should return a NULL pointer (which is the default behaviour).
Reimplemented from GT_GEOPrimCollect.
|
overridevirtual |
For each matching primitive in the detail, this method will be called. If no GT primitive should be created, return an empty handle.
Implements GT_GEOPrimCollect.
|
overridevirtual |
Complete any processing fter all primitives have been collected
This method should not delete the collection data
Reimplemented from GT_GEOPrimCollect.