Medical Imaging Interaction Toolkit  2025.12.02
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:
36  Point3D pointOfRotation,
37  Vector3D vectorOfRotation,
38  ScalarType angleOfRotation);
39  ~RotationOperation(void) override;
40 
46 
51  virtual const Point3D GetCenterOfRotation();
52 
57  virtual const Vector3D GetVectorOfRotation();
58 
59  protected:
63  };
64 
65 } // namespace mitk
66 
67 #endif
#define MITKCORE_EXPORT
Base class of all Operation-classes.
Definition: mitkOperation.h:30
Operation, that holds everything necessary for an rotation operation on mitk::BaseData.
virtual ScalarType GetAngleOfRotation()
GetAngleOfRotation getter for rotation angle.
virtual const Vector3D GetVectorOfRotation()
GetVectorOfRotation getter for the rotation axis.
~RotationOperation(void) override
RotationOperation(OperationType operationType, Point3D pointOfRotation, Vector3D vectorOfRotation, ScalarType angleOfRotation)
RotationOperation constructor to create the operation.
virtual const Point3D GetCenterOfRotation()
GetCenterOfRotation getter for the anchor point of rotation.
Find image slices visible on a given plane.
int OperationType
Definition: mitkOperation.h:23
double ScalarType