HDK
|
#include <SIM_FieldSampler.h>
Protected Attributes | |
UT_UniquePtr < SIM_SFSImplementation > | mySampler |
This class is an efficient relative scalar field sampler. It samples the source field, given coordinates in index space of the target (or an iterator running over the target field).
Definition at line 95 of file SIM_FieldSampler.h.
|
inline |
Default constructor; init() method must be called before the sampler is usable.
Definition at line 100 of file SIM_FieldSampler.h.
|
inline |
These constructors also initialize the sampler for immediate use.
Definition at line 105 of file SIM_FieldSampler.h.
|
inline |
Definition at line 110 of file SIM_FieldSampler.h.
|
inline |
Definition at line 115 of file SIM_FieldSampler.h.
|
inline |
Definition at line 120 of file SIM_FieldSampler.h.
|
inline |
These constructors initialize the sampler for immediate use, when iterating over the target vector field with sampling given by target_sample.
Definition at line 128 of file SIM_FieldSampler.h.
|
inline |
Definition at line 134 of file SIM_FieldSampler.h.
|
inline |
The destructor.
Definition at line 142 of file SIM_FieldSampler.h.
|
inline |
Returns value of the source field at the given (exact) coordinates of the target field.
Definition at line 168 of file SIM_FieldSampler.h.
|
inline |
Returns value of the source field at the current voxel of the iterator.
Definition at line 174 of file SIM_FieldSampler.h.
|
inline |
Returns value of the source field at the given coordinates of the target field.
Definition at line 181 of file SIM_FieldSampler.h.
|
inline |
Returns value of the source field at the given coordinates of the target field.
Definition at line 188 of file SIM_FieldSampler.h.
|
inline |
Initialization routines that must be called before the sampler can be used. Note that constructors that accept field pointers call init() to ensure that the object is ready for use.
Definition at line 149 of file SIM_FieldSampler.h.
|
inline |
Definition at line 153 of file SIM_FieldSampler.h.
|
inline |
This version of initialization is for sampling source with respect to cells of target at locations given by target_sample.
Definition at line 159 of file SIM_FieldSampler.h.
|
inline |
Returns true if the source field is constant within the current tile of the target iterator. If it's constant, the constant value is stored in val. Note that this method doesn't exhaustively look into voxels, but only checks for compressed ones.
Definition at line 197 of file SIM_FieldSampler.h.
|
protected |
Definition at line 207 of file SIM_FieldSampler.h.