26 #ifndef __GT_PrimTetra__
27 #define __GT_PrimTetra__
31 namespace HDK_Sample {
GT_GEOPrimCollectData * beginCollecting(const GT_GEODetailListHandle &geometry, const GT_RefineParms *parms) const override
Return a structure to capture all the tet primitives.
Collection data container.
GT_PrimTetraCollect(const GA_PrimitiveTypeId &id)
static void registerPrimitive(const GA_PrimitiveTypeId &id)
Register the GT collector.
~GT_PrimTetraCollect() override
Destructor.
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.
GT_PrimitiveHandle endCollecting(const GT_GEODetailListHandle &geometry, GT_GEOPrimCollectData *data) const override
At the end of collecting, the single outside skin is generated.
UT_SharedPtr< GT_GEODetailList > GT_GEODetailListHandle