HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_VolumeSamplerCache Class Referenceabstract

#include <GEO_VolumeSampler.h>

Public Member Functions

 GEO_VolumeSamplerCache ()
 
virtual ~GEO_VolumeSamplerCache ()
 
virtual bool isActive (const UT_Vector3 &pos)=0
 
virtual bool isActiveAtIndex (int ix, int iy, int iz)=0
 
virtual fpreal getValueF (const UT_Vector3 &pos)=0
 
virtual UT_Vector2D getValueV2 (const UT_Vector3 &pos)=0
 
virtual UT_Vector3D getValueV3 (const UT_Vector3 &pos)=0
 
virtual UT_Vector4D getValueV4 (const UT_Vector3 &pos)=0
 
virtual exint getValueI (const UT_Vector3 &pos)=0
 
template<typename BASE >
BASE getValueByType (const UT_Vector3 &pos)
 
virtual fpreal getValueAtIndexF (int ix, int iy, int iz)=0
 
virtual UT_Vector2D getValueAtIndexV2 (int ix, int iy, int iz)=0
 
virtual UT_Vector3D getValueAtIndexV3 (int ix, int iy, int iz)=0
 
virtual UT_Vector4D getValueAtIndexV4 (int ix, int iy, int iz)=0
 
virtual exint getValueAtIndexI (int ix, int iy, int iz)=0
 
virtual fpreal getConstantIndexRegionF (UT_BoundingBox &indexbox, bool *isconstant, bool *isactive)=0
 
virtual UT_Vector2D getConstantIndexRegionV2 (UT_BoundingBox &indexbox, bool *isconstant, bool *isactive)=0
 
virtual UT_Vector3D getConstantIndexRegionV3 (UT_BoundingBox &indexbox, bool *isconstant, bool *isactive)=0
 
virtual UT_Vector4D getConstantIndexRegionV4 (UT_BoundingBox &indexbox, bool *isconstant, bool *isactive)=0
 
virtual exint getConstantIndexRegionI (UT_BoundingBox &indexbox, bool *isconstant, bool *isactive)=0
 
virtual UT_VoxelArrayReadHandleF getHandleF ()=0
 Null if the PrimVolume type does not match, or if it's a PrimVDB. More...
 
virtual UT_VoxelArrayReadHandleV2 getHandleV2 ()=0
 
virtual UT_VoxelArrayReadHandleV3 getHandleV3 ()=0
 
virtual UT_VoxelArrayReadHandleV4 getHandleV4 ()=0
 
virtual UT_VoxelArrayReadHandleI getHandleI ()=0
 

Detailed Description

Sampler cache for PrimVolume and PrimVDB. Converts to the requested tuple, possibly truncating or padding with zeros.

Definition at line 27 of file GEO_VolumeSampler.h.

Constructor & Destructor Documentation

GEO_VolumeSamplerCache::GEO_VolumeSamplerCache ( )
inline

Definition at line 30 of file GEO_VolumeSampler.h.

virtual GEO_VolumeSamplerCache::~GEO_VolumeSamplerCache ( )
inlinevirtual

Definition at line 31 of file GEO_VolumeSampler.h.

Member Function Documentation

virtual fpreal GEO_VolumeSamplerCache::getConstantIndexRegionF ( UT_BoundingBox indexbox,
bool *  isconstant,
bool *  isactive 
)
pure virtual
virtual exint GEO_VolumeSamplerCache::getConstantIndexRegionI ( UT_BoundingBox indexbox,
bool *  isconstant,
bool *  isactive 
)
pure virtual
virtual UT_Vector2D GEO_VolumeSamplerCache::getConstantIndexRegionV2 ( UT_BoundingBox indexbox,
bool *  isconstant,
bool *  isactive 
)
pure virtual
virtual UT_Vector3D GEO_VolumeSamplerCache::getConstantIndexRegionV3 ( UT_BoundingBox indexbox,
bool *  isconstant,
bool *  isactive 
)
pure virtual
virtual UT_Vector4D GEO_VolumeSamplerCache::getConstantIndexRegionV4 ( UT_BoundingBox indexbox,
bool *  isconstant,
bool *  isactive 
)
pure virtual
virtual UT_VoxelArrayReadHandleF GEO_VolumeSamplerCache::getHandleF ( )
pure virtual

Null if the PrimVolume type does not match, or if it's a PrimVDB.

virtual UT_VoxelArrayReadHandleI GEO_VolumeSamplerCache::getHandleI ( )
pure virtual
virtual UT_VoxelArrayReadHandleV2 GEO_VolumeSamplerCache::getHandleV2 ( )
pure virtual
virtual UT_VoxelArrayReadHandleV3 GEO_VolumeSamplerCache::getHandleV3 ( )
pure virtual
virtual UT_VoxelArrayReadHandleV4 GEO_VolumeSamplerCache::getHandleV4 ( )
pure virtual
virtual fpreal GEO_VolumeSamplerCache::getValueAtIndexF ( int  ix,
int  iy,
int  iz 
)
pure virtual
virtual exint GEO_VolumeSamplerCache::getValueAtIndexI ( int  ix,
int  iy,
int  iz 
)
pure virtual
virtual UT_Vector2D GEO_VolumeSamplerCache::getValueAtIndexV2 ( int  ix,
int  iy,
int  iz 
)
pure virtual
virtual UT_Vector3D GEO_VolumeSamplerCache::getValueAtIndexV3 ( int  ix,
int  iy,
int  iz 
)
pure virtual
virtual UT_Vector4D GEO_VolumeSamplerCache::getValueAtIndexV4 ( int  ix,
int  iy,
int  iz 
)
pure virtual
template<typename BASE >
BASE GEO_VolumeSamplerCache::getValueByType ( const UT_Vector3 pos)
inline

Definition at line 43 of file GEO_VolumeSampler.h.

virtual fpreal GEO_VolumeSamplerCache::getValueF ( const UT_Vector3 pos)
pure virtual
virtual exint GEO_VolumeSamplerCache::getValueI ( const UT_Vector3 pos)
pure virtual
virtual UT_Vector2D GEO_VolumeSamplerCache::getValueV2 ( const UT_Vector3 pos)
pure virtual
virtual UT_Vector3D GEO_VolumeSamplerCache::getValueV3 ( const UT_Vector3 pos)
pure virtual
virtual UT_Vector4D GEO_VolumeSamplerCache::getValueV4 ( const UT_Vector3 pos)
pure virtual
virtual bool GEO_VolumeSamplerCache::isActive ( const UT_Vector3 pos)
pure virtual
virtual bool GEO_VolumeSamplerCache::isActiveAtIndex ( int  ix,
int  iy,
int  iz 
)
pure virtual

The documentation for this class was generated from the following file: