Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef mitkApplyTransformMatrixOperation_h_Included
18
#define mitkApplyTransformMatrixOperation_h_Included
19
20
#include "
mitkCommon.h
"
21
#include "
mitkPointOperation.h
"
22
23
#include <vtkMatrix4x4.h>
24
#include <vtkSmartPointer.h>
25
26
namespace
mitk
27
{
28
class
MITKCORE_EXPORT
ApplyTransformMatrixOperation
:
public
Operation
29
{
30
public
:
31
//##Documentation
32
//##@brief Operation that applies a new vtk transform matrix.
33
//##
34
//## @param operationType is the type of the operation (see mitkOperation.h; e.g. move or add; Information for
35
// StateMachine::ExecuteOperation());
36
//## @param matrix is the vtk 4x4 vtk matrix of the transformation
37
//## @param refPoint is the reference point for realigning the plane stack
38
39
ApplyTransformMatrixOperation
(
OperationType
operationType,
40
vtkSmartPointer<vtkMatrix4x4> matrix,
41
mitk::Point3D
refPoint);
42
43
virtual
~
ApplyTransformMatrixOperation
();
44
45
vtkSmartPointer<vtkMatrix4x4> GetMatrix();
46
47
mitk::Point3D
GetReferencePoint();
48
49
private
:
50
vtkSmartPointer<vtkMatrix4x4> m_vtkMatrix;
51
mitk::Point3D
m_referencePoint;
52
};
53
}
// namespace mitk
54
#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:33
mitkCommon.h
mitkPointOperation.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::ApplyTransformMatrixOperation
Definition:
mitkApplyTransformMatrixOperation.h:28
mitk::OperationType
int OperationType
Definition:
mitkOperation.h:27
git
MITK
Modules
Core
include
mitkApplyTransformMatrixOperation.h
Generated on Fri Feb 3 2017 20:51:53 for Medical Imaging Interaction Toolkit by
1.8.9.1