#include <irtkImageFunction.h>
This is the abstract base class which defines a common interface for all filters which take an image as input and sample that image at arbitrary location. Each derived class has to implement all abstract member functions.
Definition at line 25 of file irtkImageFunction.h.
Public Member Functions | |
irtkImageFunction () | |
Constructor. | |
virtual | ~irtkImageFunction () |
Deconstuctor. | |
virtual void | SetInput (irtkImage *) |
Set input image for filter. | |
virtual void | Initialize () |
Initialize the filter. | |
virtual double | Evaluate (double, double, double, double=0)=0 |
Evaluate the filter at an arbitrary image location (in pixels). | |
virtual const char * | NameOfClass ()=0 |
Returns the name of the class. | |
SetMacro (DebugFlag, Bool) | |
Set debugging flag. | |
GetMacro (DebugFlag, Bool) | |
Get debugging flag. | |
virtual void | Debug (const char *) |
Print debugging messages if debugging is enabled. | |
Protected Attributes | |
irtkImage * | _input |
Input image for filter. | |
double | _DefaultValue |
Default value to return. |
virtual void irtkImageFunction::Initialize | ( | ) | [virtual] |
Initialize the filter.
This function must be called by any derived filter class to perform some initialize tasks.
Reimplemented in irtkBSplineInterpolateImageFunction, irtkBSplineInterpolateImageFunction2D, irtkCSplineInterpolateImageFunction, irtkCSplineInterpolateImageFunction2D, irtkGaussianInterpolateImageFunction, irtkGaussianInterpolateImageFunction2D, irtkInterpolateImageFunction, irtkLinearInterpolateImageFunction, irtkLinearInterpolateImageFunction2D, irtkNearestNeighborInterpolateImageFunction, irtkNearestNeighborInterpolateImageFunction2D, irtkSincInterpolateImageFunction, and irtkSincInterpolateImageFunction2D.