11 #ifndef __GT_GEOPrimitive__
12 #define __GT_GEOPrimitive__
81 init(dlist, primlist, nsegments);
87 , myPrimitives(nullptr)
90 init(dlist, offset, nsegments);
102 const char *
className()
const override {
return "GT_GEOPrimitive"; }
116 const GEOPrimitivePair *primlist,
124 int nsegments)
const override;
126 {
return mySegmentCount; }
146 {
return myDetails[seg];}
171 bool include_detail_attributes=
true)
const;
GT_GEOPrimitive(const GT_GEOPrimitive &src)
Base class for many of the GEO_Primitive objects.
const char * className() const override
GEOPrimitivePair(const GEO_Primitive *prim)
virtual bool updateGeoPrim(const GU_ConstDetailHandle &dtl, const GT_RefineParms &parms)
update any cached data for geometry and its attributes
GT_PrimitiveHandle doSoftCopy() const override
const GEO_Primitive * primitive() const
virtual bool refine(GT_Refine &refiner, const GT_RefineParms *parms=NULL) const
GEOPrimitivePair(const GU_ConstDetailHandle &gdh, GA_Index idx)
GA_Index mapIndex() const
GEOPrimitivePair * myPrimitives
SYS_FORCE_INLINE TO_T UTverify_cast(FROM_T from)
const T * primitiveAs() const
int getMotionSegments() const override
GLuint GLsizei const GLuint const GLintptr * offsets
GT_GEOPrimitive(const GU_ConstDetailHandle *dlist, GA_Offset offset, int nsegments)
const T * getPrimAs(int seg) const
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
The base class for all GT primitive types.
virtual int64 getMemoryUsage() const =0
const GU_ConstDetailHandle & detail(int seg) const
Processes primitives generated by refinement process.
GU_ConstDetailHandle * myDetails
GT_GEOPrimitive(const GU_ConstDetailHandle *dlist, const GEO_Primitive *const *primlist, int nsegments)
virtual void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const =0
int getPrimitiveType() const override
const GU_ConstDetailHandle * detailHandles() const