Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
31  void SetRequestedRegionToLargestPossibleRegion() override;
32  bool RequestedRegionIsOutsideOfTheBufferedRegion() override;
33  bool VerifyRequestedRegion() override;
34  void SetRequestedRegion(const itk::DataObject* data) override;
35 
36  protected:
37 
38  CrosshairData();
39  ~CrosshairData() override;
40 
42 
43  };
44 }
45 
46 #endif
mitkPoint.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::Point< ScalarType, 3 >
mitk::CrosshairData::m_Position
Point3D m_Position
Definition: mitkCrosshairData.h:41
mitk::BaseData
Base of all data objects.
Definition: mitkBaseData.h:42
mitkBaseData.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::CrosshairData
Definition: mitkCrosshairData.h:21
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15