go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Data Structures | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
itk::NDImageTemplate< TPixel, VDimension > Class Template Reference

#include <itkNDImageTemplate.h>

Inheritance diagram for itk::NDImageTemplate< TPixel, VDimension >:
Inheritance graph
[legend]
Collaboration diagram for itk::NDImageTemplate< TPixel, VDimension >:
Collaboration graph
[legend]

Data Structures

class  ConvertToDynamicArray
class  ConvertToStaticArray

Public Types

typedef Superclass::AccessorType AccessorType
typedef SmartPointer< const SelfConstPointer
typedef
Superclass::DataObjectPointer 
DataObjectPointer
typedef Superclass::DataObjectType DataObjectType
typedef ImageType::Pointer ImagePointer
typedef Image< TPixel, VDimension > ImageType
typedef Superclass::IndexType IndexType
typedef ImageType::IndexType IndexTypeD
typedef Superclass::IndexValueType IndexValueType
typedef
Superclass::InternalPixelType 
InternalPixelType
typedef Superclass::OffsetType OffsetType
typedef ImageType::OffsetType OffsetTypeD
typedef Superclass::OffsetValueType OffsetValueType
typedef Superclass::PixelContainer PixelContainer
typedef
Superclass::PixelContainerConstPointer 
PixelContainerConstPointer
typedef
Superclass::PixelContainerPointer 
PixelContainerPointer
typedef Superclass::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef Superclass::PointType PointType
typedef ImageType::PointType PointTypeD
typedef Superclass::PointValueType PointValueType
typedef ReaderType::Pointer ReaderPointer
typedef ImageFileReader
< ImageType
ReaderType
typedef NDImageTemplate Self
typedef Superclass::SizeType SizeType
typedef ImageType::SizeType SizeTypeD
typedef Superclass::SizeValueType SizeValueType
typedef Superclass::SpacingType SpacingType
typedef ImageType::SpacingType SpacingTypeD
typedef
Superclass::SpacingValueType 
SpacingValueType
typedef NDImageBase< TPixel > Superclass
typedef Superclass::ValueType ValueType
typedef WriterType::Pointer WriterPointer
typedef ImageFileWriter
< ImageType
WriterType

Public Member Functions

virtual void Allocate (void)
virtual IndexType ComputeIndex (OffsetValueType offset) const
virtual OffsetValueType ComputeOffset (const IndexType &ind) const
virtual void CopyInformation (const DataObject *data)
virtual void CreateNewImage (void)
virtual void FillBuffer (const TPixel &value)
virtual TPixel * GetBufferPointer ()
virtual const TPixel * GetBufferPointer () const
virtual const char * GetClassName () const
virtual DataObject * GetImage ()
virtual unsigned int GetImageDimension (void)
virtual ImageIOBaseGetImageIOReader (void)
virtual ImageIOBaseGetImageIOWriter (void)
virtual const char * GetInputFileName (void)
virtual const OffsetValueTypeGetOffsetTable () const
virtual PointType GetOrigin (void)
virtual const char * GetOutputFileName (void)
virtual const TPixel & GetPixel (const IndexType &index) const
virtual TPixel & GetPixel (const IndexType &index)
virtual AccessorType GetPixelAccessor (void)
virtual const AccessorType GetPixelAccessor (void) const
virtual PixelContainerGetPixelContainer ()
virtual const PixelContainerGetPixelContainer () const
virtual ProcessObject * GetReader ()
virtual SpacingType GetSpacing (void)
virtual ProcessObject * GetWriter ()
virtual unsigned int ImageDimension (void)
virtual void Initialize (void)
 itkStaticConstMacro (Dimension, unsigned int, VDimension)
virtual void Read (void)
virtual void SetImageIOReader (ImageIOBase *_arg)
virtual void SetImageIOWriter (ImageIOBase *_arg)
virtual void SetInputFileName (const char *name)
virtual void SetOrigin (const PointType &origin)
virtual void SetOutputFileName (const char *name)
virtual void SetPixel (const IndexType &index, const TPixel &value)
virtual void SetPixelContainer (PixelContainer *container)
virtual void SetRegions (SizeType size)
virtual void SetRequestedRegion (DataObject *data)
virtual void SetSpacing (const SpacingType &spacing)
virtual void Write (void)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 NDImageTemplate ()
virtual ~NDImageTemplate ()

Protected Attributes

ImagePointer m_Image
ReaderPointer m_Reader
WriterPointer m_Writer

Private Member Functions

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

Detailed Description

template<class TPixel, unsigned int VDimension>
class itk::NDImageTemplate< TPixel, VDimension >

This class is a specialization of the NDImageBase, which acts as a wrap around an itk::Image.

The NDImageTemplate class is a kind of wrap around the itk::Image. It has an itk::Image object as an internal member variable. Most functions simply call the the corresponding function in the itk::Object. For some functions, the in/output arguments have to be converted from/to arrays with runtime length to/from arrays with compile time length.

See also:
NDImageBase

Definition at line 43 of file itkNDImageTemplate.h.


Member Typedef Documentation

template<class TPixel , unsigned int VDimension>
typedef Superclass::AccessorType itk::NDImageTemplate< TPixel, VDimension >::AccessorType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 72 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef SmartPointer<const Self> itk::NDImageTemplate< TPixel, VDimension >::ConstPointer

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 51 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::DataObjectPointer itk::NDImageTemplate< TPixel, VDimension >::DataObjectPointer

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 66 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::DataObjectType itk::NDImageTemplate< TPixel, VDimension >::DataObjectType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 65 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::Pointer itk::NDImageTemplate< TPixel, VDimension >::ImagePointer

Definition at line 92 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Image<TPixel, VDimension> itk::NDImageTemplate< TPixel, VDimension >::ImageType

Typedefs dependent on the dimension

Definition at line 91 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::IndexType itk::NDImageTemplate< TPixel, VDimension >::IndexType

ND versions of the index and sizetypes etc.

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 84 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::IndexType itk::NDImageTemplate< TPixel, VDimension >::IndexTypeD

Original, itk, versions of the index and sizetypes etc.

Definition at line 99 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::IndexValueType itk::NDImageTemplate< TPixel, VDimension >::IndexValueType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 79 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::InternalPixelType itk::NDImageTemplate< TPixel, VDimension >::InternalPixelType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 71 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::OffsetType itk::NDImageTemplate< TPixel, VDimension >::OffsetType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 88 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::OffsetType itk::NDImageTemplate< TPixel, VDimension >::OffsetTypeD

Definition at line 103 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::OffsetValueType itk::NDImageTemplate< TPixel, VDimension >::OffsetValueType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 81 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PixelContainer itk::NDImageTemplate< TPixel, VDimension >::PixelContainer

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 73 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PixelContainerConstPointer itk::NDImageTemplate< TPixel, VDimension >::PixelContainerConstPointer

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 75 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PixelContainerPointer itk::NDImageTemplate< TPixel, VDimension >::PixelContainerPointer

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 74 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PixelType itk::NDImageTemplate< TPixel, VDimension >::PixelType

Type definitions like normal itkImages, independent of the dimension

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 69 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef SmartPointer<Self> itk::NDImageTemplate< TPixel, VDimension >::Pointer

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 50 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PointType itk::NDImageTemplate< TPixel, VDimension >::PointType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 87 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::PointType itk::NDImageTemplate< TPixel, VDimension >::PointTypeD

Definition at line 102 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PointValueType itk::NDImageTemplate< TPixel, VDimension >::PointValueType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 78 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ReaderType::Pointer itk::NDImageTemplate< TPixel, VDimension >::ReaderPointer

Definition at line 96 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageFileReader<ImageType> itk::NDImageTemplate< TPixel, VDimension >::ReaderType

Definition at line 95 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef NDImageTemplate itk::NDImageTemplate< TPixel, VDimension >::Self

Standard class typedefs.

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 48 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::SizeType itk::NDImageTemplate< TPixel, VDimension >::SizeType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 85 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::SizeType itk::NDImageTemplate< TPixel, VDimension >::SizeTypeD

Definition at line 100 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::SizeValueType itk::NDImageTemplate< TPixel, VDimension >::SizeValueType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 80 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::SpacingType itk::NDImageTemplate< TPixel, VDimension >::SpacingType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 86 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::SpacingType itk::NDImageTemplate< TPixel, VDimension >::SpacingTypeD

Definition at line 101 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::SpacingValueType itk::NDImageTemplate< TPixel, VDimension >::SpacingValueType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 77 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef NDImageBase<TPixel> itk::NDImageTemplate< TPixel, VDimension >::Superclass

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 49 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::ValueType itk::NDImageTemplate< TPixel, VDimension >::ValueType

Reimplemented from itk::NDImageBase< TPixel >.

Definition at line 70 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef WriterType::Pointer itk::NDImageTemplate< TPixel, VDimension >::WriterPointer

Definition at line 94 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageFileWriter<ImageType> itk::NDImageTemplate< TPixel, VDimension >::WriterType

Definition at line 93 of file itkNDImageTemplate.h.


Constructor & Destructor Documentation

template<class TPixel , unsigned int VDimension>
itk::NDImageTemplate< TPixel, VDimension >::NDImageTemplate ( ) [protected]
template<class TPixel , unsigned int VDimension>
virtual itk::NDImageTemplate< TPixel, VDimension >::~NDImageTemplate ( ) [inline, protected, virtual]

Definition at line 173 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
itk::NDImageTemplate< TPixel, VDimension >::NDImageTemplate ( const Self ) [private]

Member Function Documentation

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::Allocate ( void  ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual IndexType itk::NDImageTemplate< TPixel, VDimension >::ComputeIndex ( OffsetValueType  offset) const [virtual]
template<class TPixel , unsigned int VDimension>
virtual OffsetValueType itk::NDImageTemplate< TPixel, VDimension >::ComputeOffset ( const IndexType ind) const [virtual]
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::CopyInformation ( const DataObject *  data) [virtual]
Todo:
Transform IndexToPoint methods.

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::CreateNewImage ( void  ) [virtual]

Use New method to create a new actual image

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::FillBuffer ( const TPixel &  value) [virtual]
template<class TPixel , unsigned int VDimension>
virtual TPixel* itk::NDImageTemplate< TPixel, VDimension >::GetBufferPointer ( ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual const TPixel* itk::NDImageTemplate< TPixel, VDimension >::GetBufferPointer ( ) const [virtual]
template<class TPixel , unsigned int VDimension>
virtual const char* itk::NDImageTemplate< TPixel, VDimension >::GetClassName ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual DataObject* itk::NDImageTemplate< TPixel, VDimension >::GetImage ( ) [virtual]

Get the actual image

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual unsigned int itk::NDImageTemplate< TPixel, VDimension >::GetImageDimension ( void  ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual ImageIOBase* itk::NDImageTemplate< TPixel, VDimension >::GetImageIOReader ( void  ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual ImageIOBase* itk::NDImageTemplate< TPixel, VDimension >::GetImageIOWriter ( void  ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual const char* itk::NDImageTemplate< TPixel, VDimension >::GetInputFileName ( void  ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual const OffsetValueType* itk::NDImageTemplate< TPixel, VDimension >::GetOffsetTable ( ) const [virtual]
template<class TPixel , unsigned int VDimension>
virtual PointType itk::NDImageTemplate< TPixel, VDimension >::GetOrigin ( void  ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual const char* itk::NDImageTemplate< TPixel, VDimension >::GetOutputFileName ( void  ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual const TPixel& itk::NDImageTemplate< TPixel, VDimension >::GetPixel ( const IndexType index) const [virtual]
template<class TPixel , unsigned int VDimension>
virtual TPixel& itk::NDImageTemplate< TPixel, VDimension >::GetPixel ( const IndexType index) [virtual]
template<class TPixel , unsigned int VDimension>
virtual AccessorType itk::NDImageTemplate< TPixel, VDimension >::GetPixelAccessor ( void  ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual const AccessorType itk::NDImageTemplate< TPixel, VDimension >::GetPixelAccessor ( void  ) const [virtual]
template<class TPixel , unsigned int VDimension>
virtual PixelContainer* itk::NDImageTemplate< TPixel, VDimension >::GetPixelContainer ( ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual const PixelContainer* itk::NDImageTemplate< TPixel, VDimension >::GetPixelContainer ( ) const [virtual]
template<class TPixel , unsigned int VDimension>
virtual ProcessObject* itk::NDImageTemplate< TPixel, VDimension >::GetReader ( ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual SpacingType itk::NDImageTemplate< TPixel, VDimension >::GetSpacing ( void  ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual ProcessObject* itk::NDImageTemplate< TPixel, VDimension >::GetWriter ( ) [virtual]
template<class TPixel , unsigned int VDimension>
virtual unsigned int itk::NDImageTemplate< TPixel, VDimension >::ImageDimension ( void  ) [virtual]

Extra functions for NDImage. Get the Dimension.

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::Initialize ( void  ) [virtual]
template<class TPixel , unsigned int VDimension>
itk::NDImageTemplate< TPixel, VDimension >::itkStaticConstMacro ( Dimension  ,
unsigned  int,
VDimension   
)

Typedefs inherited from Superclass.

template<class TPixel , unsigned int VDimension>
static Pointer itk::NDImageTemplate< TPixel, VDimension >::New ( ) [static]

Method for creation through the object factory.

template<class TPixel , unsigned int VDimension>
void itk::NDImageTemplate< TPixel, VDimension >::operator= ( const Self ) [private]

Reimplemented from itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::Read ( void  ) [virtual]

Read image data from file into the actual image

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetImageIOReader ( ImageIOBase _arg) [virtual]
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetImageIOWriter ( ImageIOBase _arg) [virtual]
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetInputFileName ( const char *  name) [virtual]
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetOrigin ( const PointType origin) [virtual]
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetOutputFileName ( const char *  name) [virtual]

Set/Get the Output/Input FileName

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetPixel ( const IndexType index,
const TPixel &  value 
) [virtual]
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetPixelContainer ( PixelContainer container) [virtual]
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetRegions ( SizeType  size) [virtual]
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetRequestedRegion ( DataObject *  data) [virtual]
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetSpacing ( const SpacingType spacing) [virtual]
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::Write ( void  ) [virtual]

Write the actual image to file.

Implements itk::NDImageBase< TPixel >.


Field Documentation

template<class TPixel , unsigned int VDimension>
ImagePointer itk::NDImageTemplate< TPixel, VDimension >::m_Image [protected]

Definition at line 173 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
ReaderPointer itk::NDImageTemplate< TPixel, VDimension >::m_Reader [protected]

Definition at line 179 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
WriterPointer itk::NDImageTemplate< TPixel, VDimension >::m_Writer [protected]

Definition at line 178 of file itkNDImageTemplate.h.



Generated on 11-05-2012 for elastix by doxygen 1.7.6.1 elastix logo