11 #ifndef __GT_PrimSphere__
12 #define __GT_PrimSphere__
57 const char *
className()
const override {
return "GT_PrimSphere"; }
virtual void fillQN(UT_Vector3F *P, GT_Size n, const fpreal *u, fpreal v) const =0
virtual int getPrimitiveType() const
GA_API const UT_StringHolder uv
Class to keep track for a 2D parametric interval.
GT_PrimSphere(const GT_AttributeListHandle &attribs, const GT_TransformHandle &transform, const GT_Parametric &uv=GT_Parametric())
Useful constructor.
GT_PrimQuadric * clone(const GT_Parametric &uv) const override
Create a split primitive.
Class which writes ASCII or binary JSON streams.
bool init(const GT_AttributeListHandle &attribs, const GT_TransformHandle &transform, const GT_Parametric &uv)
GT_PrimSphere(const GT_PrimSphere &src)
Copy constructor.
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
GT_PrimitiveHandle doSoftCopy() const override
const char * className() const override
bool init(const GT_AttributeListHandle &attribs, const GT_TransformHandle &transform, const GT_Parametric &uv)
GT_PrimSphere()
Default constructor (full unit sphere, no attributes)
GT_PrimSphere(const GT_PrimSphere &src, const GT_Parametric &uv)
Copy constructor with different parametric range.
bool save(UT_JSONWriter &w) const override
virtual void getQBounds(UT_BoundingBox &box) const =0
GLubyte GLubyte GLubyte GLubyte w