#include <itkSpatialFunction.h>
Inheritance diagram for itk::SpatialFunction< TOutput, VImageDimension, TInput >:
Public Types | |
typedef SpatialFunction | Self |
typedef FunctionBase< TInput, TOutput > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputType | InputType |
typedef Superclass::OutputType | OutputType |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual OutputType | Evaluate (const InputType &input) const =0 |
Protected Member Functions | |
SpatialFunction () | |
virtual | ~SpatialFunction () |
void | PrintSelf (std::ostream &os, Indent indent) const |
itk::SpatialFunction provides the ability to define functions that can be evaluated at an arbitrary point in space (physical or otherwise). The return type is specified by the derived class, and the input to the function is an n-dimensional itk::Point.
Although itk::ImageFunction and itk::SpatialFunction are quite similar, itk::SpatialFunction derived classes exist without reference to an Image type.
SpatialFunction is templated over output type (the data type returned by an evaluate() call) and dimensionality.
Definition at line 46 of file itkSpatialFunction.h.
|
|
|
|
|
|
|
|
|
|
|
Evaluate the function at a given position. Remember, position is represented by an n-d itk::Point object with data type double. Implements itk::FunctionBase< TInput, TOutput >.
Implemented in itk::ConicShellInteriorExteriorSpatialFunction< VDimension, TInput >, itk::EllipsoidInteriorExteriorSpatialFunction< VDimension, TInput >, itk::FiniteCylinderSpatialFunction< VDimension, TInput >, itk::FrustumSpatialFunction< VImageDimension, TInput >, itk::InteriorExteriorSpatialFunction< VDimension, TInput >, itk::SphereSpatialFunction< VImageDimension, TInput >, itk::SymmetricEllipsoidInteriorExteriorSpatialFunction< VDimension, TInput >, itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >, and itk::InteriorExteriorSpatialFunction< VImageDimension, TInput >.
|
|
|