Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkPlaneGeometryData.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 mitkPlaneGeometryData_h
14 #define mitkPlaneGeometryData_h
15 
16 #include <mitkBaseData.h>
17 #include <mitkGeometryData.h>
18 #include <mitkPlaneGeometry.h>
19 #include <MitkCoreExports.h>
20 
21 namespace mitk
22 {
34  {
35  public:
37 
38  itkFactorylessNewMacro(Self);
39 
40  itkCloneMacro(Self);
41 
50  void SetGeometry(mitk::BaseGeometry *geometry) override;
51 
56  virtual void SetPlaneGeometry(mitk::PlaneGeometry *geometry2d);
57 
62  virtual mitk::PlaneGeometry *GetPlaneGeometry() const { return static_cast<mitk::PlaneGeometry *>(GetGeometry()); };
63 
65  void UpdateOutputInformation() override;
66 
69 
75 
80  bool VerifyRequestedRegion() override;
81 
83  void SetRequestedRegion(const itk::DataObject *data) override;
84 
86  void CopyInformation(const itk::DataObject *data) override;
87 
88  protected:
90 
91  ~PlaneGeometryData() override;
92  };
93 } // namespace mitk
94 #endif
#define MITKCORE_EXPORT
Abstract base class describing the geometry of a data object.
Data class that holds only a BaseGeometry without any specific data payload.
Data class containing PlaneGeometry objects.
bool RequestedRegionIsOutsideOfTheBufferedRegion() override
Check if the requested region is outside of the buffered region.
void SetRequestedRegion(const itk::DataObject *data) override
Set the requested region from the given data object.
void SetRequestedRegionToLargestPossibleRegion() override
Set the requested region to the largest possible region.
mitkClassMacro(PlaneGeometryData, GeometryData)
void SetGeometry(mitk::BaseGeometry *geometry) override
Set the reference to a PlaneGeometry that is stored by the object.
bool VerifyRequestedRegion() override
Verify the requested region.
virtual mitk::PlaneGeometry * GetPlaneGeometry() const
Get the reference to the PlaneGeometry that is stored by the object.
virtual void SetPlaneGeometry(mitk::PlaneGeometry *geometry2d)
Set the reference to the PlaneGeometry that is stored by the object.
void CopyInformation(const itk::DataObject *data) override
Copy information from the given data object.
void UpdateOutputInformation() override
Update output information from the stored geometry.
~PlaneGeometryData() override
Describes the geometry of a plane object.
Find image slices visible on a given plane.