11 #ifndef __GU_PrimTriFan__
12 #define __GU_PrimTriFan__
45 return *theDefinition;
60 bool appendpts =
true);
62 void normal(NormalComp &output)
const override;
63 void normal(NormalCompD &output)
const override;
66 template <
typename T,
typename NORMALCOMP>
71 friend class GU_PrimitiveFactory;
#define SYS_DEPRECATED_PUSH_DISABLE()
#define SYS_DEPRECATED_POP_DISABLE()
virtual int64 getMemoryUsage() const
exint GA_Size
Defines the bit width for index and offset types in GA.
#define GA_INVALID_OFFSET
virtual void normal(NormalComp &output) const =0
GU_PrimTriFan(GU_Detail *gdp, GA_Offset offset=GA_INVALID_OFFSET)
NOTE: This constructor should only be called via GU_PrimitiveFactory.
virtual void countMemory(UT_MemoryCounter &counter) const
Triangle fan. All triangles share the first vertex.
UT_Vector3T< T > internalComputeNormal() const
virtual GEO_Primitive * convert(GEO_ConvertParms &parms, GA_PointGroup *usedpts=0)=0
Definition of a geometric primitive.
virtual GEO_Primitive * convertNew(GEO_ConvertParms &parms)=0
const GA_PrimitiveDefinition & getTypeDef() const override
~GU_PrimTriFan() override