11 #ifndef __GT_PrimHyperboloid__
12 #define __GT_PrimHyperboloid__
69 {
return "GT_PrimHyperboloid"; }
74 ok = ok && getP0().save(w);
75 ok = ok && getP1().save(w);
76 ok = ok && myUV.save(w);
const UT_Vector3D getDP() const
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
virtual int getPrimitiveType() const
GT_PrimitiveHandle doSoftCopy() const override
GA_API const UT_StringHolder uv
GT_PrimHyperboloid(const GT_PrimHyperboloid &src, const GT_Parametric &uv)
const char * className() const override
Class to keep track for a 2D parametric interval.
bool save(UT_JSONWriter &w) const override
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
Clone a new hyperbolic sheet with a different parametric range.
GT_PrimHyperboloid(const GT_PrimHyperboloid &src)
const GT_TransformHandle & getPrimitiveTransform() const
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
const UT_Vector3D getP1() const
const UT_Vector3D getP0() const
virtual void getQBounds(UT_BoundingBox &box) const =0
bool saveAttributeLists(UT_JSONWriter &w) const
GT_PrimHyperboloid(const UT_Vector3D &p0, const UT_Vector3D &p1, const GT_AttributeListHandle &attribs, const GT_TransformHandle &transform, const GT_Parametric &uv=GT_Parametric())
GA_API const UT_StringHolder N
GLubyte GLubyte GLubyte GLubyte w
bool init(const UT_Vector3D &p0, const UT_Vector3D &p1, const GT_AttributeListHandle &attribs, const GT_TransformHandle &transform, const GT_Parametric &uv=GT_Parametric())