HDK
|
#include <SIM_FieldSampler.h>
Public Member Functions | |
virtual | ~SIM_SFSImplementation () |
virtual float | getValue (int x, int y, int z)=0 |
virtual float | getValue (float x, float y, float z)=0 |
virtual bool | isTileConstant (int tx, int ty, int tz, const UT_VoxelTile< float > *tile, float &val)=0 |
Static Public Member Functions | |
template<typename FIELD_TYPE > | |
static SIM_API UT_UniquePtr < SIM_SFSImplementation > | createSampler (const FIELD_TYPE *target, const SIM_RawField *source) |
This static method creates an appropriate sampler for the given fields. More... | |
static SIM_API UT_UniquePtr < SIM_SFSImplementation > | createSampler (const SIM_VectorField *target, const SIM_RawField *source, SIM_FieldSample target_sample) |
Protected Member Functions | |
SIM_SFSImplementation () | |
Protected Attributes | |
const UT_VoxelArrayF * | mySourceArray |
This internal abstract class implements sampling for scalar fields. Hidden concrete subclasses take care of actual probing. The createSampler static method should be used to instantiate a sampler.
Definition at line 37 of file SIM_FieldSampler.h.
|
inlineprotected |
Definition at line 40 of file SIM_FieldSampler.h.
|
inlinevirtual |
Definition at line 43 of file SIM_FieldSampler.h.
|
static |
This static method creates an appropriate sampler for the given fields.
|
static |
This static method creates an appropriate sampler for reading the source field as cells of target are iterated at target_sample locations.
|
pure virtual |
|
protected |
Definition at line 64 of file SIM_FieldSampler.h.