Medical Imaging Interaction Toolkit  2018.4.99-1640525a
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 (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 MITKPlaneOperation_H
14 #define MITKPlaneOperation_H
15 
16 #include "mitkNumericTypes.h"
17 #include "mitkPointOperation.h"
18 #include <MitkCoreExports.h>
19 
20 namespace mitk
21 {
28  {
29  public:
30  PlaneOperation(OperationType operationType, Point3D point, Vector3D normal);
31  PlaneOperation(OperationType operationType, Point3D point, Vector3D axisVec0, Vector3D axisVec1);
32 
33  ~PlaneOperation() override;
34 
35  Vector3D GetNormal();
36  Vector3D GetAxisVec0();
37  Vector3D GetAxisVec1();
38  bool AreAxisDefined();
39 
40  private:
41  Vector3D m_Normal;
42  Vector3D m_AxisVec0;
43  Vector3D m_AxisVec1;
44  bool m_AreAxisDefined;
45  };
46 
47 } // namespace mitk
48 
49 #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:23