Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkPlaneOperation.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 MITKPlaneOperation_H
18 #define MITKPlaneOperation_H
19 
20 #include "mitkNumericTypes.h"
21 #include "mitkPointOperation.h"
22 #include <MitkCoreExports.h>
23 
24 namespace mitk
25 {
32  {
33  public:
34  PlaneOperation(OperationType operationType, Point3D point, Vector3D normal);
35  PlaneOperation(OperationType operationType, Point3D point, Vector3D axisVec0, Vector3D axisVec1);
36 
37  virtual ~PlaneOperation();
38 
39  Vector3D GetNormal();
40  Vector3D GetAxisVec0();
41  Vector3D GetAxisVec1();
42  bool AreAxisDefined();
43 
44  private:
45  Vector3D m_Normal;
46  Vector3D m_AxisVec0;
47  Vector3D m_AxisVec1;
48  bool m_AreAxisDefined;
49  };
50 
51 } // namespace mitk
52 
53 #endif /* MITKPlaneOperation_H */
#define MITKCORE_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Operation that handles all actions on one Point.
Operation for setting a plane (defined by its origin and normal)
int OperationType
Definition: mitkOperation.h:27