Medical Imaging Interaction Toolkit  2024.06.00
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
mitk::RotationOperation::m_AngleOfRotation
ScalarType m_AngleOfRotation
Definition: mitkRotationOperation.h:60
mitk::Operation
Base class of all Operation-classes.
Definition: mitkOperation.h:29
mitk::RotationOperation::m_VectorOfRotation
Vector3D m_VectorOfRotation
Definition: mitkRotationOperation.h:62
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::Vector< ScalarType, 3 >
mitk::Point< ScalarType, 3 >
mitkNumericTypes.h
mitk::OperationType
int OperationType
Definition: mitkOperation.h:23
mitkOperation.h
mitk::RotationOperation::m_PointOfRotation
Point3D m_PointOfRotation
Definition: mitkRotationOperation.h:61
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15
mitk::RotationOperation
Operation, that holds everything necessary for an rotation operation on mitk::BaseData.
Definition: mitkRotationOperation.h:25
mitk::ScalarType
double ScalarType
Definition: mitkNumericConstants.h:20