Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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
{
22
PlaneOperation::PlaneOperation
(
OperationType
operationType,
Point3D
point,
Vector3D
normal)
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
32
PlaneOperation::~PlaneOperation
() {}
33
Vector3D
mitk::PlaneOperation::GetNormal
() {
return
m_Normal; }
34
Vector3D
mitk::PlaneOperation::GetAxisVec0
() {
return
m_AxisVec0; }
35
Vector3D
mitk::PlaneOperation::GetAxisVec1
() {
return
m_AxisVec1; }
36
bool
mitk::PlaneOperation::AreAxisDefined
() {
return
m_AreAxisDefined; }
37
}
// namespace mitk
mitk::PlaneOperation::GetNormal
Vector3D GetNormal()
Definition:
mitkPlaneOperation.cpp:33
mitk::Vector< ScalarType, 3 >
mitk::Point< ScalarType, 3 >
mitk::PlaneOperation::PlaneOperation
PlaneOperation(OperationType operationType, Point3D point, Vector3D normal)
Definition:
mitkPlaneOperation.cpp:22
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::PlaneOperation::AreAxisDefined
bool AreAxisDefined()
Definition:
mitkPlaneOperation.cpp:36
mitkPlaneOperation.h
mitkLogMacros.h
mitk::PointOperation
Operation that handles all actions on one Point.
Definition:
mitkPointOperation.h:31
mitk::PlaneOperation::GetAxisVec0
Vector3D GetAxisVec0()
Definition:
mitkPlaneOperation.cpp:34
mitk::PlaneOperation::~PlaneOperation
virtual ~PlaneOperation()
Definition:
mitkPlaneOperation.cpp:32
mitk::OperationType
int OperationType
Definition:
mitkOperation.h:27
mitk::PlaneOperation::GetAxisVec1
Vector3D GetAxisVec1()
Definition:
mitkPlaneOperation.cpp:35
git
MITK
Modules
Core
src
DataManagement
mitkPlaneOperation.cpp
Generated on Fri Feb 3 2017 20:52:06 for Medical Imaging Interaction Toolkit by
1.8.9.1