Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitk::RotationOperation Class Reference

Operation, that holds everything necessary for an rotation operation on mitk::BaseData. More...

#include <mitkRotationOperation.h>

Inheritance diagram for mitk::RotationOperation:
Collaboration diagram for mitk::RotationOperation:

Public Member Functions

 RotationOperation (OperationType operationType, Point3D pointOfRotation, Vector3D vectorOfRotation, ScalarType angleOfRotation)
 RotationOperation constructor to create the operation. More...
 
 ~RotationOperation (void) override
 
virtual ScalarType GetAngleOfRotation ()
 GetAngleOfRotation getter for rotation angle. More...
 
virtual const Point3D GetCenterOfRotation ()
 GetCenterOfRotation getter for the anchor point of rotation. More...
 
virtual const Vector3D GetVectorOfRotation ()
 GetVectorOfRotation getter for the rotation axis. More...
 
- Public Member Functions inherited from mitk::Operation
virtual std::vector< std::string > GetClassHierarchy () const
 
 itkTypeMacroNoParent (Operation) Operation(OperationType operationType)
 
virtual ~Operation ()
 
OperationType GetOperationType ()
 

Protected Attributes

ScalarType m_AngleOfRotation
 
Point3D m_PointOfRotation
 
Vector3D m_VectorOfRotation
 
- Protected Attributes inherited from mitk::Operation
OperationType m_OperationType
 

Additional Inherited Members

- Public Types inherited from mitk::Operation
typedef Operation Self
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Static Public Member Functions inherited from mitk::Operation
static const char * GetStaticNameOfClass ()
 

Detailed Description

Operation, that holds everything necessary for an rotation operation on mitk::BaseData.

Definition at line 25 of file mitkRotationOperation.h.

Constructor & Destructor Documentation

◆ RotationOperation()

mitk::RotationOperation::RotationOperation ( OperationType  operationType,
Point3D  pointOfRotation,
Vector3D  vectorOfRotation,
ScalarType  angleOfRotation 
)

RotationOperation constructor to create the operation.

Parameters
operationTypethis has to be set to OpROTATE.
pointOfRotationAnchor point for rotation.
vectorOfRotationAxis for rotation.
angleOfRotationAngle for rotation in degree.

◆ ~RotationOperation()

mitk::RotationOperation::~RotationOperation ( void  )
override

Member Function Documentation

◆ GetAngleOfRotation()

virtual ScalarType mitk::RotationOperation::GetAngleOfRotation ( )
virtual

GetAngleOfRotation getter for rotation angle.

Returns
Angle in degree.

◆ GetCenterOfRotation()

virtual const Point3D mitk::RotationOperation::GetCenterOfRotation ( )
virtual

GetCenterOfRotation getter for the anchor point of rotation.

Returns
The anchor point to rotate the base data around.

◆ GetVectorOfRotation()

virtual const Vector3D mitk::RotationOperation::GetVectorOfRotation ( )
virtual

GetVectorOfRotation getter for the rotation axis.

Returns
Rotation axis as vector.

Member Data Documentation

◆ m_AngleOfRotation

ScalarType mitk::RotationOperation::m_AngleOfRotation
protected

Definition at line 60 of file mitkRotationOperation.h.

◆ m_PointOfRotation

Point3D mitk::RotationOperation::m_PointOfRotation
protected

Definition at line 61 of file mitkRotationOperation.h.

◆ m_VectorOfRotation

Vector3D mitk::RotationOperation::m_VectorOfRotation
protected

Definition at line 62 of file mitkRotationOperation.h.


The documentation for this class was generated from the following file: