10 #ifndef GT_PrimTetMesh_h
11 #define GT_PrimTetMesh_h
38 const char *
className()
const override {
return "GT_PrimTetMesh"; }
40 int getTetCount()
const {
return myVertexList->entries() / 4; }
43 {
return myVertexAttribs; }
45 {
return myPointAttribs; }
47 {
return myUniformAttribs; }
49 {
return myDetailAttribs; }
53 {
return myVertexList; }
57 {
return myFaceVerts; }
60 int nsegments)
const override;
84 { myPointSetMap =
v; }
virtual int getMotionSegments() const =0
virtual bool refine(GT_Refine &refiner, const GT_RefineParms *parms=NULL) const
const GT_ElementSetMapPtr & pointSetMap() const
const GT_AttributeListHandle & getVertexAttributes() const override
const GT_AttributeListHandle & getUniformAttributes() const override
const GT_ElementSetMapPtr & tetSetMap() const
virtual GT_PrimitiveHandle doSoftCopy() const =0
const char * className() const override
const GT_AttributeListHandle & getDetailAttributes() const override
The base class for all GT primitive types.
virtual int64 getMemoryUsage() const =0
Processes primitives generated by refinement process.
const GT_DataArrayHandle & getFaceVertices() const
const GT_DataArrayHandle & getVertexList() const override
void setTetSetMap(const GT_ElementSetMapPtr &v)
int getPrimitiveType() const override
void setPointSetMap(const GT_ElementSetMapPtr &v)
const GT_AttributeListHandle & getPointAttributes() const override
virtual void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const =0