Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef mitkRestorePlanePositionOperation_h_Included
18 #define mitkRestorePlanePositionOperation_h_Included
19 
20 #include "mitkCommon.h"
21 #include "mitkNumericTypes.h"
22 #include "mitkPointOperation.h"
23 
24 namespace mitk
25 {
26  //##Documentation
27  //## TODO
28 
30  {
31  public:
32  //##Documentation
33  //##@brief Operation that handles all actions on one Point.
34  //##
35  //## @param operationType is the type of the operation (see mitkOperation.h; e.g. move or add; Information for
36  // StateMachine::ExecuteOperation());
37  //## @param point is the information of the point to add or is the information to change a point into
38  //## @param index is e.g. the position in a list which describes the element to change
39  // PointOperation(OperationType operationType, Point3D point, int index = -1, bool selected = true,
40  // PointSpecificationType type = PTUNDEFINED);
41 
43  ScalarType width,
44  ScalarType height,
45  Vector3D spacing,
46  unsigned int pos,
47  Vector3D direction,
48  AffineTransform3D::Pointer transform);
49 
51 
52  Vector3D GetDirectionVector();
53 
54  ScalarType GetWidth();
55 
56  ScalarType GetHeight();
57 
58  Vector3D GetSpacing();
59 
60  unsigned int GetPos();
61 
62  AffineTransform3D::Pointer GetTransform();
63 
64  private:
65  Vector3D m_Spacing;
66 
67  Vector3D m_DirectionVector;
68 
69  ScalarType m_Width;
70 
71  ScalarType m_Height;
72 
73  unsigned int m_Pos;
74 
75  AffineTransform3D::Pointer m_Transform;
76  };
77 } // namespace mitk
78 #endif
itk::SmartPointer< Self > Pointer
#define MITKCORE_EXPORT
Base class of all Operation-classes.
Definition: mitkOperation.h:33
double ScalarType
DataCollection - Class to facilitate loading/accessing structured data.
int OperationType
Definition: mitkOperation.h:27