11 #ifndef __GT_PrimChannel__
12 #define __GT_PrimChannel__
29 const char *
className()
const override {
return "GT_PrimChannel"; }
38 int nsegments)
const override;
50 {
return getPrimitive(); }
virtual int getMotionSegments() const =0
virtual GT_GEOPrimCollectData * beginCollecting(const GT_GEODetailListHandle &geometry, const GT_RefineParms *parms) const
GT_GEOPrimCollectChannel()
Trivial collector class for Channel - 1 GT_PrimChannel per Channel primitive.
Collection data container.
int getPrimitiveType() const override
virtual GT_PrimitiveHandle endCollecting(const GT_GEODetailListHandle &geometry, GT_GEOPrimCollectData *data) const
virtual GT_PrimitiveHandle collect(const GT_GEODetailListHandle &geometry, const GEO_Primitive *const *prim_list, int nsegments, GT_GEOPrimCollectData *data) const =0
GT_PrimitiveHandle doSoftCopy() const override
The base class for all GT primitive types.
virtual GT_PrimitiveHandle doHarden() const
virtual int64 getMemoryUsage() const =0
const GEO_Primitive * getGeoPrimitive() const
~GT_GEOPrimCollectChannel() override
const char * className() const override
UT_SharedPtr< GT_GEODetailList > GT_GEODetailListHandle
virtual void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const =0