Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
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 (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 mitkRotationOperation_h
14 #define mitkRotationOperation_h
15 
16 #include "mitkNumericTypes.h"
17 #include "mitkOperation.h"
18 
19 namespace mitk
20 {
21  //##Documentation
22  //## @brief Operation, that holds everything necessary for an rotation operation on mitk::BaseData.
23  //##
24  //## @ingroup Undo
26  {
27  public:
35  RotationOperation(OperationType operationType,
36  Point3D pointOfRotation,
37  Vector3D vectorOfRotation,
38  ScalarType angleOfRotation);
39  ~RotationOperation(void) override;
40 
45  virtual ScalarType GetAngleOfRotation();
46 
51  virtual const Point3D GetCenterOfRotation();
52 
57  virtual const Vector3D GetVectorOfRotation();
58 
59  protected:
63  };
64 
65 } // namespace mitk
66 
67 #endif /* mitkRotationOperation_h */
#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
Operation, that holds everything necessary for an rotation operation on mitk::BaseData.