NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions > Class Template Reference

This class takes a vector image as input, and outputs a vector image, where the vector data value at each voxel is equal to the millimetre or voxel position of that voxel. More...

Inheritance diagram for itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >:
Inheritance graph
[legend]
Collaboration diagram for itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >:
Collaboration graph
[legend]

Public Types

typedef
SetOutputVectorToCurrentPositionFilter 
Self
 
typedef InPlaceImageFilter
< Image< Vector< TScalarType,
NDimensions >, NDimensions >
, Image< Vector< TScalarType,
NDimensions >, NDimensions > > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Vector< TScalarType,
NDimensions > 
InputPixelType
 
typedef Image< InputPixelType,
NDimensions > 
InputImageType
 
typedef InputImageType::IndexType InputImageIndexType
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef InputPixelType OutputPixelType
 
typedef InputImageType OutputImageType
 
typedef OutputImageType::PointType OutputImagePointType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (Dimension, unsigned int, NDimensions)
 
virtual void SetOutputIsInMillimetres (bool _arg)
 
virtual bool GetOutputIsInMillimetres ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 SetOutputVectorToCurrentPositionFilter ()
 
 ~SetOutputVectorToCurrentPositionFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void BeforeThreadedGenerateData ()
 
virtual void ThreadedGenerateData (const InputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 

Detailed Description

template<typename TScalarType, unsigned int NDimensions = 3>
class itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >

This class takes a vector image as input, and outputs a vector image, where the vector data value at each voxel is equal to the millimetre or voxel position of that voxel.

This class is also subclassing InPlaceImageFilter meaning that the input buffer and output buffer can be the same. If you are using this filter in place, you run the filter, then us the output pointer, not the input pointer.

Member Typedef Documentation

template<typename TScalarType , unsigned int NDimensions = 3>
typedef SmartPointer<const Self> itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::ConstPointer
template<typename TScalarType , unsigned int NDimensions = 3>
typedef InputImageType::IndexType itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::InputImageIndexType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef InputImageType::RegionType itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::InputImageRegionType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef Image< InputPixelType, NDimensions > itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::InputImageType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef Vector< TScalarType, NDimensions > itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::InputPixelType

Standard typedefs.

template<typename TScalarType , unsigned int NDimensions = 3>
typedef OutputImageType::PointType itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::OutputImagePointType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef InputImageType itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::OutputImageType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef InputPixelType itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::OutputPixelType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef SmartPointer<Self> itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::Pointer
template<typename TScalarType , unsigned int NDimensions = 3>
typedef SetOutputVectorToCurrentPositionFilter itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::Self

Standard "Self" typedef.

template<typename TScalarType , unsigned int NDimensions = 3>
typedef InPlaceImageFilter<Image< Vector<TScalarType, NDimensions>, NDimensions>, Image< Vector<TScalarType, NDimensions>, NDimensions> > itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::Superclass

Constructor & Destructor Documentation

template<typename TScalarType , unsigned int NDimensions = 3>
itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::SetOutputVectorToCurrentPositionFilter ( )
protected
template<typename TScalarType , unsigned int NDimensions = 3>
itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::~SetOutputVectorToCurrentPositionFilter ( )
inlineprotected

Member Function Documentation

template<typename TScalarType , unsigned int NDimensions = 3>
virtual void itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::BeforeThreadedGenerateData ( )
protectedvirtual
template<typename TScalarType , unsigned int NDimensions = 3>
virtual const char* itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

template<typename TScalarType , unsigned int NDimensions = 3>
virtual bool itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::GetOutputIsInMillimetres ( )
virtual
template<typename TScalarType , unsigned int NDimensions = 3>
itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::itkStaticConstMacro ( Dimension  ,
unsigned  int,
NDimensions   
)

Get the number of dimensions we are working in.

template<typename TScalarType , unsigned int NDimensions = 3>
static Pointer itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::New ( )
static

Method for creation through the object factory.

template<typename TScalarType , unsigned int NDimensions = 3>
void itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<typename TScalarType , unsigned int NDimensions = 3>
virtual void itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::SetOutputIsInMillimetres ( bool  _arg)
virtual

Set/Get a flag controlling output, if true, output is millimetre coordinates, if false, output is in voxels.

template<typename TScalarType , unsigned int NDimensions = 3>
virtual void itk::SetOutputVectorToCurrentPositionFilter< TScalarType, NDimensions >::ThreadedGenerateData ( const InputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protectedvirtual

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