11 #ifndef __GU_PrimVolume__
12 #define __GU_PrimVolume__
42 return *theDefinition;
77 int xres,
int yres,
int zres);
90 int xres,
int yres,
int zres,
91 bool allowthreading =
true);
97 buildFromFunctionInternal,
101 VolumeSampler, valAtPoint,
107 VolumeSampler valAtPoint,
113 friend class GU_PrimitiveFactory;
#define SYS_DEPRECATED_PUSH_DISABLE()
#define SYS_DEPRECATED_POP_DISABLE()
virtual int64 getMemoryUsage() const
GU_PrimVolume(GU_Detail *gdp, GA_Offset offset=GA_INVALID_OFFSET)
NOTE: This constructor should only be called via GU_PrimitiveFactory.
#define GA_INVALID_OFFSET
const GA_PrimitiveDefinition & getTypeDef() const override
virtual void countMemory(UT_MemoryCounter &counter) const
#define THREADED_METHOD5(CLASSNAME, DOMULTI, METHOD, PARMTYPE1, PARMNAME1, PARMTYPE2, PARMNAME2, PARMTYPE3, PARMNAME3, PARMTYPE4, PARMNAME4, PARMTYPE5, PARMNAME5)
void normal(NormalComp &output) const override
void normal(NormalCompD &output) const override
~GU_PrimVolume() override
virtual GEO_Primitive * convert(GEO_ConvertParms &parms, GA_PointGroup *usedpts=0)=0
Definition of a geometric primitive.
virtual GEO_Primitive * convertNew(GEO_ConvertParms &parms)=0