Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkApplyTransformMatrixOperation.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 mitkApplyTransformMatrixOperation_h_Included
14
#define mitkApplyTransformMatrixOperation_h_Included
15
16
#include "
mitkCommon.h
"
17
#include "
mitkPointOperation.h
"
18
19
#include <vtkMatrix4x4.h>
20
#include <vtkSmartPointer.h>
21
22
namespace
mitk
23
{
24
class
MITKCORE_EXPORT
ApplyTransformMatrixOperation
:
public
Operation
25
{
26
public
:
27
//##Documentation
28
//##@brief Operation that applies a new vtk transform matrix.
29
//##
30
//## @param operationType is the type of the operation (see mitkOperation.h; e.g. move or add; Information for
31
// StateMachine::ExecuteOperation());
32
//## @param matrix is the vtk 4x4 vtk matrix of the transformation
33
//## @param refPoint is the reference point for realigning the plane stack
34
35
ApplyTransformMatrixOperation
(
OperationType
operationType,
36
vtkSmartPointer<vtkMatrix4x4> matrix,
37
mitk::Point3D
refPoint);
38
39
~
ApplyTransformMatrixOperation
()
override
;
40
41
vtkSmartPointer<vtkMatrix4x4> GetMatrix();
42
43
mitk::Point3D
GetReferencePoint();
44
45
private
:
46
vtkSmartPointer<vtkMatrix4x4> m_vtkMatrix;
47
mitk::Point3D
m_referencePoint;
48
};
49
}
// namespace mitk
50
#endif
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::Point< ScalarType, 3 >
mitk::Operation
Base class of all Operation-classes.
Definition:
mitkOperation.h:29
mitkCommon.h
mitkPointOperation.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::ApplyTransformMatrixOperation
Definition:
mitkApplyTransformMatrixOperation.h:24
mitk::OperationType
int OperationType
Definition:
mitkOperation.h:23
Source
Modules
Core
include
mitkApplyTransformMatrixOperation.h
Generated on Thu Mar 12 2020 10:23:38 for Medical Imaging Interaction Toolkit by
1.8.13