Uniform volume template. More...
#include <cmtkImageTemplate.h>
Public Types | |
typedef ImageTemplate | Self |
This class. | |
typedef UniformVolume | Superclass |
Superclass. | |
typedef SmartPointer< Self > | SmartPtr |
Smart pointer to ImageTemplate. | |
typedef SmartConstPointer< Self > | SmartConstPtr |
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< PixelType > | m_DataArray |
The actual data array. |
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.
typedef Superclass:: CoordinateRegionType cmtk::ImageTemplate< TPixelType >::CoordinateRegionType |
Region type.
Reimplemented from cmtk::UniformVolume.
Definition at line 77 of file cmtkImageTemplate.h.
typedef Superclass::CoordinateVectorType cmtk::ImageTemplate< TPixelType >::CoordinateVectorType |
Index type.
Reimplemented from cmtk::UniformVolume.
Definition at line 80 of file cmtkImageTemplate.h.
typedef TPixelType cmtk::ImageTemplate< TPixelType >::PixelType |
Pixel data type.
Definition at line 74 of file cmtkImageTemplate.h.
typedef ImageTemplate cmtk::ImageTemplate< TPixelType >::Self |
This class.
Reimplemented from cmtk::UniformVolume.
Definition at line 62 of file cmtkImageTemplate.h.
typedef SmartConstPointer<Self> cmtk::ImageTemplate< TPixelType >::SmartConstPtr |
Smart pointer to const ImageTemplate.
Reimplemented from cmtk::UniformVolume.
Definition at line 71 of file cmtkImageTemplate.h.
typedef SmartPointer<Self> cmtk::ImageTemplate< TPixelType >::SmartPtr |
Smart pointer to ImageTemplate.
Reimplemented from cmtk::UniformVolume.
Definition at line 68 of file cmtkImageTemplate.h.
typedef UniformVolume cmtk::ImageTemplate< TPixelType >::Superclass |
Superclass.
Reimplemented from cmtk::UniformVolume.
Definition at line 65 of file cmtkImageTemplate.h.
virtual cmtk::ImageTemplate< TPixelType >::~ImageTemplate | ( | ) | [inline, virtual] |
Destructor.
Definition at line 83 of file cmtkImageTemplate.h.
cmtk::ImageTemplate< TPixelType >::ImageTemplate | ( | const DataGrid::IndexType & | dims, |
const Self::CoordinateVectorType & | size | ||
) | [inline] |
Create volume "from scratch".
dims | Number of grid elements for the three spatial dimensions. |
size | Size of the volume in real-world coordinates. |
Definition at line 89 of file cmtkImageTemplate.h.
std::vector<PixelType> cmtk::ImageTemplate< TPixelType >::m_DataArray [private] |
The actual data array.
Definition at line 96 of file cmtkImageTemplate.h.