17 #ifndef BASEDATA_H_HEADER_INCLUDED_C1EBB6FA
18 #define BASEDATA_H_HEADER_INCLUDED_C1EBB6FA
20 #include <itkDataObject.h>
54 return m_TimeGeometry.GetPointer();
106 virtual void Expand(
unsigned int timeSteps);
131 if (m_TimeGeometry.IsNull())
133 return m_TimeGeometry->GetGeometryForTimeStep(t);
151 void UpdateOutputInformation()
override;
158 virtual void SetRequestedRegionToLargestPossibleRegion()
override = 0;
171 virtual bool RequestedRegionIsOutsideOfTheBufferedRegion()
override = 0;
184 virtual bool VerifyRequestedRegion()
override = 0;
197 void CopyInformation(
const itk::DataObject *data)
override;
206 virtual bool IsInitialized()
const;
213 virtual void Clear();
222 virtual bool IsEmptyTimeStep(
unsigned int t)
const;
232 virtual bool IsEmpty()
const;
239 virtual void SetRequestedRegion(
const itk::DataObject *data)
override = 0;
246 void ExecuteOperation(
Operation *operation)
override;
277 virtual void SetClonedGeometry(
const BaseGeometry *aGeometry3D);
284 virtual void SetClonedTimeGeometry(
const TimeGeometry *geometry);
290 virtual void SetClonedGeometry(
const BaseGeometry *aGeometry3D,
unsigned int time);
312 void SetProperty(
const char *propertyKey,
BaseProperty *property);
324 virtual void SetOrigin(
const Point3D &origin);
346 unsigned int GetTimeSteps()
const {
return m_TimeGeometry->CountTimeSteps(); }
350 virtual unsigned long GetMTime()
const override;
355 virtual void Graft(
const DataObject *)
override;
366 virtual void InitializeTimeGeometry(
unsigned int timeSteps = 1);
377 InitializeTimeGeometry(timeSteps);
382 virtual void ClearData();
389 virtual void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
Base of all data objects.
Base class of all Operation-classes.
DataCollection - Class to facilitate loading/accessing structured data.
mitk::TimeGeometry * GetTimeGeometry()
Return the TimeGeometry of the data as pointer.
Key-value list holding instances of BaseProperty.
unsigned int GetTimeSteps() const
Get the number of time steps from the TimeGeometry As the base data has not a data vector given by it...
abstract class, that can be used by Undo to undo an operation.
const mitk::TimeGeometry * GetUpdatedTimeSliceGeometry()
Return the TimeGeometry of the data.
Abstract base class for properties.
#define mitkClassMacroItkParent(className, SuperClassName)
const mitk::TimeGeometry * GetTimeSlicedGeometry() const
Return the TimeGeometry of the data as const pointer.
bool m_LastRequestedRegionWasOutsideOfTheBufferedRegion
virtual void InitializeEmpty()
Pure virtual; Must be used in subclasses to get a data object to a valid state. Should at least creat...
mitk::BaseGeometry * GetGeometry(int t=0) const
Return the geometry, which is a TimeGeometry, of the data as non-const pointer.
virtual void InitializeTimeSlicedGeometry(unsigned int timeSteps=1)
Initialize the TimeGeometry for a number of time steps. The TimeGeometry is initialized empty and eve...
unsigned int m_SourceOutputIndexDuplicate
BaseGeometry Describes the geometry of a data object.