A.I.M.S


aims::LinearInterpolator< T > Class Template Reference

#include <aims/resampling/linearInterpolator.h>

Inheritance diagram for aims::LinearInterpolator< T >:
Collaboration diagram for aims::LinearInterpolator< T >:

Public Member Functions

 LinearInterpolator (const AimsData< 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::PropertySetheader () const
 Return the header of the image. More...
 
- Public Member Functions inherited from aims::Interpolator
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...
 

Additional Inherited Members

- Public Types inherited from aims::Interpolator
typedef float Coordinate_t
 
typedef Point3df Point_t
 
typedef double Scalar_t
 

Detailed Description

template<typename T>
class aims::LinearInterpolator< T >

Definition at line 159 of file linearInterpolator.h.

Constructor & Destructor Documentation

template<typename T >
aims::LinearInterpolator< T >::LinearInterpolator ( const AimsData< T > &  image)
inline

Definition at line 236 of file linearInterpolator.h.

template<typename T >
aims::LinearInterpolator< T >::~LinearInterpolator ( )
inlinevirtual

Definition at line 255 of file linearInterpolator.h.

Member Function Documentation

template<typename T >
const carto::PropertySet & aims::LinearInterpolator< T >::header ( ) const
inlinevirtual

Return the header of the image.

Implements aims::Interpolator.

Definition at line 366 of file linearInterpolator.h.

template<typename T >
bool aims::LinearInterpolator< T >::isValid ( Coordinate_t  x,
Coordinate_t  y,
Coordinate_t  z 
) const
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 262 of file linearInterpolator.h.


The documentation for this class was generated from the following file: