Medical Imaging Interaction Toolkit  2016.11.0
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...
 
virtual ~RotationOperation (void)
 
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 29 of file mitkRotationOperation.h.

Constructor & Destructor Documentation

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.

Definition at line 19 of file mitkRotationOperation.cpp.

mitk::RotationOperation::~RotationOperation ( void  )
virtual

Definition at line 30 of file mitkRotationOperation.cpp.

Member Function Documentation

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

GetAngleOfRotation getter for rotation angle.

Returns
Angle in degree.

Definition at line 34 of file mitkRotationOperation.cpp.

Referenced by mitk::SlicedGeometry3D::ExecuteOperation(), and mitk::BaseGeometry::ExecuteOperation().

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

GetCenterOfRotation getter for the anchor point of rotation.

Returns
The anchor point to rotate the base data around.

Definition at line 39 of file mitkRotationOperation.cpp.

Referenced by mitk::SlicedGeometry3D::ExecuteOperation(), and mitk::BaseGeometry::ExecuteOperation().

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

GetVectorOfRotation getter for the rotation axis.

Returns
Rotation axis as vector.

Definition at line 43 of file mitkRotationOperation.cpp.

Referenced by mitk::SlicedGeometry3D::ExecuteOperation(), and mitk::BaseGeometry::ExecuteOperation().

Member Data Documentation

ScalarType mitk::RotationOperation::m_AngleOfRotation
protected

Definition at line 64 of file mitkRotationOperation.h.

Point3D mitk::RotationOperation::m_PointOfRotation
protected

Definition at line 65 of file mitkRotationOperation.h.

Vector3D mitk::RotationOperation::m_VectorOfRotation
protected

Definition at line 66 of file mitkRotationOperation.h.


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