13 #ifndef mitkSlicedData_h
14 #define mitkSlicedData_h
16 #include "itkImageRegion.h"
18 #include "itkOffset.h"
26 class SlicedGeometry3D;
130 virtual bool IsSliceSet(
int s = 0,
int t = 0,
int n = 0)
const = 0;
Base of all data objects.
BaseGeometry Describes the geometry of a data object.
Super class of data objects consisting of slices.
virtual void SetSpacing(const ScalarType aSpacing[])
Convenience method for setting the spacing of the SlicedGeometry3D instances of all time steps.
RegionType m_LargestPossibleRegion
void SetGeometry(BaseGeometry *aGeometry3D) override
Set the BaseGeometry of the data, which will be referenced (not copied!). It has to be a sub-class of...
unsigned int GetNumberOfChannels() const
Get the number of channels.
SlicedGeometry3D * GetSlicedGeometry(unsigned int t=0) const
Convenience access method for the geometry, which is of type SlicedGeometry3D (or a sub-class of it).
RegionType m_BufferedRegion
itkStaticConstMacro(RegionDimension, unsigned int, 5)
OffsetType::OffsetValueType OffsetValueType
virtual void SetSpacing(mitk::Vector3D aSpacing)
Convenience method for setting the spacing of the SlicedGeometry3D instances of all time steps.
virtual void SetRequestedRegion(SlicedData::RegionType *region)
const RegionType & GetLargestPossibleRegion() const
bool VerifyRequestedRegion() override
Verify that the RequestedRegion is within the LargestPossibleRegion.
itk::Size< RegionDimension > SizeType
itk::Offset< RegionDimension > OffsetType
itk::Index< RegionDimension > IndexType
RegionType m_RequestedRegion
const SlicedGeometry3D * GetUpdatedSlicedGeometry(unsigned int t=0)
Convenience access method for the geometry, which is of type SlicedGeometry3D (or a sub-class of it).
bool m_RequestedRegionInitialized
void SetOrigin(const Point3D &origin) override
Convenience method for setting the origin of the SlicedGeometry3D instances of all time steps.
virtual bool IsVolumeSet(int t=0, int n=0) const =0
SlicedData(const SlicedData &other)
IndexType::IndexValueType IndexValueType
void PrepareForNewData() override
itk::ImageRegion< RegionDimension > RegionType
virtual bool IsSliceSet(int s=0, int t=0, int n=0) const =0
void SetLargestPossibleRegion(SlicedData::RegionType *region)
Sets the largest possible region. The largest possible region is the entire region occupied by the da...
mitkClassMacro(SlicedData, BaseData)
bool RequestedRegionIsOutsideOfTheBufferedRegion() override
void SetRequestedRegion(const itk::DataObject *data) override
virtual bool IsChannelSet(int n=0) const =0
void SetRequestedRegionToLargestPossibleRegion() override
SizeType::SizeValueType SizeValueType
void CopyInformation(const itk::DataObject *data) override
void UpdateOutputInformation() override
bool m_UseLargestPossibleRegion
virtual const RegionType & GetRequestedRegion() const
Describes the geometry of a data object consisting of slices.
Find image slices visible on a given plane.