Medical Imaging Interaction Toolkit  2025.12.02
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:
37  Point3D point,
38  int index = -1,
39  bool selected = true,
41 
51  ScalarType timeInMS,
52  Point3D point,
53  int index = -1,
54  bool selected = true,
56 
57  ~PointOperation() override;
58 
60 
61  int GetIndex();
62 
63  bool GetSelected();
64 
66 
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
#define MITKCORE_EXPORT
Base class of all Operation-classes.
Definition: mitkOperation.h:30
Operation that handles all actions on one Point. Stores everything for Adding, Moving and Deleting a ...
PointOperation(OperationType operationType, Point3D point, int index=-1, bool selected=true, PointSpecificationType type=PTUNDEFINED)
Operation that handles all actions on one Point.
~PointOperation() override
PointSpecificationType GetPointType()
ScalarType GetTimeInMS() const
PointOperation(OperationType operationType, ScalarType timeInMS, Point3D point, int index=-1, bool selected=true, PointSpecificationType type=PTUNDEFINED)
Operation that handles all actions on one Point.
Find image slices visible on a given plane.
PointSpecificationType
enumeration of the type a point can be
Definition: mitkPoint.h:29
@ PTUNDEFINED
Definition: mitkPoint.h:30
int OperationType
Definition: mitkOperation.h:23
double ScalarType