All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
* PROPRIETARY INFORMATION. This software is proprietary to
* Side Effects Software Inc., and is not to be reproduced,
* transmitted, or disclosed in any way without written permission.
* Produced by:
* Side Effects Software Inc
* 123 Front Street West, Suite 1401
* Toronto, Ontario
* Canada M5J 2M2
* 416-504-9876
* NAME: GT_PrimTetra.h ( GT Library, C++)
#ifndef __GT_PrimTetra__
#define __GT_PrimTetra__
namespace HDK_Sample {
/// 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.
class GT_PrimTetraCollect : public GT_GEOPrimCollect
/// Register the GT collector
static void registerPrimitive(const GA_PrimitiveTypeId &id);
/// Constructor. The @c id is used to bind the collector to the proper
/// primitive type.
/// Destructor
/// Return a structure to capture all the tet primitives
const GT_RefineParms *parms) const;
/// When refining a single tet primitive, we add it to the container
const GEO_Primitive *const* prim_list,
int nsegments,
/// At the end of collecting, the single outside skin is generated
GT_GEOPrimCollectData *data) const;
} // End HDK_Sample namespace