iRoCS Toolbox
1.1.0
|
The InterpolatorFactory class contains a factory method for creating a new Interpolator object using the given InterpolationType and BoundaryTreatmentType with corresponding default boundary value. More...
#include "libArrayToolbox/Interpolator.hh"
Static Public Member Functions | |
static Interpolator< DataT, Dim > * | get (InterpolationType ipType, BoundaryTreatmentType btType=ValueBT, DataT const &boundaryValue=traits< DataT >::zero) |
Get e new Interpolator object corresponding to the given InterpolationType enumeration value with specified boundary treatment. More... | |
The InterpolatorFactory class contains a factory method for creating a new Interpolator object using the given InterpolationType and BoundaryTreatmentType with corresponding default boundary value.
Definition at line 778 of file Interpolator.hh.
|
static |
Get e new Interpolator object corresponding to the given InterpolationType enumeration value with specified boundary treatment.
Ownership of the returned pointer is passed to the caller, who then is responsible for cleaning up the object using delete
when the Interpolator object is not needed any more.
ipType | The type of the interpolator |
btType | The type of the boundary treatment |
boundaryValue | If btType == Value this value is returned when trying to access out-of-Array positions |
RuntimeError | If no Interpolator object could be created this exception is thrown |