13 #ifndef IMAGEDATAITEM_H 14 #define IMAGEDATAITEM_H 28 class ImageVtkReadAccessor;
29 class ImageVtkWriteAccessor;
53 template <
class TPixel,
unsigned int VDimension>
68 itk::LightObject::Pointer InternalClone()
const override;
73 unsigned int dimension,
75 bool manageMemory =
false,
84 unsigned int dimension,
85 unsigned int *dimensions,
107 if (i < (
int)m_Dimension)
108 returnValue = m_Dimensions[i];
128 virtual void ConstructVtkImageData(ImageConstPointer)
const;
131 virtual void Modified()
const;
150 void ComputeItemSize(
const unsigned int *dimensions,
unsigned int dimension);
154 unsigned int m_Dimension;
int GetDimension(int i) const
void SetComplete(bool complete)
void SetManageMemory(bool b)
Provides templated image access for all inheriting classes.
PixelType GetPixelType() const
DataCollection - Class to facilitate loading/accessing structured data.
itk::SmartPointer< const mitk::Image > ImageConstPointer
bool GetManageMemory() const
ImageDataItem::ConstPointer GetParent() const
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.
vcl_size_t GetSize() const
ImageVtkReadAccessor class provides any image read access which is required by Vtk methods...
ImageVtkWriteAccessor * m_VtkImageWriteAccessor
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...
Class for defining the data type of pixels.
vtkImageData * m_VtkImageData