#include <MRVolumeInterpolation.h>
Public Types | |
using | VolumeType = typename Accessor::VolumeType |
using | ValueType = typename Accessor::ValueType |
Public Member Functions | |
VoxelsVolumeInterpolatedAccessor (const VolumeType &volume, const Accessor &accessor) | |
VoxelsVolumeInterpolatedAccessor (const VoxelsVolumeInterpolatedAccessor &)=delete | |
delete copying constructor to avoid accidentally creating non-thread-safe accessors | |
VoxelsVolumeInterpolatedAccessor (const VoxelsVolumeInterpolatedAccessor &other, const Accessor &accessor) | |
a copying-like constructor with explicitly provided accessor | |
ValueType | get (const Vector3f &pos) const |
get value at specified coordinates | |
helper class for generalized access to voxel volume data with trilinear interpolation coordinate: 0 voxelSize | | I—*—I—*—I— | | | value: [0] [1] [2] ... note: this class is as thread-safe as the underlying Accessor e.g. VoxelsVolumeAccessor<VdbVolume> is not thread-safe (but several instances on same volume is thread-safe)
using MR::VoxelsVolumeInterpolatedAccessor< Accessor >::ValueType = typename Accessor::ValueType |
using MR::VoxelsVolumeInterpolatedAccessor< Accessor >::VolumeType = typename Accessor::VolumeType |
|
inlineexplicit |
create an accessor instance that stores references to volume and its accessor the volume should not modified while it is accessed by this class
|
delete |
delete copying constructor to avoid accidentally creating non-thread-safe accessors
|
inlineexplicit |
a copying-like constructor with explicitly provided accessor
|
inline |
get value at specified coordinates