11 #ifndef __GU_PrimPolySoup__
12 #define __GU_PrimPolySoup__
48 return *theDefinition;
84 const int *polygonpointnumbers,
85 const bool sharedvertices =
true);
90 const int *polygonpointnumbers,
91 const bool sharedvertices =
true);
120 const int *polygonpointnumbers,
121 const bool sharedvertices =
true);
126 const int *polygonpointnumbers,
127 const bool sharedvertices =
true);
130 #ifdef SOUP_FILE_TESTING
131 bool saveCustom(
const char *
filename);
139 void normal(NormalComp &output)
const override;
140 void normal(NormalCompD &output)
const override;
147 bool flipedges =
false,
148 bool avoiddegeneracy =
false) override final;
~GU_PrimPolySoup() override
GT_API const UT_StringHolder filename
GLdouble GLdouble GLint GLint const GLdouble * points
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
#define SYS_DEPRECATED_PUSH_DISABLE()
#define SYS_DEPRECATED_POP_DISABLE()
GU_PrimPolySoup(GA_Detail *gdp, GA_Offset offset=GA_INVALID_OFFSET)
NOTE: This constructor should only be called via GU_PrimitiveFactory.
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
virtual void countMemory(UT_MemoryCounter &counter) const
const GA_PrimitiveDefinition & getTypeDef() const override
virtual void convex(GA_Size maxpts=3, const GA_Detail *restgdp=nullptr, bool flipedges=false, bool avoiddegeneracy=false)=0
Container class for all geometry.
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