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
mitkCellOperation.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 MITKCELLOPERATION_H_INCLUDED
18
#define MITKCELLOPERATION_H_INCLUDED
19
20
#include "
MitkDataTypesExtExports.h
"
21
#include "
mitkCommon.h
"
22
#include "
mitkOperation.h
"
23
#include "
mitkVector.h
"
24
25
namespace
mitk
26
{
27
//##Documentation
28
//## @brief Operation, that holds everything necessary for an operation on a cell.
29
//##
30
//## @ingroup Undo
31
class
MITKDATATYPESEXT_EXPORT
CellOperation
:
public
Operation
32
{
33
public
:
34
mitkClassMacro
(
CellOperation
,
Operation
);
35
//##Documentation
36
//##@brief constructor
37
//##
38
//## @param
39
//## operationType is the type of that operation (see mitkOperation.h; e.g. move or add; Information for
40
//StateMachine::ExecuteOperation());
41
//## cellId: Id of the cell and a vector if needed
42
CellOperation
(
OperationType
operationType,
int
cellId,
Vector3D
vector);
43
44
CellOperation
(
OperationType
operationType,
int
cellId);
45
46
virtual
~CellOperation
(){};
47
48
int
GetCellId
() {
return
m_CellId; };
49
Vector3D
GetVector() {
return
m_Vector; };
50
protected
:
51
int
m_CellId;
52
Vector3D
m_Vector
;
53
};
54
}
// namespace mitk
55
#endif
/* MITKCELLOPERATION_H_INCLUDED*/
mitk::Vector< ScalarType, 3 >
MITKDATATYPESEXT_EXPORT
#define MITKDATATYPESEXT_EXPORT
Definition:
MitkDataTypesExtExports.h:15
MitkDataTypesExtExports.h
mitk::Operation
Base class of all Operation-classes.
Definition:
mitkOperation.h:33
mitkCommon.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::CellOperation::m_Vector
Vector3D m_Vector
Definition:
mitkCellOperation.h:52
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:44
mitk::CellOperation
Operation, that holds everything necessary for an operation on a cell.
Definition:
mitkCellOperation.h:31
mitk::CellOperation::~CellOperation
virtual ~CellOperation()
Definition:
mitkCellOperation.h:46
mitk::OperationType
int OperationType
Definition:
mitkOperation.h:27
mitkVector.h
mitkOperation.h
mitk::CellOperation::GetCellId
int GetCellId()
Definition:
mitkCellOperation.h:48
git
MITK
Modules
DataTypesExt
include
mitkCellOperation.h
Generated on Fri Feb 3 2017 20:51:54 for Medical Imaging Interaction Toolkit by
1.8.9.1