![]() |
aimsdata
5.1.2
Neuroimaging data handling
|
#include <aims/resampling/linearInterpolator.h>
Public Member Functions | |
LinearInterpolator (const carto::VolumeRef< T > &image) | |
virtual | ~LinearInterpolator () |
bool | isValid (Coordinate_t x, Coordinate_t y, Coordinate_t z) const |
Return true if point ( x, y, z ) can be used for interpolation. More... | |
virtual const carto::PropertySet & | header () const |
Return the header of the image. More... | |
![]() | |
virtual | ~Interpolator () |
bool | isValid (const Interpolator::Point_t &point) const |
Return true if point can be used for interpolation. More... | |
Scalar_t | operator() (Coordinate_t x, Coordinate_t y, Coordinate_t z) const __attribute__((__deprecated__("use value() method instead"))) |
Scalar_t | operator() (const Interpolator::Point_t &point) const __attribute__((__deprecated__("use value() method instead"))) |
void | operator() (Coordinate_t x, Coordinate_t y, Coordinate_t z, std::vector< Scalar_t > &v) const __attribute__((__deprecated__("use values() method instead"))) |
void | operator() (const Interpolator::Point_t &point, std::vector< Scalar_t > &v) const __attribute__((__deprecated__("use values() method instead"))) |
Scalar_t | value (Coordinate_t x, Coordinate_t y, Coordinate_t z) const |
Interpolate to get a value from point ( x, y ,z ). More... | |
Scalar_t | value (const Interpolator::Point_t &point) const |
Interpolate to get a value from point. More... | |
void | values (Coordinate_t x, Coordinate_t y, Coordinate_t z, std::vector< Scalar_t > &v) const |
Interpolate to get a series of values from point ( x, y ,z ) More... | |
void | values (const Interpolator::Point_t &point, std::vector< Scalar_t > &v) const |
Interpolate to get a series of values from point ( x, y ,z ) More... | |
![]() | |
RCObject () | |
RCObject (const RCObject &) | |
RCObject & | operator= (const RCObject &) |
virtual | ~RCObject () |
Additional Inherited Members | |
![]() | |
typedef float | Coordinate_t |
typedef Point3df | Point_t |
typedef double | Scalar_t |
![]() | |
typedef int | RefCounterType |
Definition at line 160 of file linearInterpolator.h.
|
inline |
Definition at line 247 of file linearInterpolator.h.
References carto::PropertySet::getProperty(), carto::VolumeRef< class >::getSizeX(), carto::VolumeRef< class >::getSizeY(), carto::VolumeRef< class >::getSizeZ(), and carto::VolumeRef< class >::header().
|
inlinevirtual |
Definition at line 279 of file linearInterpolator.h.
|
inlinevirtual |
Return the header of the image.
Implements aims::Interpolator.
Definition at line 402 of file linearInterpolator.h.
|
inlinevirtual |
Return true if point ( x, y, z ) can be used for interpolation.
If interpolation is tried on an invalid point, it may crash the program.
Implements aims::Interpolator.
Definition at line 286 of file linearInterpolator.h.