HDK
|
#include <UT_VoxelArray.h>
Public Member Functions | |
UT_VoxelProbeAverage () | |
~UT_VoxelProbeAverage () | |
void | setArray (const UT_VoxelArray< T > *vox) |
template<typename S > | |
bool | setIndex (UT_VoxelArrayIterator< S > &vit) |
template<typename S > | |
bool | setIndex (UT_VoxelTileIterator< S > &vit) |
bool | setIndex (int x, int y, int z) |
T | getValue () const |
Protected Member Functions | |
T | valueZ (int z) const |
T | valueYZ (int y, int z) const |
Protected Attributes | |
UT_VoxelProbe< T, true, false, false > | myLines [2][2] |
When working with MAC grids one often has slightly misalgined fields. Ie, one field is at the half-grid spacing of another field. The step values are 0 if the dimension is algined, -1 for half a step back (ie, (val(-1)+val(0))/2) and 1 for half a step forward (ie, (val(0)+val(1))/2)
Definition at line 2516 of file UT_VoxelArray.h.
|
inline |
Definition at line 2520 of file UT_VoxelArray.h.
|
inline |
Definition at line 2521 of file UT_VoxelArray.h.
|
inline |
Returns the velocity centered at this index, thus an average of the values in each of our internal probes.
Definition at line 2535 of file UT_VoxelArray.h.
void UT_VoxelProbeAverage< T, XStep, YStep, ZStep >::setArray | ( | const UT_VoxelArray< T > * | vox | ) |
VoxelProbeAverage methods
Definition at line 9077 of file UT_VoxelArray.C.
|
inline |
Definition at line 2526 of file UT_VoxelArray.h.
|
inline |
Definition at line 2529 of file UT_VoxelArray.h.
bool UT_VoxelProbeAverage< T, XStep, YStep, ZStep >::setIndex | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 9097 of file UT_VoxelArray.C.
|
inlineprotected |
Definition at line 2550 of file UT_VoxelArray.h.
|
inlineprotected |
Definition at line 2543 of file UT_VoxelArray.h.
|
protected |
Definition at line 2560 of file UT_VoxelArray.h.