11 #ifndef __GT_GEODetail__
12 #define __GT_GEODetail__
37 const char *
className()
const override {
return "GT_GEODetail"; }
41 int nsegments)
const override;
65 {
return sizeof(*this); }
69 {
return myList->getMotionSegments(); }
72 {
return myList->getGeometry(segment); }
109 int pointset_mode = 0
114 int pointset_mode = 0
virtual bool refine(GT_Refine &refiner, const GT_RefineParms *parms=NULL) const
virtual int getPrimitiveType() const
const GU_ConstDetailHandle & getGeometry(int segment=0) const
Get geometry for a given segment.
ImageBuf OIIO_API min(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
Class which writes ASCII or binary JSON streams.
GA_API const UT_StringHolder v
GT_PrimitiveHandle doSoftCopy() const override
Do a soft-copy.
A range of elements in an index-map.
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
virtual void getVelocityRange(UT_Vector3 &min, UT_Vector3 &max, const UT_StringRef &attribute_name=GA_Names::v) const
const char * className() const override
The base class for all GT primitive types.
virtual GT_PrimitiveHandle doHarden() const
int getMotionSegments() const override
Query number of motion segments.
Processes primitives generated by refinement process.
int64 getMemoryUsage() const override
ImageBuf OIIO_API max(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
virtual bool save(UT_JSONWriter &w) const
const UT_SharedPtr< const GA_Range > & getRange() const
GLubyte GLubyte GLubyte GLubyte w
Primitive representing entire detail. Refine this primitive.
UT_SharedPtr< GT_GEODetailList > GT_GEODetailListHandle
virtual void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const =0