Medical Imaging Interaction Toolkit  2018.4.99-ef453c4b
Medical Imaging Interaction Toolkit
mitkRestorePlanePositionOperation.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 mitkRestorePlanePositionOperation_h_Included
14 #define mitkRestorePlanePositionOperation_h_Included
15 
16 #include "mitkCommon.h"
17 #include "mitkNumericTypes.h"
18 #include "mitkPointOperation.h"
19 
20 namespace mitk
21 {
22  //##Documentation
23  //## TODO
24 
26  {
27  public:
28  //##Documentation
29  //##@brief Operation that handles all actions on one Point.
30  //##
31  //## @param operationType is the type of the operation (see mitkOperation.h; e.g. move or add; Information for
32  // StateMachine::ExecuteOperation());
33  //## @param point is the information of the point to add or is the information to change a point into
34  //## @param index is e.g. the position in a list which describes the element to change
35  // PointOperation(OperationType operationType, Point3D point, int index = -1, bool selected = true,
36  // PointSpecificationType type = PTUNDEFINED);
37 
39  ScalarType width,
40  ScalarType height,
41  Vector3D spacing,
42  unsigned int pos,
43  Vector3D direction,
44  AffineTransform3D::Pointer transform);
45 
47 
48  Vector3D GetDirectionVector();
49 
50  ScalarType GetWidth();
51 
52  ScalarType GetHeight();
53 
54  Vector3D GetSpacing();
55 
56  unsigned int GetPos();
57 
58  AffineTransform3D::Pointer GetTransform();
59 
60  private:
61  Vector3D m_Spacing;
62 
63  Vector3D m_DirectionVector;
64 
65  ScalarType m_Width;
66 
67  ScalarType m_Height;
68 
69  unsigned int m_Pos;
70 
71  AffineTransform3D::Pointer m_Transform;
72  };
73 } // namespace mitk
74 #endif
#define MITKCORE_EXPORT
Base class of all Operation-classes.
Definition: mitkOperation.h:29
double ScalarType
DataCollection - Class to facilitate loading/accessing structured data.
int OperationType
Definition: mitkOperation.h:23