#include <itkSpatialFunction.h>
Inheritance diagram for itk::SpatialFunction:
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 Methods | |
virtual const char * | GetClassName () const |
virtual OutputType | Evaluate (const InputType &input) const=0 |
Protected Methods | |
SpatialFunction () | |
virtual | ~SpatialFunction () |
void | PrintSelf (std::ostream &os, Indent indent) const |
itk::SpatialFunction provides the ability to define functions that can be evluated 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::FrustumSpatialFunction< VImageDimension, TInput >, itk::InteriorExteriorSpatialFunction< VDimension, TInput >, itk::SphereSpatialFunction< VImageDimension, TInput >, itk::SymmetricEllipsoidInteriorExteriorSpatialFunction< VDimension, TInput >, itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >, and itk::InteriorExteriorSpatialFunction< VImageDimension, TInput >. |
|
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::Object. Reimplemented in itk::ConicShellInteriorExteriorSpatialFunction< VDimension, TInput >, itk::EllipsoidInteriorExteriorSpatialFunction< VDimension, TInput >, itk::FrustumSpatialFunction< VImageDimension, TInput >, itk::GaussianSpatialFunction< TOutput, VImageDimension, TInput >, itk::InteriorExteriorSpatialFunction< VDimension, TInput >, itk::SphereSpatialFunction< VImageDimension, TInput >, itk::SymmetricEllipsoidInteriorExteriorSpatialFunction< VDimension, TInput >, itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >, and itk::InteriorExteriorSpatialFunction< VImageDimension, TInput >. |