![]() |
ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkSpatialFunction.h>
N-dimensional spatial function class.
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 47 of file itkSpatialFunction.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputType | InputType |
typedef Superclass::OutputType | OutputType |
typedef SmartPointer< Self > | Pointer |
typedef SpatialFunction | Self |
typedef FunctionBase< TInput, TOutput > | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInput | InputType |
typedef TOutput | OutputType |
typedef SmartPointer< Self > | Pointer |
typedef FunctionBase | Self |
typedef Object | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual OutputType | Evaluate (const InputType &input) const override=0 |
virtual const char * | GetNameOfClass () const |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Attributes | |
static const unsigned int | ImageDimension = VImageDimension |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
SpatialFunction () | |
virtual | ~SpatialFunction () override |
![]() | |
FunctionBase () | |
~FunctionBase () override | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () override |
![]() | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Additional Inherited Members | |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
![]() | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::SpatialFunction< TOutput, VImageDimension, TInput >::ConstPointer |
Definition at line 54 of file itkSpatialFunction.h.
typedef Superclass::InputType itk::SpatialFunction< TOutput, VImageDimension, TInput >::InputType |
Input type for the function.
Definition at line 57 of file itkSpatialFunction.h.
typedef Superclass::OutputType itk::SpatialFunction< TOutput, VImageDimension, TInput >::OutputType |
Output type for the function.
Definition at line 63 of file itkSpatialFunction.h.
typedef SmartPointer< Self > itk::SpatialFunction< TOutput, VImageDimension, TInput >::Pointer |
Definition at line 53 of file itkSpatialFunction.h.
typedef SpatialFunction itk::SpatialFunction< TOutput, VImageDimension, TInput >::Self |
Standard class typedefs.
Definition at line 51 of file itkSpatialFunction.h.
typedef FunctionBase< TInput, TOutput > itk::SpatialFunction< TOutput, VImageDimension, TInput >::Superclass |
Definition at line 52 of file itkSpatialFunction.h.
|
protected |
|
overrideprotectedvirtual |
|
overridepure virtual |
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::BinaryThresholdSpatialFunction< TFunction >, itk::GaussianDerivativeSpatialFunction< TOutput, VImageDimension, TInput >, itk::InteriorExteriorSpatialFunction< VImageDimension, TInput >, and itk::GaussianSpatialFunction< TOutput, VImageDimension, TInput >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::FunctionBase< TInput, TOutput >.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, itk::ConicShellInteriorExteriorSpatialFunction< VDimension, TInput >, itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >, itk::InteriorExteriorSpatialFunction< VDimension, TInput >, itk::InteriorExteriorSpatialFunction< VImageDimension, TInput >, itk::BinaryThresholdSpatialFunction< TFunction >, itk::GaussianSpatialFunction< TOutput, VImageDimension, TInput >, itk::GaussianDerivativeSpatialFunction< TOutput, VImageDimension, TInput >, itk::SymmetricEllipsoidInteriorExteriorSpatialFunction< VDimension, TInput >, itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >, itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >, itk::EllipsoidInteriorExteriorSpatialFunction< VDimension, TInput >, itk::FiniteCylinderSpatialFunction< VDimension, TInput >, itk::FrustumSpatialFunction< VDimension, TInput >, and itk::SphereSpatialFunction< VImageDimension, TInput >.
|
overrideprotectedvirtual |
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.
|
static |
Spatial dimension.
Definition at line 66 of file itkSpatialFunction.h.