|
HDK
|
#include <GT_PrimTetra.h>
Inheritance diagram for HDK_Sample::GT_PrimTetraCollect:Public Member Functions | |
| GT_PrimTetraCollect (const GA_PrimitiveTypeId &id) | |
| ~GT_PrimTetraCollect () override | |
| Destructor. More... | |
| GT_GEOPrimCollectData * | beginCollecting (const GT_GEODetailListHandle &geometry, const GT_RefineParms *parms) const override |
| Return a structure to capture all the tet primitives. More... | |
| GT_PrimitiveHandle | collect (const GT_GEODetailListHandle &geometry, const GEO_Primitive *const *prim_list, int nsegments, GT_GEOPrimCollectData *data) const override |
| When refining a single tet primitive, we add it to the container. More... | |
| GT_PrimitiveHandle | endCollecting (const GT_GEODetailListHandle &geometry, GT_GEOPrimCollectData *data) const override |
| At the end of collecting, the single outside skin is generated. More... | |
Public Member Functions inherited from GT_GEOPrimCollect | |
| GT_GEOPrimCollect () | |
| Constructor. More... | |
| virtual | ~GT_GEOPrimCollect () |
| Destructor. More... | |
| void | bind (const GA_PrimitiveTypeId &id) const |
Static Public Member Functions | |
| static void | registerPrimitive (const GA_PrimitiveTypeId &id) |
| Register the GT collector. More... | |
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... | |
Hook to handle tesselation of tetra primitives
When rendering tet primitives, collect all the tet primitives together, then a single polygonal mesh is generated as a result.
Definition at line 37 of file GT_PrimTetra.h.
| GT_PrimTetraCollect::GT_PrimTetraCollect | ( | const GA_PrimitiveTypeId & | id | ) |
Constructor. The id is used to bind the collector to the proper primitive type.
Definition at line 44 of file GT_PrimTetra.C.
|
override |
|
overridevirtual |
Return a structure to capture all the tet primitives.
Reimplemented from GT_GEOPrimCollect.
Definition at line 58 of file GT_PrimTetra.C.
|
overridevirtual |
When refining a single tet primitive, we add it to the container.
Implements GT_GEOPrimCollect.
Definition at line 66 of file GT_PrimTetra.C.
|
overridevirtual |
At the end of collecting, the single outside skin is generated.
Reimplemented from GT_GEOPrimCollect.
Definition at line 78 of file GT_PrimTetra.C.
|
static |
Register the GT collector.
Definition at line 38 of file GT_PrimTetra.C.