11 #ifndef __GU_PrimVolume__
12 #define __GU_PrimVolume__
43 return *theDefinition;
79 int xres,
int yres,
int zres);
103 int xres,
int yres,
int zres,
104 bool allowthreading =
true);
110 buildFromFunctionInternal,
114 VolumeSampler, valAtPoint,
120 VolumeSampler valAtPoint,
126 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
GLenum GLuint GLint GLint layer
const GA_PrimitiveDefinition & getTypeDef() const override
IMATH_NAMESPACE::V2f float
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
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