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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkLineOperation.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 MITKLINEOPERATION_H_INCLUDED
18
#define MITKLINEOPERATION_H_INCLUDED
19
20
#include "
MitkDataTypesExtExports.h
"
21
#include "
mitkCellOperation.h
"
22
#include "
mitkCommon.h
"
23
24
namespace
mitk
25
{
26
//##Documentation
27
//## @brief Operation, that holds everything necessary for an operation on a line.
28
//##
29
//## Stores everything for de-/ selecting, inserting , moving and removing a line.
30
//## @ingroup Undo
31
class
MITKDATATYPESEXT_EXPORT
LineOperation
:
public
mitk::CellOperation
32
{
33
public
:
34
mitkClassMacro
(
LineOperation
,
CellOperation
);
35
//##Documentation
36
//##@brief constructor.
37
//##
38
//## @param operationType is the type of that operation (see mitkOperation.h; e.g. move or add; Information for
39
//StateMachine::ExecuteOperation());
40
//## @param cellId Id of the cell
41
//## @param vector is for movement
42
//## @param pIdA and pIdB are Id's of two points
43
//## @param id is the Id of a line in a cell
44
LineOperation
(
OperationType
operationType,
int
cellId,
Vector3D
vector,
int
pIdA = -1,
int
pIdB = -1,
int
id
= -1);
45
LineOperation
(
OperationType
operationType,
int
cellId = -1,
int
pIdA = -1,
int
pIdB = -1,
int
id
= -1);
46
47
virtual
~LineOperation
(){};
48
49
// int GetCellId();
50
int
GetPIdA();
51
int
GetPIdB();
52
int
GetId();
53
54
protected
:
55
// int m_CellId;
56
int
m_PIdA
;
57
int
m_PIdB
;
58
int
m_Id
;
59
};
60
}
// namespace mitk
61
#endif
/* MITKLINEOPERATION_H_INCLUDED*/
mitk::Vector< ScalarType, 3 >
MITKDATATYPESEXT_EXPORT
#define MITKDATATYPESEXT_EXPORT
Definition:
MitkDataTypesExtExports.h:15
MitkDataTypesExtExports.h
mitkCommon.h
mitk::LineOperation::m_Id
int m_Id
Definition:
mitkLineOperation.h:58
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::LineOperation
Operation, that holds everything necessary for an operation on a line.
Definition:
mitkLineOperation.h:31
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:44
mitk::LineOperation::m_PIdA
int m_PIdA
Definition:
mitkLineOperation.h:56
mitk::CellOperation
Operation, that holds everything necessary for an operation on a cell.
Definition:
mitkCellOperation.h:31
mitk::LineOperation::m_PIdB
int m_PIdB
Definition:
mitkLineOperation.h:57
mitk::LineOperation::~LineOperation
virtual ~LineOperation()
Definition:
mitkLineOperation.h:47
mitkCellOperation.h
mitk::OperationType
int OperationType
Definition:
mitkOperation.h:27
git
MITK
Modules
DataTypesExt
include
mitkLineOperation.h
Generated on Fri Feb 3 2017 20:52:02 for Medical Imaging Interaction Toolkit by
1.8.9.1