HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_VolumeSampler Class Reference

#include <GEO_VolumeSampler.h>

Public Member Functions

 GEO_VolumeSampler ()
 
 GEO_VolumeSampler (const GEO_Primitive *prim)
 
 GEO_VolumeSampler (const GEO_VolumeSampler &src)
 
 ~GEO_VolumeSampler ()
 
GEO_VolumeSampleroperator= (const GEO_VolumeSampler &src)
 
bool isBound ()
 
void bindPrim (const GEO_Primitive *prim)
 
int getVectorSize () const
 
bool isActive (const UT_Vector3 &pos)
 
fpreal getValueF (const UT_Vector3 &pos)
 
fpreal getValueAtIndexF (int ix, int iy, int iz)
 
UT_Vector3D getValueV3 (const UT_Vector3 &pos)
 

Static Public Member Functions

static GEO_VolumeSamplerVDBCachecreateVDBCache (const GEO_PrimVDB *vdb)
 

Protected Attributes

const GEO_PrimitivemyPrim
 
const GEO_PrimVolumemyVol
 
const GEO_PrimVDBmyVdb
 
UT_VoxelArrayReadHandleF myHandle
 
int myVectorSize
 
GEO_VolumeSamplerVDBCachemyVDBCache
 

Detailed Description

Definition at line 37 of file GEO_VolumeSampler.h.

Constructor & Destructor Documentation

GEO_VolumeSampler::GEO_VolumeSampler ( )
inline

Definition at line 40 of file GEO_VolumeSampler.h.

GEO_VolumeSampler::GEO_VolumeSampler ( const GEO_Primitive prim)
inline

Definition at line 45 of file GEO_VolumeSampler.h.

GEO_VolumeSampler::GEO_VolumeSampler ( const GEO_VolumeSampler src)
inline

Definition at line 51 of file GEO_VolumeSampler.h.

GEO_VolumeSampler::~GEO_VolumeSampler ( )
inline

Definition at line 56 of file GEO_VolumeSampler.h.

Member Function Documentation

void GEO_VolumeSampler::bindPrim ( const GEO_Primitive prim)
inline

Definition at line 75 of file GEO_VolumeSampler.h.

static GEO_VolumeSamplerVDBCache* GEO_VolumeSampler::createVDBCache ( const GEO_PrimVDB vdb)
static
fpreal GEO_VolumeSampler::getValueAtIndexF ( int  ix,
int  iy,
int  iz 
)
inline

Definition at line 123 of file GEO_VolumeSampler.h.

fpreal GEO_VolumeSampler::getValueF ( const UT_Vector3 pos)
inline

Definition at line 113 of file GEO_VolumeSampler.h.

UT_Vector3D GEO_VolumeSampler::getValueV3 ( const UT_Vector3 pos)
inline

Definition at line 133 of file GEO_VolumeSampler.h.

int GEO_VolumeSampler::getVectorSize ( ) const
inline

Definition at line 99 of file GEO_VolumeSampler.h.

bool GEO_VolumeSampler::isActive ( const UT_Vector3 pos)
inline

Checks whether the given location falls within the volume's active region.

Definition at line 103 of file GEO_VolumeSampler.h.

bool GEO_VolumeSampler::isBound ( )
inline

Definition at line 70 of file GEO_VolumeSampler.h.

GEO_VolumeSampler& GEO_VolumeSampler::operator= ( const GEO_VolumeSampler src)
inline

Definition at line 61 of file GEO_VolumeSampler.h.

Member Data Documentation

UT_VoxelArrayReadHandleF GEO_VolumeSampler::myHandle
protected

Definition at line 149 of file GEO_VolumeSampler.h.

const GEO_Primitive* GEO_VolumeSampler::myPrim
protected

Definition at line 146 of file GEO_VolumeSampler.h.

const GEO_PrimVDB* GEO_VolumeSampler::myVdb
protected

Definition at line 148 of file GEO_VolumeSampler.h.

GEO_VolumeSamplerVDBCache* GEO_VolumeSampler::myVDBCache
protected

Definition at line 151 of file GEO_VolumeSampler.h.

int GEO_VolumeSampler::myVectorSize
protected

Definition at line 150 of file GEO_VolumeSampler.h.

const GEO_PrimVolume* GEO_VolumeSampler::myVol
protected

Definition at line 147 of file GEO_VolumeSampler.h.


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