11 #ifndef __GT_PrimMeshSplit__
12 #define __GT_PrimMeshSplit__
33 {
return "GT_PrimMeshSplitParent"; }
40 int nsegs)
const override;
72 int start_segment=0,
int end_segment=0);
76 myIndices->import(index, &index, 1);
89 int start_seg=0,
int end_seg=0)
const;
106 const char *
className()
const override {
return "GT_PrimMeshSplitChild"; }
125 int nsegs)
const override;
134 {
return myRange.size(); }
virtual int getMotionSegments() const =0
virtual bool refine(GT_Refine &refiner, const GT_RefineParms *parms=NULL) const
GT_Offset getIndex(GT_Offset index) const
Lookup an index.
GT_PrimitiveHandle myParent
GT_DataArrayHandle myIndices
GT_PrimitiveHandle myMesh
const GT_PrimMeshSplitParent * getParent() const
GT_PrimMeshSplitParent * getParent()
UT_BlockedRange< GT_Offset > GT_PrimMeshSplitRange
GU_API GA_Offset getParent(const GU_Detail *gdp, const GA_Offset &node)
GT_Offset getIndex(GT_Offset index) const
const char * className() const override
const GT_PrimitiveHandle & getBaseMesh() const
Access parent primitive.
GT_PrimitiveHandle doSoftCopy() const override
The base class for all GT primitive types.
virtual int64 getMemoryUsage() const =0
Processes primitives generated by refinement process.
const UT_BoundingBox getBox() const
GT_Size entries() const
Convenience method to get the entries.
Parent class to split a mesh.
const char * className() const override
GT_PrimMeshSplitRange myRange
virtual void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const =0