HDK
|
#include <UT_VoxelArray.h>
Public Member Functions | |
UT_VoxelVectorProbe () | |
UT_VoxelVectorProbe (UT_VoxelArray< T > *vx, UT_VoxelArray< T > *vy, UT_VoxelArray< T > *vz) | |
~UT_VoxelVectorProbe () | |
void | setArray (UT_VoxelArray< T > *vx, UT_VoxelArray< T > *vy, UT_VoxelArray< T > *vz) |
void | setConstArray (const UT_VoxelArray< T > *vx, const UT_VoxelArray< T > *vy, const UT_VoxelArray< T > *vz) |
UT_Vector3 | getValue () const |
T | getValue (int axis) const |
void | setValue (const UT_Vector3 &v) |
void | setComponent (int axis, T val) |
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) |
void | advanceX () |
Protected Attributes | |
UT_VoxelProbe< T, DoRead, DoWrite, TestForWrites > | myLines [3] |
The vector probe is three normal probes into separate voxel arrays making it easier to read and write to aligned vector fields. If the vector field is face-centered, see the UT_VoxelProbeFace.
Definition at line 2323 of file UT_VoxelArray.h.
|
inline |
Definition at line 2326 of file UT_VoxelArray.h.
|
inline |
Definition at line 2328 of file UT_VoxelArray.h.
|
inline |
Definition at line 2330 of file UT_VoxelArray.h.
|
inline |
Definition at line 2390 of file UT_VoxelArray.h.
|
inline |
Definition at line 2345 of file UT_VoxelArray.h.
|
inline |
Definition at line 2349 of file UT_VoxelArray.h.
|
inline |
Definition at line 2333 of file UT_VoxelArray.h.
|
inline |
Definition at line 2361 of file UT_VoxelArray.h.
|
inline |
Definition at line 2339 of file UT_VoxelArray.h.
|
inline |
Resets where we currently point to. Returns true if we had to reset our cache line. If we didn't, and you have multiple probes acting in-step, you can just advanceX() the other probes
Definition at line 2371 of file UT_VoxelArray.h.
|
inline |
Definition at line 2374 of file UT_VoxelArray.h.
|
inline |
Definition at line 2377 of file UT_VoxelArray.h.
|
inline |
Definition at line 2354 of file UT_VoxelArray.h.
|
protected |
Definition at line 2394 of file UT_VoxelArray.h.