Medical Imaging Interaction Toolkit  2016.11.0
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,
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 
18 
19 namespace mitk
20 {
22  vtkSmartPointer<vtkMatrix4x4> matrix,
23  Point3D refPoint)
24  : Operation(operationType), m_vtkMatrix(matrix), m_referencePoint(refPoint)
25  {
26  }
27 
29  vtkSmartPointer<vtkMatrix4x4> ApplyTransformMatrixOperation::GetMatrix() { return m_vtkMatrix; }
31 } // namespace mitk
Base class of all Operation-classes.
Definition: mitkOperation.h:33
DataCollection - Class to facilitate loading/accessing structured data.
ApplyTransformMatrixOperation(OperationType operationType, vtkSmartPointer< vtkMatrix4x4 > matrix, mitk::Point3D refPoint)
Operation that applies a new vtk transform matrix.
int OperationType
Definition: mitkOperation.h:27