Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
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 (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkCellOperation_h
14
#define mitkCellOperation_h
15
16
#include "
MitkDataTypesExtExports.h
"
17
#include "
mitkCommon.h
"
18
#include "
mitkOperation.h
"
19
#include "
mitkVector.h
"
20
21
namespace
mitk
22
{
23
//##Documentation
24
//## @brief Operation, that holds everything necessary for an operation on a cell.
25
//##
26
//## @ingroup Undo
27
class
MITKDATATYPESEXT_EXPORT
CellOperation
:
public
Operation
28
{
29
public
:
30
mitkClassMacro
(
CellOperation
,
Operation
);
31
//##Documentation
32
//##@brief constructor
33
//##
34
//## @param operationType is the type of that operation (see mitkOperation.h; e.g. move or add; Information for StateMachine::ExecuteOperation());
35
//## @param cellId Id of the cell and a vector if needed
36
//## @param vector
37
CellOperation
(
OperationType
operationType,
int
cellId,
Vector3D
vector);
38
39
CellOperation
(
OperationType
operationType,
int
cellId);
40
41
~CellOperation
()
override
{};
42
43
int
GetCellId
() {
return
m_CellId; };
44
Vector3D
GetVector() {
return
m_Vector; };
45
protected
:
46
int
m_CellId;
47
Vector3D
m_Vector
;
48
};
49
}
// namespace mitk
50
#endif
mitk::CellOperation
Operation, that holds everything necessary for an operation on a cell.
Definition:
mitkCellOperation.h:27
mitk::CellOperation::~CellOperation
~CellOperation() override
Definition:
mitkCellOperation.h:41
mitk::Operation
Base class of all Operation-classes.
Definition:
mitkOperation.h:29
MitkDataTypesExtExports.h
MITKDATATYPESEXT_EXPORT
#define MITKDATATYPESEXT_EXPORT
Definition:
MitkDataTypesExtExports.h:15
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::CellOperation::m_Vector
Vector3D m_Vector
Definition:
mitkCellOperation.h:47
mitk::Vector< ScalarType, 3 >
mitkCommon.h
mitk::OperationType
int OperationType
Definition:
mitkOperation.h:23
mitkOperation.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::CellOperation::GetCellId
int GetCellId()
Definition:
mitkCellOperation.h:43
mitkVector.h
src
MITK
Modules
DataTypesExt
include
mitkCellOperation.h
Generated on Mon Dec 23 2024 02:13:16 for Medical Imaging Interaction Toolkit by
1.8.17