|
| | GEO_VolumeSampler () |
| |
| | GEO_VolumeSampler (const GEO_Primitive *prim) |
| |
| | GEO_VolumeSampler (const GEO_VolumeSampler &src) |
| |
| | ~GEO_VolumeSampler () |
| |
| GEO_VolumeSampler & | operator= (const GEO_VolumeSampler &src) |
| |
| bool | isBound () |
| |
| bool | storesIntegers () |
| |
| void | bindPrim (const GEO_Primitive *prim) |
| |
| int | getVectorSize () const |
| |
| void | indexToPos (int x, int y, int z, UT_Vector3 &pos) const |
| |
| void | findexToPos (UT_Vector3 index, UT_Vector3 &pos) const |
| |
| void | indexToPos (exint x, exint y, exint z, UT_Vector3D &pos) const |
| |
| void | findexToPos (UT_Vector3D index, UT_Vector3D &pos) const |
| |
| void | posToIndex (UT_Vector3 pos, int &x, int &y, int &z) const |
| | Convert a 3d position into the closest index value. More...
|
| |
| void | posToIndex (UT_Vector3 pos, UT_Vector3 &index) const |
| |
| void | posToIndex (UT_Vector3D pos, exint &x, exint &y, exint &z) const |
| |
| void | posToIndex (UT_Vector3D pos, UT_Vector3D &index) const |
| |
| GEO_PrimVolumeXform | getSpaceTransform () const |
| |
| GEO_PrimVolumeXform | getIndexSpaceTransform () const |
| |
| bool | isActive (const UT_Vector3 &pos) |
| |
| bool | isActiveAtIndex (int ix, int iy, int iz) |
| |
| fpreal | getValueF (const UT_Vector3 &pos) |
| |
| fpreal | getValueAtIndexF (int ix, int iy, int iz) |
| |
| fpreal | getConstantIndexRegionF (UT_BoundingBox &indexbox, bool *isconstant, bool *isactive) |
| |
| UT_Vector2D | getConstantIndexRegionV2 (UT_BoundingBox &indexbox, bool *isconstant, bool *isactive) |
| |
| UT_Vector3D | getConstantIndexRegionV3 (UT_BoundingBox &indexbox, bool *isconstant, bool *isactive) |
| |
| UT_Vector4D | getConstantIndexRegionV4 (UT_BoundingBox &indexbox, bool *isconstant, bool *isactive) |
| |
| exint | getConstantIndexRegionI (UT_BoundingBox &indexbox, bool *isconstant, bool *isactive) |
| |
| UT_Vector2D | getValueV2 (const UT_Vector3 &pos) |
| |
| UT_Vector2D | getValueAtIndexV2 (int ix, int iy, int iz) |
| |
| UT_Vector3D | getValueV3 (const UT_Vector3 &pos) |
| |
| UT_Vector3D | getValueAtIndexV3 (int ix, int iy, int iz) |
| |
| UT_Vector4D | getValueV4 (const UT_Vector3 &pos) |
| |
| UT_Vector4D | getValueAtIndexV4 (int ix, int iy, int iz) |
| |
| exint | getValueI (const UT_Vector3 &pos) |
| |
| exint | getValueAtIndexI (int ix, int iy, int iz) |
| |
| template<typename BASE > |
| BASE | getValueByType (const UT_Vector3 &pos) |
| |
| template<class T > |
| bool | getValues (const UT_BoundingBoxI &bbox, T *values, const exint size) |
| |
Definition at line 79 of file GEO_VolumeSampler.h.
| fpreal GEO_VolumeSampler::getConstantIndexRegionF |
( |
UT_BoundingBox & |
indexbox, |
|
|
bool * |
isconstant, |
|
|
bool * |
isactive |
|
) |
| |
Conservatively determines if a box [minvec, maxvec] in index space is constant or inactive. If there is doubt, it is reported as non-constant and active.
isconstant is true only if all voxels in the region have the same value isactive is false only if all the voxels in the region are inactive.
if isconstant is true, the returned value will the constant value.