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::ImageAndArray< TPixel, VImageDimension > Class Template Reference
Inheritance diagram for itk::ImageAndArray< TPixel, VImageDimension >:
Inheritance graph
[legend]
Collaboration diagram for itk::ImageAndArray< TPixel, VImageDimension >:
Collaboration graph
[legend]

Public Types

typedef ImageAndArray Self
 
typedef Image< TPixel,
VImageDimension > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef WeakPointer< const SelfConstWeakPointer
 
typedef TPixel PixelType
 
typedef TPixel ValueType
 
typedef TPixel InternalPixelType
 
typedef PixelType IOPixelType
 
typedef DefaultPixelAccessor
< PixelType
AccessorType
 
typedef
DefaultPixelAccessorFunctor
< Self
AccessorFunctorType
 
typedef
NeighborhoodAccessorFunctor
< Self
NeighborhoodAccessorFunctorType
 
typedef ImportImageContainer
< unsigned long, PixelType
PixelContainer
 
typedef Superclass::IndexType IndexType
 
typedef Superclass::IndexValueType IndexValueType
 
typedef Superclass::OffsetType OffsetType
 
typedef Superclass::SizeType SizeType
 
typedef Superclass::SizeValueType SizeValueType
 
typedef Superclass::DirectionType DirectionType
 
typedef Superclass::RegionType RegionType
 
typedef Superclass::SpacingType SpacingType
 
typedef Superclass::PointType PointType
 
typedef PixelContainer::Pointer PixelContainerPointer
 
typedef
PixelContainer::ConstPointer 
PixelContainerConstPointer
 
typedef Superclass::OffsetValueType OffsetValueType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, VImageDimension)
 
virtual void Initialize ()
 
virtual void SynchronizeArray ()
 
TPixel & operator[] (const IndexType &index)
 Access a pixel. This version can be an lvalue. More...
 
const TPixel & operator[] (const IndexType &index) const
 Access a pixel. This version can only be an rvalue. More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ImageAndArray ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual ~ImageAndArray ()
 

Member Typedef Documentation

template<class TPixel , unsigned int VImageDimension = 2>
typedef DefaultPixelAccessorFunctor< Self > itk::ImageAndArray< TPixel, VImageDimension >::AccessorFunctorType
template<class TPixel , unsigned int VImageDimension = 2>
typedef DefaultPixelAccessor< PixelType > itk::ImageAndArray< TPixel, VImageDimension >::AccessorType

Accessor type that convert data between internal and external representations.

template<class TPixel , unsigned int VImageDimension = 2>
typedef SmartPointer<const Self> itk::ImageAndArray< TPixel, VImageDimension >::ConstPointer
template<class TPixel , unsigned int VImageDimension = 2>
typedef WeakPointer<const Self> itk::ImageAndArray< TPixel, VImageDimension >::ConstWeakPointer
template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::DirectionType itk::ImageAndArray< TPixel, VImageDimension >::DirectionType

Direction typedef support. A matrix of direction cosines.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::IndexType itk::ImageAndArray< TPixel, VImageDimension >::IndexType

Index typedef support. An index is used to access pixel values.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::IndexValueType itk::ImageAndArray< TPixel, VImageDimension >::IndexValueType
template<class TPixel , unsigned int VImageDimension = 2>
typedef TPixel itk::ImageAndArray< TPixel, VImageDimension >::InternalPixelType

Internal Pixel representation. Used to maintain a uniform API with Image Adaptors and allow to keep a particular internal representation of data while showing a different external representation.

template<class TPixel , unsigned int VImageDimension = 2>
typedef PixelType itk::ImageAndArray< TPixel, VImageDimension >::IOPixelType
template<class TPixel , unsigned int VImageDimension = 2>
typedef NeighborhoodAccessorFunctor< Self > itk::ImageAndArray< TPixel, VImageDimension >::NeighborhoodAccessorFunctorType

Typedef for the functor used to access a neighborhood of pixel pointers.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::OffsetType itk::ImageAndArray< TPixel, VImageDimension >::OffsetType

Offset typedef support. An offset is used to access pixel values.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::OffsetValueType itk::ImageAndArray< TPixel, VImageDimension >::OffsetValueType

Offset typedef (relative position between indices)

template<class TPixel , unsigned int VImageDimension = 2>
typedef ImportImageContainer<unsigned long, PixelType> itk::ImageAndArray< TPixel, VImageDimension >::PixelContainer

Container used to store pixels in the image.

template<class TPixel , unsigned int VImageDimension = 2>
typedef PixelContainer::ConstPointer itk::ImageAndArray< TPixel, VImageDimension >::PixelContainerConstPointer
template<class TPixel , unsigned int VImageDimension = 2>
typedef PixelContainer::Pointer itk::ImageAndArray< TPixel, VImageDimension >::PixelContainerPointer

A pointer to the pixel container.

template<class TPixel , unsigned int VImageDimension = 2>
typedef TPixel itk::ImageAndArray< TPixel, VImageDimension >::PixelType

Pixel typedef support. Used to declare pixel type in filters or other operations.

template<class TPixel , unsigned int VImageDimension = 2>
typedef SmartPointer<Self> itk::ImageAndArray< TPixel, VImageDimension >::Pointer
template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::PointType itk::ImageAndArray< TPixel, VImageDimension >::PointType

Origin typedef support. The origin is the geometric coordinates of the index (0,0).

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::RegionType itk::ImageAndArray< TPixel, VImageDimension >::RegionType

Region typedef support. A region is used to specify a subset of an image.

template<class TPixel , unsigned int VImageDimension = 2>
typedef ImageAndArray itk::ImageAndArray< TPixel, VImageDimension >::Self

Standard class typedefs

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::SizeType itk::ImageAndArray< TPixel, VImageDimension >::SizeType

Size typedef support. A size is used to define region bounds.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::SizeValueType itk::ImageAndArray< TPixel, VImageDimension >::SizeValueType
template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::SpacingType itk::ImageAndArray< TPixel, VImageDimension >::SpacingType

Spacing typedef support. Spacing holds the size of a pixel. The spacing is the geometric distance between image samples.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Image<TPixel, VImageDimension> itk::ImageAndArray< TPixel, VImageDimension >::Superclass
template<class TPixel , unsigned int VImageDimension = 2>
typedef TPixel itk::ImageAndArray< TPixel, VImageDimension >::ValueType

Typedef alias for PixelType

Constructor & Destructor Documentation

template<class TPixel , unsigned int VImageDimension = 2>
itk::ImageAndArray< TPixel, VImageDimension >::ImageAndArray ( )
protected
template<class TPixel , unsigned int VImageDimension = 2>
virtual itk::ImageAndArray< TPixel, VImageDimension >::~ImageAndArray ( )
inlineprotectedvirtual

Member Function Documentation

template<class TPixel , unsigned int VImageDimension = 2>
virtual const char* itk::ImageAndArray< TPixel, VImageDimension >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

template<class TPixel , unsigned int VImageDimension = 2>
virtual void itk::ImageAndArray< TPixel, VImageDimension >::Initialize ( )
virtual

Restore the data object to its initial state. This means releasing memory.

template<class TPixel , unsigned int VImageDimension = 2>
itk::ImageAndArray< TPixel, VImageDimension >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
VImageDimension   
)

Dimension of the image. This constant is used by functions that are templated over image type (as opposed to being templated over pixel type and dimension) when they need compile time access to the dimension of the image.

template<class TPixel , unsigned int VImageDimension = 2>
static Pointer itk::ImageAndArray< TPixel, VImageDimension >::New ( )
static

Method for creation through the object factory.

template<class TPixel , unsigned int VImageDimension = 2>
TPixel& itk::ImageAndArray< TPixel, VImageDimension >::operator[] ( const IndexType index)
inline

Access a pixel. This version can be an lvalue.

For efficiency, this function does not check that the image has actually been allocated yet.

template<class TPixel , unsigned int VImageDimension = 2>
const TPixel& itk::ImageAndArray< TPixel, VImageDimension >::operator[] ( const IndexType index) const
inline

Access a pixel. This version can only be an rvalue.

For efficiency, this function does not check that the image has actually been allocated yet.

template<class TPixel , unsigned int VImageDimension = 2>
void itk::ImageAndArray< TPixel, VImageDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TPixel , unsigned int VImageDimension = 2>
virtual void itk::ImageAndArray< TPixel, VImageDimension >::SynchronizeArray ( )
virtual

Restore the data object to its initial state. This means releasing memory.


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