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 {
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 
36  vtkSmartPointer<vtkMatrix4x4> matrix,
37  mitk::Point3D refPoint);
38 
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
#define MITKCORE_EXPORT
Base class of all Operation-classes.
Definition: mitkOperation.h:29
DataCollection - Class to facilitate loading/accessing structured data.
int OperationType
Definition: mitkOperation.h:23