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

#include <SIM_FieldSampler.h>

Public Member Functions

virtual ~SIM_VFSImplementation ()
 
virtual UT_Vector3 getValue (int x, int y, int z)=0
 
virtual UT_Vector3 getValue (float x, float y, float z)=0
 
virtual bool isTileConstant (int tx, int ty, int tz, const UT_VoxelTile< float > *tile, UT_Vector3 &val)=0
 

Static Public Member Functions

template<typename FIELD_TYPE >
static SIM_API UT_UniquePtr
< SIM_VFSImplementation
createSampler (const FIELD_TYPE *target, const SIM_VectorField *source)
 

Protected Member Functions

 SIM_VFSImplementation ()
 

Protected Attributes

const UT_VoxelArrayFmySourceArrays [3]
 

Detailed Description

This internal abstract class implements sampling for vector fields. The createSampler static method should be used to instantiate a sampler.

Definition at line 69 of file SIM_FieldSampler.h.

Constructor & Destructor Documentation

SIM_VFSImplementation::SIM_VFSImplementation ( )
inlineprotected

Definition at line 72 of file SIM_FieldSampler.h.

virtual SIM_VFSImplementation::~SIM_VFSImplementation ( )
inlinevirtual

Definition at line 75 of file SIM_FieldSampler.h.

Member Function Documentation

template<typename FIELD_TYPE >
static SIM_API UT_UniquePtr<SIM_VFSImplementation> SIM_VFSImplementation::createSampler ( const FIELD_TYPE *  target,
const SIM_VectorField source 
)
static
virtual UT_Vector3 SIM_VFSImplementation::getValue ( int  x,
int  y,
int  z 
)
pure virtual
virtual UT_Vector3 SIM_VFSImplementation::getValue ( float  x,
float  y,
float  z 
)
pure virtual
virtual bool SIM_VFSImplementation::isTileConstant ( int  tx,
int  ty,
int  tz,
const UT_VoxelTile< float > *  tile,
UT_Vector3 val 
)
pure virtual

Member Data Documentation

const UT_VoxelArrayF* SIM_VFSImplementation::mySourceArrays[3]
protected

Definition at line 89 of file SIM_FieldSampler.h.


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