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
mitkRestorePlanePositionOperation.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,
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
#ifndef mitkRestorePlanePositionOperation_h_Included
18
#define mitkRestorePlanePositionOperation_h_Included
19
20
#include "
mitkCommon.h
"
21
#include "
mitkNumericTypes.h
"
22
#include "
mitkPointOperation.h
"
23
24
namespace
mitk
25
{
26
//##Documentation
27
//## TODO
28
29
class
MITKCORE_EXPORT
RestorePlanePositionOperation
:
public
Operation
30
{
31
public
:
32
//##Documentation
33
//##@brief Operation that handles all actions on one Point.
34
//##
35
//## @param operationType is the type of the operation (see mitkOperation.h; e.g. move or add; Information for
36
// StateMachine::ExecuteOperation());
37
//## @param point is the information of the point to add or is the information to change a point into
38
//## @param index is e.g. the position in a list which describes the element to change
39
// PointOperation(OperationType operationType, Point3D point, int index = -1, bool selected = true,
40
// PointSpecificationType type = PTUNDEFINED);
41
42
RestorePlanePositionOperation
(
OperationType
operationType,
43
ScalarType
width,
44
ScalarType
height,
45
Vector3D
spacing,
46
unsigned
int
pos,
47
Vector3D
direction,
48
AffineTransform3D::Pointer
transform);
49
50
virtual
~
RestorePlanePositionOperation
();
51
52
Vector3D
GetDirectionVector();
53
54
ScalarType
GetWidth();
55
56
ScalarType
GetHeight();
57
58
Vector3D
GetSpacing();
59
60
unsigned
int
GetPos();
61
62
AffineTransform3D::Pointer
GetTransform();
63
64
private
:
65
Vector3D
m_Spacing;
66
67
Vector3D
m_DirectionVector;
68
69
ScalarType
m_Width;
70
71
ScalarType
m_Height;
72
73
unsigned
int
m_Pos;
74
75
AffineTransform3D::Pointer
m_Transform;
76
};
77
}
// namespace mitk
78
#endif
mitk::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkRenderingManager.h:389
mitk::Vector< ScalarType, 3 >
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::RestorePlanePositionOperation
Definition:
mitkRestorePlanePositionOperation.h:29
mitk::Operation
Base class of all Operation-classes.
Definition:
mitkOperation.h:33
mitk::ScalarType
double ScalarType
Definition:
mitkNumericConstants.h:24
mitkCommon.h
mitkPointOperation.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::OperationType
int OperationType
Definition:
mitkOperation.h:27
mitkNumericTypes.h
git
MITK
Modules
Core
include
mitkRestorePlanePositionOperation.h
Generated on Fri Feb 3 2017 20:52:07 for Medical Imaging Interaction Toolkit by
1.8.9.1