Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkPlaneOperation.cpp
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 #include "mitkPlaneOperation.h"
14 #include "mitkLogMacros.h"
15 
16 namespace mitk
17 {
19  : PointOperation(operationType, point), m_Normal(normal), m_AreAxisDefined(false)
20  {
21  }
22 
23  PlaneOperation::PlaneOperation(OperationType operationType, Point3D point, Vector3D axisVec0, Vector3D axisVec1)
24  : PointOperation(operationType, point), m_AxisVec0(axisVec0), m_AxisVec1(axisVec1), m_AreAxisDefined(true)
25  {
26  }
27 
32  bool mitk::PlaneOperation::AreAxisDefined() { return m_AreAxisDefined; }
33 } // namespace mitk
PlaneOperation(OperationType operationType, Point3D point, Vector3D normal)
DataCollection - Class to facilitate loading/accessing structured data.
Operation that handles all actions on one Point.
int OperationType
Definition: mitkOperation.h:23