Medical Imaging Interaction Toolkit  2024.06.00
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
mitkPointOperation.h
mitk::PlaneOperation
Operation for setting a plane (defined by its origin and normal)
Definition: mitkPlaneOperation.h:27
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::PointOperation
Operation that handles all actions on one Point. Stores everything for Adding, Moving and Deleting a ...
Definition: mitkPointOperation.h:26
mitk::Vector< ScalarType, 3 >
MitkCoreExports.h
mitk::Point< ScalarType, 3 >
mitkNumericTypes.h
mitk::OperationType
int OperationType
Definition: mitkOperation.h:23
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15