11 #ifndef __GT_PrimCircle__
12 #define __GT_PrimCircle__
56 const char *
className()
const override {
return "GT_PrimCircle"; }
virtual void fillQN(UT_Vector3F *P, GT_Size n, const fpreal *u, fpreal v) const =0
virtual void adjustTesselationCounts(GT_Size &nu, GT_Size &nv) const
GT_PrimCircle(const GT_PrimCircle &src, const GT_Parametric &uv)
Copy (but with a different parametric range)
virtual int getPrimitiveType() const
GA_API const UT_StringHolder uv
Class to keep track for a 2D parametric interval.
Class which writes ASCII or binary JSON streams.
bool init(const GT_AttributeListHandle &attribs, const GT_TransformHandle &transform, const GT_Parametric &uv)
GT_PrimQuadric * clone(const GT_Parametric &uv) const override
Create a split primitive.
bool init(const GT_AttributeListHandle &attribs, const GT_TransformHandle &transform, const GT_Parametric &uv)
GT_PrimitiveHandle doSoftCopy() const override
GA_API const UT_StringHolder transform
virtual void fillQP(UT_Vector3F *P, GT_Size n, const fpreal *u, fpreal v) const =0
virtual GT_PrimitiveHandle doHarden() const
bool saveQuadric(UT_JSONWriter &w, const char *name) const
virtual GT_PrimitiveHandle refineToPolygonMesh(const GT_RefineParms *parms) const
Convenience method to refine to a polygon mesh.
GT_PrimCircle(const GT_PrimCircle &src)
Copy constructor.
virtual void getQBounds(UT_BoundingBox &box) const =0
GLubyte GLubyte GLubyte GLubyte w
GT_PrimCircle()
Default constructor (full unit circle in the xz plane, no attributes)
bool save(UT_JSONWriter &w) const override
const char * className() const override
GT_PrimCircle(const GT_AttributeListHandle &attribs, const GT_TransformHandle &transform, const GT_Parametric &uv=GT_Parametric())
Useful constructor.