Medical Imaging Interaction Toolkit  2016.11.0
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,
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 {
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 
40  vtkSmartPointer<vtkMatrix4x4> matrix,
41  mitk::Point3D refPoint);
42 
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
#define MITKCORE_EXPORT
Base class of all Operation-classes.
Definition: mitkOperation.h:33
DataCollection - Class to facilitate loading/accessing structured data.
int OperationType
Definition: mitkOperation.h:27