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

Trivial collector class for VDBs - 1 GT_PrimVDB per VDB primitive. More...

#include <GT_PrimVDB.h>

+ Inheritance diagram for GT_GEOPrimCollectVDB:

Public Member Functions

 GT_GEOPrimCollectVDB ()
 ~GT_GEOPrimCollectVDB () override
GT_PrimitiveHandle collect (const GT_GEODetailListHandle &g, const GEO_Primitive *const *prim_list, int, GT_GEOPrimCollectData *) const override
- Public Member Functions inherited from GT_GEOPrimCollect
 GT_GEOPrimCollect ()
 Constructor. More...
virtual ~GT_GEOPrimCollect ()
 Destructor. More...
virtual GT_GEOPrimCollectDatabeginCollecting (const GT_GEODetailListHandle &geometry, const GT_RefineParms *parms) const
virtual GT_PrimitiveHandle endCollecting (const GT_GEODetailListHandle &geometry, GT_GEOPrimCollectData *data) const
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...

Detailed Description

Trivial collector class for VDBs - 1 GT_PrimVDB per VDB primitive.

Definition at line 107 of file GT_PrimVDB.h.

Constructor & Destructor Documentation

GT_GEOPrimCollectVDB::GT_GEOPrimCollectVDB ( )

Definition at line 110 of file GT_PrimVDB.h.

GT_GEOPrimCollectVDB::~GT_GEOPrimCollectVDB ( )

Definition at line 111 of file GT_PrimVDB.h.

Member Function Documentation

GT_PrimitiveHandle GT_GEOPrimCollectVDB::collect ( const GT_GEODetailListHandle geometry,
const GEO_Primitive *const prim_list,
int  nsegments,
GT_GEOPrimCollectData data 
) const

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.

Definition at line 113 of file GT_PrimVDB.h.

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