11 #ifndef __GT_PrimPointMesh__
12 #define __GT_PrimPointMesh__
27 init(points, uniform);
30 : myPoints(src.myPoints)
31 , myUniform(src.myUniform)
32 , myPointSetMap(src.myPointSetMap)
38 const char *
className()
const override {
return "GT_PrimPointMesh"; }
54 {
return getPointCount(); }
76 { myPointSetMap =
v; }
82 int nsegment)
const override;
84 int n)
const override;
SIM_API const UT_StringHolder vertex
virtual int getMotionSegments() const =0
GLdouble GLdouble GLint GLint const GLdouble * points
#define SYS_DEPRECATED(__V__)
GT_PrimitiveHandle doSoftCopy() const override
const GT_AttributeListHandle & getPointAttributes() const override
virtual int getPrimitiveType() const
const GT_AttributeListHandle & getDetailAttributes() const override
void setPointSetMap(const GT_ElementSetMapPtr &v)
Class which writes ASCII or binary JSON streams.
const GT_AttributeListHandle & getPoints() const
Get the varying data array. There is one entry for each vertex.
GT_PrimPointMesh(const GT_PrimPointMesh &src)
const char * className() const override
GT_PrimPointMesh(const GT_AttributeListHandle &points, const GT_AttributeListHandle &uniform)
virtual void enlargeRenderBounds(UT_BoundingBox boxes[], int nsegments) const
A mesh of unconnected points.
GLboolean GLboolean GLboolean b
The base class for all GT primitive types.
virtual GT_PrimitiveHandle doHarden() const
virtual int64 getMemoryUsage() const =0
bool init(const GT_AttributeListHandle &points, const GT_AttributeListHandle &uniform)
virtual bool save(UT_JSONWriter &w) const
GLubyte GLubyte GLubyte GLubyte w
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
const GT_ElementSetMapPtr & pointSetMap() const
const GT_AttributeListHandle & getUniform() const