32 if (geometry ==
nullptr)
33 SetPlaneGeometry(
nullptr);
37 if (geometry2d ==
nullptr || dynamic_cast<AbstractTransformGeometry *>(geometry) !=
nullptr)
38 itkExceptionMacro(<<
"Trying to set a geometry which is not a PlaneGeometry into PlaneGeometryData.");
39 SetPlaneGeometry(geometry2d);
45 if (geometry2d !=
nullptr)
48 timeGeometry->Initialize(geometry2d, 1);
49 SetTimeGeometry(timeGeometry);
53 Superclass::SetGeometry(geometry2d);
58 Superclass::UpdateOutputInformation();
67 if (GetPlaneGeometry() ==
nullptr)
75 if (GetPlaneGeometry() ==
nullptr)
virtual void UpdateOutputInformation() override
virtual ~PlaneGeometryData()
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion() override
Determine whether the RequestedRegion is outside of the BufferedRegion.
virtual bool VerifyRequestedRegion() override
Verify that the RequestedRegion is within the LargestPossibleRegion.
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 CopyInformation(const itk::DataObject *data) override
virtual void SetPlaneGeometry(mitk::PlaneGeometry *geometry2d)
Set the reference to the PlaneGeometry that is stored by the object.
Describes a two-dimensional, rectangular plane.
virtual void SetRequestedRegionToLargestPossibleRegion() override
Set the RequestedRegion to the LargestPossibleRegion.
BaseGeometry Describes the geometry of a data object.
virtual void SetGeometry(mitk::BaseGeometry *geometry) override
Set the reference to a PlaneGeometry that is stored by the object.