Public Types | Public Member Functions | Private Attributes

cmtk::ImageTemplate< TPixelType > Class Template Reference
[cmtkBase Library]

Uniform volume template. More...

#include <cmtkImageTemplate.h>

Inheritance diagram for cmtk::ImageTemplate< TPixelType >:
Inheritance graph
[legend]
Collaboration diagram for cmtk::ImageTemplate< TPixelType >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef ImageTemplate Self
 This class.
typedef UniformVolume Superclass
 Superclass.
typedef SmartPointer< SelfSmartPtr
 Smart pointer to ImageTemplate.
typedef SmartConstPointer< SelfSmartConstPtr
 Smart pointer to const ImageTemplate.
typedef TPixelType PixelType
 Pixel data type.
typedef
Superclass::CoordinateRegionType 
CoordinateRegionType
 Region type.
typedef
Superclass::CoordinateVectorType 
CoordinateVectorType
 Index type.

Public Member Functions

virtual ~ImageTemplate ()
 Destructor.
 ImageTemplate (const DataGrid::IndexType &dims, const Self::CoordinateVectorType &size)
 Create volume "from scratch".

Private Attributes

std::vector< PixelTypem_DataArray
 The actual data array.

Detailed Description

template<class TPixelType>
class cmtk::ImageTemplate< TPixelType >

Uniform volume template.

This class is a templated generalization of the UniformVolume class. Here, the type of pixel data is determined by template instantiation.

Definition at line 56 of file cmtkImageTemplate.h.


Member Typedef Documentation

template<class TPixelType >
typedef Superclass:: CoordinateRegionType cmtk::ImageTemplate< TPixelType >::CoordinateRegionType

Region type.

Reimplemented from cmtk::UniformVolume.

Definition at line 77 of file cmtkImageTemplate.h.

template<class TPixelType >
typedef Superclass::CoordinateVectorType cmtk::ImageTemplate< TPixelType >::CoordinateVectorType

Index type.

Reimplemented from cmtk::UniformVolume.

Definition at line 80 of file cmtkImageTemplate.h.

template<class TPixelType >
typedef TPixelType cmtk::ImageTemplate< TPixelType >::PixelType

Pixel data type.

Definition at line 74 of file cmtkImageTemplate.h.

template<class TPixelType >
typedef ImageTemplate cmtk::ImageTemplate< TPixelType >::Self

This class.

Reimplemented from cmtk::UniformVolume.

Definition at line 62 of file cmtkImageTemplate.h.

template<class TPixelType >
typedef SmartConstPointer<Self> cmtk::ImageTemplate< TPixelType >::SmartConstPtr

Smart pointer to const ImageTemplate.

Reimplemented from cmtk::UniformVolume.

Definition at line 71 of file cmtkImageTemplate.h.

template<class TPixelType >
typedef SmartPointer<Self> cmtk::ImageTemplate< TPixelType >::SmartPtr

Smart pointer to ImageTemplate.

Reimplemented from cmtk::UniformVolume.

Definition at line 68 of file cmtkImageTemplate.h.

template<class TPixelType >
typedef UniformVolume cmtk::ImageTemplate< TPixelType >::Superclass

Superclass.

Reimplemented from cmtk::UniformVolume.

Definition at line 65 of file cmtkImageTemplate.h.


Constructor & Destructor Documentation

template<class TPixelType >
virtual cmtk::ImageTemplate< TPixelType >::~ImageTemplate (  ) [inline, virtual]

Destructor.

Definition at line 83 of file cmtkImageTemplate.h.

template<class TPixelType >
cmtk::ImageTemplate< TPixelType >::ImageTemplate ( const DataGrid::IndexType dims,
const Self::CoordinateVectorType size 
) [inline]

Create volume "from scratch".

Parameters:
dimsNumber of grid elements for the three spatial dimensions.
sizeSize of the volume in real-world coordinates.

Definition at line 89 of file cmtkImageTemplate.h.


Member Data Documentation

template<class TPixelType >
std::vector<PixelType> cmtk::ImageTemplate< TPixelType >::m_DataArray [private]

The actual data array.

Definition at line 96 of file cmtkImageTemplate.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines