Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkCrosshairData.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 mitkCrosshairData_h
14 #define mitkCrosshairData_h
15 
16 #include <mitkBaseData.h>
17 #include <mitkPoint.h>
18 
19 namespace mitk
20 {
22  {
23  public:
24 
26  itkFactorylessNewMacro(Self);
27 
28  itkGetConstMacro(Position, Point3D);
29  itkSetMacro(Position, Point3D);
30 
33  bool VerifyRequestedRegion() override;
34  void SetRequestedRegion(const itk::DataObject* data) override;
35 
36  protected:
37 
39  ~CrosshairData() override;
40 
42 
43  };
44 }
45 
46 #endif
#define MITKCORE_EXPORT
Base of all data objects.
Definition: mitkBaseData.h:44
bool VerifyRequestedRegion() override
Verify that the RequestedRegion is within the LargestPossibleRegion.
~CrosshairData() override
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(CrosshairData, BaseData)
bool RequestedRegionIsOutsideOfTheBufferedRegion() override
Determine whether the RequestedRegion is outside of the BufferedRegion.
void SetRequestedRegionToLargestPossibleRegion() override
Set the RequestedRegion to the LargestPossibleRegion.
Find image slices visible on a given plane.