Medical Imaging Interaction Toolkit  2016.11.0
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,
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 #include "mitkPlaneOperation.h"
18 #include "mitkLogMacros.h"
19 
20 namespace mitk
21 {
23  : PointOperation(operationType, point), m_Normal(normal), m_AreAxisDefined(false)
24  {
25  }
26 
27  PlaneOperation::PlaneOperation(OperationType operationType, Point3D point, Vector3D axisVec0, Vector3D axisVec1)
28  : PointOperation(operationType, point), m_AxisVec0(axisVec0), m_AxisVec1(axisVec1), m_AreAxisDefined(true)
29  {
30  }
31 
36  bool mitk::PlaneOperation::AreAxisDefined() { return m_AreAxisDefined; }
37 } // 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:27