Medical Imaging Interaction Toolkit  2026.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 {
28  {
29  public:
39  Point3D pointOfRotation,
40  Vector3D vectorOfRotation,
41  ScalarType angleOfRotation);
42 
44  ~RotationOperation(void) override;
45 
52 
58  virtual const Point3D GetCenterOfRotation();
59 
65  virtual const Vector3D GetVectorOfRotation();
66 
67  protected:
71  };
72 
73 } // namespace mitk
74 
75 #endif
#define MITKCORE_EXPORT
Base class for all operations in the undo/redo framework.
Definition: mitkOperation.h:38
Operation that holds everything necessary for a rotation operation on mitk::BaseData.
virtual ScalarType GetAngleOfRotation()
Returns the rotation angle.
virtual const Vector3D GetVectorOfRotation()
Returns the rotation axis.
~RotationOperation(void) override
Destructor.
RotationOperation(OperationType operationType, Point3D pointOfRotation, Vector3D vectorOfRotation, ScalarType angleOfRotation)
Constructor to create a rotation operation.
virtual const Point3D GetCenterOfRotation()
Returns the anchor point of rotation.
Convenience header that includes all MITK numeric types.
Find image slices visible on a given plane.
int OperationType
Type alias for operation type identifiers.
Definition: mitkOperation.h:24
double ScalarType
Scalar type used throughout MITK for geometric computations.