Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::ApplyTransformMatrixOperation Class Reference

Operation that applies a VTK 4x4 transform matrix to a geometry. More...

#include <mitkApplyTransformMatrixOperation.h>

Inheritance diagram for mitk::ApplyTransformMatrixOperation:
Collaboration diagram for mitk::ApplyTransformMatrixOperation:

Public Member Functions

 ApplyTransformMatrixOperation (OperationType operationType, vtkSmartPointer< vtkMatrix4x4 > matrix, mitk::Point3D refPoint)
 Construct an operation that applies a transform matrix. More...
 
 ~ApplyTransformMatrixOperation () override
 
vtkSmartPointer< vtkMatrix4x4 > GetMatrix ()
 Get the transformation matrix. More...
 
mitk::Point3D GetReferencePoint ()
 Get the reference point. More...
 
- Public Member Functions inherited from mitk::Operation
 mitkClassMacroNoParent (Operation) virtual bool IsValid() const
 Check whether this operation is still valid and can be executed. More...
 
virtual ~Operation ()=default
 Virtual destructor. More...
 
OperationType GetOperationType ()
 Get the type identifier of this operation. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mitk::Operation
 Operation (OperationType operationType)
 Construct an operation with the given type. More...
 
 Operation (const Operation &)=default
 
 Operation (Operation &&)=default
 
Operation & operator= (const Operation &)=default
 
Operation & operator= (Operation &&)=default
 
- Protected Attributes inherited from mitk::Operation
OperationType m_OperationType
 The type identifier for this operation. More...
 

Detailed Description

Operation that applies a VTK 4x4 transform matrix to a geometry.

Encapsulates a vtkMatrix4x4 transformation and a reference point used for realigning a plane stack. Typically dispatched via the undo/redo framework.

See also
Operation
BaseGeometry

Definition at line 33 of file mitkApplyTransformMatrixOperation.h.

Constructor & Destructor Documentation

◆ ApplyTransformMatrixOperation()

mitk::ApplyTransformMatrixOperation::ApplyTransformMatrixOperation ( OperationType  operationType,
vtkSmartPointer< vtkMatrix4x4 >  matrix,
mitk::Point3D  refPoint 
)

Construct an operation that applies a transform matrix.

Parameters
[in]operationTypeThe type of operation (see mitkOperation.h).
[in]matrixThe 4x4 VTK transformation matrix to apply.
[in]refPointThe reference point for realigning the plane stack.

◆ ~ApplyTransformMatrixOperation()

mitk::ApplyTransformMatrixOperation::~ApplyTransformMatrixOperation ( )
override

Member Function Documentation

◆ GetMatrix()

vtkSmartPointer<vtkMatrix4x4> mitk::ApplyTransformMatrixOperation::GetMatrix ( )

Get the transformation matrix.

Returns
The 4x4 VTK matrix.

◆ GetReferencePoint()

mitk::Point3D mitk::ApplyTransformMatrixOperation::GetReferencePoint ( )

Get the reference point.

Returns
The 3D reference point used for plane stack realignment.

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