11 #ifndef __GT_PrimTubeMesh__
12 #define __GT_PrimTubeMesh__
30 , myTaper(src.myTaper)
51 {
return "GT_PrimTubeMesh"; }
SIM_API const UT_StringHolder vertex
int getPrimitiveType() const override
virtual GT_PrimitiveHandle makeQuadric(GT_Size index, const GT_AttributeListHandle &h, const GT_TransformHandle &x, const GT_RefineParms *parms) const =0
Sub-class method to make an individual primitive.
A tapered tube primitive (mapping to GEO_PrimTube)
GT_PrimTubeMesh(const GT_PrimTubeMesh &src)
Class which writes ASCII or binary JSON streams.
bool init(const GT_AttributeListHandle &vertex, const GT_AttributeListHandle &detail, const GT_TransformArrayHandle &xforms)
Initialize the quadric mesh.
GT_Size getTubeCount() const
const char * className() const override
GT_Size getQuadricCount() const
virtual void getQBounds(UT_BoundingBox &box) const =0
A virtual container used by sphere, circle and tube meshes.
virtual bool getBaseTransform(UT_Matrix4D &) const
virtual GT_PrimitiveHandle doHarden() const
GT_PrimTubeMesh(fpreal taper, bool caps, const GT_AttributeListHandle &vertex, const GT_AttributeListHandle &detail, const GT_TransformArrayHandle &xforms)
GLfloat GLfloat GLfloat GLfloat h
virtual bool save(UT_JSONWriter &w) const
GT_PrimTubeMesh(fpreal taper=1, bool caps=false)
GLubyte GLubyte GLubyte GLubyte w
GT_PrimitiveHandle doSoftCopy() const override