Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkGeometryData.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkGeometryData_h
14 #define mitkGeometryData_h
15 
16 #include <mitkBaseData.h>
17 
18 namespace mitk
19 {
37  {
38  public:
40 
41  itkFactorylessNewMacro(Self);
42 
43  itkCloneMacro(Self);
44 
50  void UpdateOutputInformation() override;
51 
58 
65 
71  bool VerifyRequestedRegion() override;
72 
80  void SetRequestedRegion(const itk::DataObject *data) override;
81 
89  void CopyInformation(const itk::DataObject *data) override;
90 
91  protected:
93 
94  ~GeometryData() override;
95  };
96 
106  MITKCORE_EXPORT bool Equal(const mitk::GeometryData &leftHandSide,
107  const mitk::GeometryData &rightHandSide,
109  bool verbose);
110 
111 } // namespace mitk
112 #endif
#define MITKCORE_EXPORT
Base class of all data objects.
Definition: mitkBaseData.h:60
Data class that holds only a BaseGeometry without any specific data payload.
void CopyInformation(const itk::DataObject *data) override
Copy information from another data object.
mitkClassMacro(GeometryData, BaseData)
bool RequestedRegionIsOutsideOfTheBufferedRegion() override
Check whether the requested region is outside the buffered region.
void SetRequestedRegionToLargestPossibleRegion() override
Set the requested region to the largest possible region.
~GeometryData() override
void UpdateOutputInformation() override
Update the output information.
void SetRequestedRegion(const itk::DataObject *data) override
Set the requested region from another data object.
bool VerifyRequestedRegion() override
Verify that the requested region is valid.
Find image slices visible on a given plane.
MITKCORE_EXPORT const ScalarType eps
Epsilon value for floating point comparison (vnl_math::eps * 100).
double ScalarType
Scalar type used throughout MITK for geometric computations.
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.