17 #ifndef IMAGEDATAITEM_H
18 #define IMAGEDATAITEM_H
32 class ImageVtkReadAccessor;
33 class ImageVtkWriteAccessor;
57 template <
class TPixel,
unsigned int VDimension>
77 unsigned int dimension,
79 bool manageMemory =
false,
88 unsigned int dimension,
89 unsigned int *dimensions,
111 if (i < (
int)m_Dimension)
112 returnValue = m_Dimensions[i];
132 virtual void ConstructVtkImageData(ImageConstPointer)
const;
134 unsigned long GetSize()
const {
return m_Size; }
135 virtual void Modified()
const;
154 void ComputeItemSize(
const unsigned int *dimensions,
unsigned int dimension);
158 unsigned int m_Dimension;
itk::SmartPointer< Self > Pointer
int GetDimension(int i) const
void SetComplete(bool complete)
void SetManageMemory(bool b)
Provides templated image access for all inheriting classes.
DataCollection - Class to facilitate loading/accessing structured data.
itk::SmartPointer< const mitk::Image > ImageConstPointer
itk::SmartPointer< mitk::Image > ImagePointer
#define MAX_IMAGE_DIMENSIONS
Defines the maximum of 8 dimensions per image channel taken from ipPicDescriptor. ...
#define mitkClassMacroItkParent(className, SuperClassName)
Image class for storing images.
ImageDataItem::ConstPointer GetParent() const
ImageVtkReadAccessor class provides any image read access which is required by Vtk methods...
ImageVtkWriteAccessor * m_VtkImageWriteAccessor
PixelType GetPixelType() const
ImageWriteAccessor class to get locked write-access for a particular image part.
ImageVtkReadAccessor * m_VtkImageReadAccessor
Internal class for managing references on sub-images.
ImageReadAccessor class to get locked read access for a particular image part.
ImageVtkWriteAccessor class provides any image write access which is required by Vtk methods...
bool GetManageMemory() const
unsigned long GetSize() const
Class for defining the data type of pixels.
vtkImageData * m_VtkImageData