16 #include "itkImageRegion.h"
18 #include <vtkSmartPointer.h>
34 itkFactorylessNewMacro(Self);
40 void Expand(
unsigned int timeSteps = 1)
override;
45 void Graft(
const DataObject *data)
override;
47 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
71 std::vector<vtkSmartPointer<vtkPolyData>> m_PolyDatas;
74 bool m_CalculateBoundingBox;
Base of all data objects.
Base class of all Operation-classes.
Class for storing surfaces (vtkPolyData).
virtual void SetVtkPolyData(vtkPolyData *polydata, unsigned int t=0)
bool IsEmptyTimeStep(unsigned int t) const override
Check whether object contains data (at a specified time), e.g., a set of points may be empty.
Surface(const Surface &other)
virtual const RegionType & GetRequestedRegion() const
virtual void SetRequestedRegion(Surface::RegionType *region)
void InitializeEmpty() override
Pure virtual; Must be used in subclasses to get a data object to a valid state. Should at least creat...
void ClearData() override
reset to non-initialized state, release memory
bool VerifyRequestedRegion() override
Verify that the RequestedRegion is within the LargestPossibleRegion.
itk::ImageRegion< 5 > RegionType
void CalculateBoundingBox()
void CopyInformation(const itk::DataObject *data) override
const RegionType & GetLargestPossibleRegion() const
virtual void Swap(Surface &other)
void Expand(unsigned int timeSteps=1) override
Expands the TimeGeometry to a number of TimeSteps.
unsigned int GetSizeOfPolyDataSeries() const
void Graft(const DataObject *data) override
void ExecuteOperation(Operation *operation) override
overwrite if the Data can be called by an Interactor (StateMachine).
Surface & operator=(Surface other)
void SetRequestedRegion(const itk::DataObject *data) override
Set the requested region from this data object to match the requested region of the data object passe...
mitkClassMacro(Surface, BaseData)
bool RequestedRegionIsOutsideOfTheBufferedRegion() override
Determine whether the RequestedRegion is outside of the BufferedRegion.
void PrintSelf(std::ostream &os, itk::Indent indent) const override
void SetRequestedRegionToLargestPossibleRegion() override
Set the RequestedRegion to the LargestPossibleRegion.
void UpdateOutputInformation() override
virtual vtkPolyData * GetVtkPolyData(unsigned int t=0) const
Find image slices visible on a given plane.
MITKCORE_EXPORT const ScalarType eps
MITKNEWMODULE_EXPORT bool Equal(mitk::ExampleDataStructure *leftHandSide, mitk::ExampleDataStructure *rightHandSide, mitk::ScalarType eps, bool verbose)
Returns true if the example data structures are considered equal.