Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkApplyTransformMatrixOperation.cpp
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
#include "
mitkApplyTransformMatrixOperation.h
"
14
15
namespace
mitk
16
{
17
ApplyTransformMatrixOperation::ApplyTransformMatrixOperation
(
OperationType
operationType,
18
vtkSmartPointer<vtkMatrix4x4> matrix,
19
Point3D
refPoint)
20
:
Operation
(operationType), m_vtkMatrix(matrix), m_referencePoint(refPoint)
21
{
22
}
23
24
ApplyTransformMatrixOperation::~ApplyTransformMatrixOperation
() {}
25
vtkSmartPointer<vtkMatrix4x4>
ApplyTransformMatrixOperation::GetMatrix
() {
return
m_vtkMatrix; }
26
Point3D
ApplyTransformMatrixOperation::GetReferencePoint
() {
return
m_referencePoint; }
27
}
// namespace mitk
mitk::Point< ScalarType, 3 >
mitk::Operation
Base class of all Operation-classes.
Definition:
mitkOperation.h:29
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::ApplyTransformMatrixOperation::GetMatrix
vtkSmartPointer< vtkMatrix4x4 > GetMatrix()
Definition:
mitkApplyTransformMatrixOperation.cpp:25
mitk::ApplyTransformMatrixOperation::ApplyTransformMatrixOperation
ApplyTransformMatrixOperation(OperationType operationType, vtkSmartPointer< vtkMatrix4x4 > matrix, mitk::Point3D refPoint)
Operation that applies a new vtk transform matrix.
Definition:
mitkApplyTransformMatrixOperation.cpp:17
mitk::OperationType
int OperationType
Definition:
mitkOperation.h:23
mitkApplyTransformMatrixOperation.h
mitk::ApplyTransformMatrixOperation::~ApplyTransformMatrixOperation
~ApplyTransformMatrixOperation() override
Definition:
mitkApplyTransformMatrixOperation.cpp:24
mitk::ApplyTransformMatrixOperation::GetReferencePoint
mitk::Point3D GetReferencePoint()
Definition:
mitkApplyTransformMatrixOperation.cpp:26
Source
Modules
Core
src
DataManagement
mitkApplyTransformMatrixOperation.cpp
Generated on Thu Mar 12 2020 10:23:38 for Medical Imaging Interaction Toolkit by
1.8.13