ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage > Class Template Reference

Evaluates a SpatialFunction onto a source image. More...

#include <itkSpatialFunctionImageEvaluatorFilter.h>

Inheritance diagram for itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >:
Collaboration diagram for itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef TSpatialFunction FunctionType
typedef FunctionType::OutputType FunctionValueType
typedef TOutputImage::IndexType IndexType
typedef TOutputImage::RegionType OutputImageRegionType
typedef TOutputImage::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef FunctionType::InputType PositionType
typedef
SpatialFunctionImageEvaluatorFilter 
Self
typedef TInputImage::SizeType SizeType
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int NDimensions = TInputImage::ImageDimension

Protected Member Functions

void GenerateData ()

Private Member Functions

void operator= (const Self &)
 SpatialFunctionImageEvaluatorFilter (const Self &)

Private Attributes

FunctionTypem_PixelFunction
void SetFunction (FunctionType *PixelFunction)
 SpatialFunctionImageEvaluatorFilter ()
virtual ~SpatialFunctionImageEvaluatorFilter ()

Detailed Description

template<class TSpatialFunction, class TInputImage, class TOutputImage>
class itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >

Evaluates a SpatialFunction onto a source image.

SpatialFunctionImageEvaluatorFilter walks an input image and evaluates the function at every pixel location. The output of the spatial function and the pixel type of the output image must be compatible.

Like its parent ImageToImageFilter, this class functions in the filtering pipeline and produces a unique output image.

Definition at line 43 of file itkSpatialFunctionImageEvaluatorFilter.h.


Member Typedef Documentation

template<class TSpatialFunction , class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::ConstPointer
template<class TSpatialFunction , class TInputImage , class TOutputImage >
typedef TSpatialFunction itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::FunctionType

Type of function.

Definition at line 76 of file itkSpatialFunctionImageEvaluatorFilter.h.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
typedef FunctionType::OutputType itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::FunctionValueType

Return type of function.

Definition at line 79 of file itkSpatialFunctionImageEvaluatorFilter.h.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
typedef TOutputImage::IndexType itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::IndexType

Image index typedef.

Definition at line 67 of file itkSpatialFunctionImageEvaluatorFilter.h.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
typedef TOutputImage::RegionType itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::OutputImageRegionType

Typedef to describe the output image region type.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 73 of file itkSpatialFunctionImageEvaluatorFilter.h.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
typedef TOutputImage::PixelType itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::PixelType

Image pixel value typedef.

Definition at line 70 of file itkSpatialFunctionImageEvaluatorFilter.h.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::Pointer
template<class TSpatialFunction , class TInputImage , class TOutputImage >
typedef FunctionType::InputType itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::PositionType

Typedef describing vector info.

Definition at line 82 of file itkSpatialFunctionImageEvaluatorFilter.h.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
typedef SpatialFunctionImageEvaluatorFilter itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::Self

Standard class typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 48 of file itkSpatialFunctionImageEvaluatorFilter.h.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
typedef TInputImage::SizeType itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::SizeType

Image size typedef.

Definition at line 64 of file itkSpatialFunctionImageEvaluatorFilter.h.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TSpatialFunction , class TInputImage , class TOutputImage >
itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::SpatialFunctionImageEvaluatorFilter ( ) [protected]

Set the internal spatial function.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
virtual itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::~SpatialFunctionImageEvaluatorFilter ( ) [inline, protected, virtual]

Set the internal spatial function.

Definition at line 89 of file itkSpatialFunctionImageEvaluatorFilter.h.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::SpatialFunctionImageEvaluatorFilter ( const Self ) [private]

Member Function Documentation

template<class TSpatialFunction , class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
void itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::GenerateData ( ) [protected, virtual]

Method for evaluating the implicit function over the image.

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
virtual const char* itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
static Pointer itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
void itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
void itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::SetFunction ( FunctionType PixelFunction) [inline]

Set the internal spatial function.

Definition at line 85 of file itkSpatialFunctionImageEvaluatorFilter.h.


Member Data Documentation

template<class TSpatialFunction , class TInputImage , class TOutputImage >
FunctionType* itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::m_PixelFunction [private]

The function that will be evaluated over the image

Definition at line 100 of file itkSpatialFunctionImageEvaluatorFilter.h.

template<class TSpatialFunction , class TInputImage , class TOutputImage >
const unsigned int itk::SpatialFunctionImageEvaluatorFilter< TSpatialFunction, TInputImage, TOutputImage >::NDimensions = TInputImage::ImageDimension [static]

Number of dimensions.

Definition at line 61 of file itkSpatialFunctionImageEvaluatorFilter.h.


The documentation for this class was generated from the following file: