Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkPointOperation.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 mitkPointOperation_h
14 #define mitkPointOperation_h
15 
16 #include "mitkNumericTypes.h"
17 #include "mitkOperation.h"
18 #include <MitkCoreExports.h>
19 
20 namespace mitk
21 {
27  {
28  public:
36  PointOperation(OperationType operationType,
37  Point3D point,
38  int index = -1,
39  bool selected = true,
41 
50  PointOperation(OperationType operationType,
51  ScalarType timeInMS,
52  Point3D point,
53  int index = -1,
54  bool selected = true,
56 
57  ~PointOperation() override;
58 
59  Point3D GetPoint();
60 
61  int GetIndex();
62 
63  bool GetSelected();
64 
65  PointSpecificationType GetPointType();
66 
67  ScalarType GetTimeInMS() const;
68 
69  private:
70  Point3D m_Point;
71 
73  int m_Index;
74 
75  // to declare weather the point is selected or deselected
76  bool m_Selected;
77 
80 
81  ScalarType m_TimeInMS;
82  };
83 } // namespace mitk
84 #endif
mitk::PTUNDEFINED
@ PTUNDEFINED
Definition: mitkPoint.h:30
mitk::Operation
Base class of all Operation-classes.
Definition: mitkOperation.h:29
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::PointOperation
Operation that handles all actions on one Point. Stores everything for Adding, Moving and Deleting a ...
Definition: mitkPointOperation.h:26
MitkCoreExports.h
mitk::Point< ScalarType, 3 >
mitkNumericTypes.h
mitk::OperationType
int OperationType
Definition: mitkOperation.h:23
mitkOperation.h
mitk::PointSpecificationType
PointSpecificationType
enumeration of the type a point can be
Definition: mitkPoint.h:28
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15
mitk::ScalarType
double ScalarType
Definition: mitkNumericConstants.h:20