Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkRotationOperation.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 mitkRotationOperation_h
18 #define mitkRotationOperation_h
19 
20 #include "mitkNumericTypes.h"
21 #include "mitkOperation.h"
22 
23 namespace mitk
24 {
25  //##Documentation
26  //## @brief Operation, that holds everything necessary for an rotation operation on mitk::BaseData.
27  //##
28  //## @ingroup Undo
30  {
31  public:
39  RotationOperation(OperationType operationType,
40  Point3D pointOfRotation,
41  Vector3D vectorOfRotation,
42  ScalarType angleOfRotation);
43  virtual ~RotationOperation(void);
44 
49  virtual ScalarType GetAngleOfRotation();
50 
55  virtual const Point3D GetCenterOfRotation();
56 
61  virtual const Vector3D GetVectorOfRotation();
62 
63  protected:
67  };
68 
69 } // namespace mitk
70 
71 #endif /* mitkRotationOperation_h */
#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
Operation, that holds everything necessary for an rotation operation on mitk::BaseData.