13 #ifndef IMAGEDATAITEM_H 14 #define IMAGEDATAITEM_H 25 class ImageVtkReadAccessor;
26 class ImageVtkWriteAccessor;
49 template <
class TPixel,
unsigned int VDimension>
64 itk::LightObject::Pointer InternalClone()
const override;
69 unsigned int dimension,
71 bool manageMemory =
false,
80 unsigned int dimension,
81 unsigned int *dimensions,
99 if (i < (
int)m_Dimension)
100 returnValue = m_Dimensions[i];
120 virtual void ConstructVtkImageData(ImageConstPointer)
const;
123 virtual void Modified()
const;
149 void ComputeItemSize(
const unsigned int *dimensions,
unsigned int dimension);
153 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.
#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