|
last update 20 Sep 2009 |
|
#include <cvrGenericInterpolation.h>


Public Member Functions | |
| parameters () | |
| parameters (const eBoundaryType btype) | |
| parameters (const parameters &other) | |
| ~parameters () | |
| parameters & | copy (const parameters &other) |
| parameters & | operator= (const parameters &other) |
| virtual const std::string & | name () const |
| virtual parameters * | clone () const |
| virtual parameters * | newInstance () const |
| virtual bool | write (ioHandler &handler, const bool complete=true) const |
| virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
| eInterpolationKernelType | kernelType |
| int | numSamplesPerInterval |
| fvector | kernelLUT |
| cvr::genericInterpolation< T >::genericInterpolation::parameters::parameters | ( | ) |
default constructor
Reimplemented from cvr::fixedGridInterpolation< T >::fixedGridInterpolation::parameters.
| cvr::genericInterpolation< T >::genericInterpolation::parameters::parameters | ( | const eBoundaryType | btype | ) |
Constructor to set explicitly the desired boundaryType.
Reimplemented from cvr::fixedGridInterpolation< T >::fixedGridInterpolation::parameters.
| cvr::genericInterpolation< T >::genericInterpolation::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
| other | the parameters object to be copied |
Reimplemented from cvr::fixedGridInterpolation< T >::fixedGridInterpolation::parameters.
| cvr::genericInterpolation< T >::genericInterpolation::parameters::~parameters | ( | ) | [virtual] |
| virtual parameters* cvr::genericInterpolation< T >::genericInterpolation::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from cvr::fixedGridInterpolation< T >::fixedGridInterpolation::parameters.
| parameters& cvr::genericInterpolation< T >::genericInterpolation::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
| other | the parameters object to be copied |
Reimplemented from cvr::fixedGridInterpolation< T >::fixedGridInterpolation::parameters.
| virtual const std::string& cvr::genericInterpolation< T >::genericInterpolation::parameters::name | ( | ) | const [virtual] |
Returns the name of this type.
Reimplemented from cvr::fixedGridInterpolation< T >::fixedGridInterpolation::parameters.
| virtual parameters* cvr::genericInterpolation< T >::genericInterpolation::parameters::newInstance | ( | ) | const [virtual] |
returns a pointer to a new instance of the parameters
Reimplemented from cvr::fixedGridInterpolation< T >::fixedGridInterpolation::parameters.
| parameters& cvr::genericInterpolation< T >::genericInterpolation::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
| other | the parameters object to be copied |
Reimplemented from cvr::fixedGridInterpolation< T >::fixedGridInterpolation::parameters.
| virtual bool cvr::genericInterpolation< T >::genericInterpolation::parameters::read | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | [virtual] |
read the parameters from the given ioHandler
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from cvr::fixedGridInterpolation< T >::fixedGridInterpolation::parameters.
| virtual bool cvr::genericInterpolation< T >::genericInterpolation::parameters::write | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | const [virtual] |
write the parameters in the given ioHandler
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from cvr::fixedGridInterpolation< T >::fixedGridInterpolation::parameters.
| fvector cvr::genericInterpolation< T >::genericInterpolation::parameters::kernelLUT |
Generic interpolation kernel.
If the kernelType is GenericKernel then this kernel LUT will be used. To be a valid kernel, this vector must have a size n times numSamplesPerInterval, with n even. If the validity of the kernel LUT cannot be confirmed, a Bilinear Kernel will be used instead, but setParameters will return false.
Default value: empty kernel
| eInterpolationKernelType cvr::genericInterpolation< T >::genericInterpolation::parameters::kernelType |
Interpolation type to be used.
Default: Bicubic
| int cvr::genericInterpolation< T >::genericInterpolation::parameters::numSamplesPerInterval |
Number of samples in the interpolation table for a unit interval.
The total number of elements in the LUT will be this value multiplied by the number of unit intervals of the interpolation kernel.
Default value: 256