31 Superclass::UpdateOutputInformation();
40 if (GetGeometry() !=
nullptr)
48 if (GetGeometry() ==
nullptr)
67 unsigned int timeStepsLeft = leftHandSide.
GetTimeGeometry()->CountTimeSteps();
68 unsigned int timeStepsRight = rightHandSide.
GetTimeGeometry()->CountTimeSteps();
70 if (timeStepsLeft != timeStepsRight)
74 MITK_INFO <<
"[( GeometryData::GetTimeGeometry )] number of time steps are not equal.";
75 MITK_INFO <<
"rightHandSide is " << timeStepsRight <<
" : leftHandSide is " << timeStepsLeft;
82 for (
unsigned int t = 0; t < timeStepsLeft; ++t)
86 allEqual &=
mitk::Equal(*geomLeft, *geomRight, eps, verbose);
virtual 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...
virtual void UpdateOutputInformation() override
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion() override
Determine whether the RequestedRegion is outside of the BufferedRegion.
virtual void SetRequestedRegionToLargestPossibleRegion() override
Set the RequestedRegion to the LargestPossibleRegion.
const mitk::TimeGeometry * GetTimeGeometry() const
Return the TimeGeometry of the data as const pointer.
virtual void CopyInformation(const itk::DataObject *data) override
virtual bool VerifyRequestedRegion() override
Verify that the RequestedRegion is within the LargestPossibleRegion.
Data class only having a BaseGeometry but not containing any specific data.
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.
MITKCORE_EXPORT const ScalarType eps
mitk::BaseGeometry * GetGeometry(int t=0) const
Return the geometry, which is a TimeGeometry, of the data as non-const pointer.
BaseGeometry Describes the geometry of a data object.