11 #ifndef __GT_PrimCurve__
12 #define __GT_PrimCurve__
26 init(basis, vertex, uniform, wrap);
30 const char *
className()
const override {
return "GT_PrimCurve"; }
36 int nsegments)
const override;
SIM_API const UT_StringHolder vertex
virtual int getMotionSegments() const =0
virtual int getPrimitiveType() const
virtual fpreal computePerimeter(int seg=0) const
const char * className() const override
GT_PrimCurve(GT_Basis basis, const GT_AttributeListHandle &vertex, const GT_AttributeListHandle &uniform, bool wrap)
const GT_AttributeListHandle & getVertex() const
Class which writes ASCII or binary JSON streams.
const GT_AttributeListHandle & getUniform() const
Abstract data class for an array of float, int or string data.
virtual void enlargeRenderBounds(UT_BoundingBox boxes[], int nsegments) const
GLboolean GLboolean GLboolean b
The base class for all GT primitive types.
virtual GT_PrimitiveHandle doHarden() const
virtual int64 getMemoryUsage() const =0
GT_PrimitiveHandle doSoftCopy() const override
const GT_AttributeListHandle & getVertexAttributes() const override
virtual bool save(UT_JSONWriter &w) const
GLubyte GLubyte GLubyte GLubyte w
const GT_AttributeListHandle & getUniformAttributes() const override
GT_Basis getBasis() const
A single linear or cubic patch.
virtual GT_PrimitiveHandle doAttributeMerge(const GT_Primitive &src, const UT_StringMMPattern *vertex, const UT_StringMMPattern *point, const UT_StringMMPattern *uniform, const UT_StringMMPattern *detail) const
The virtual implementation of attribute merging.
virtual void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const =0