|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Operation that holds everything necessary for an operation on a cell. More...
#include <mitkCellOperation.h>


Public Member Functions | |
| mitkClassMacro (CellOperation, Operation) | |
| CellOperation (OperationType operationType, int cellId, Vector3D vector) | |
| Construct a CellOperation with a displacement vector. More... | |
| CellOperation (OperationType operationType, int cellId) | |
| Construct a CellOperation without a displacement vector. More... | |
| ~CellOperation () override | |
| int | GetCellId () |
| Get the cell identifier. More... | |
| Vector3D | GetVector () |
| Get the displacement vector. More... | |
Public Member Functions inherited from mitk::Operation | |
| mitkClassMacroNoParent (Operation) virtual bool IsValid() const | |
| Check whether this operation is still valid and can be executed. More... | |
| virtual | ~Operation ()=default |
| Virtual destructor. More... | |
| OperationType | GetOperationType () |
| Get the type identifier of this operation. More... | |
Protected Attributes | |
| int | m_CellId |
| Vector3D | m_Vector |
Protected Attributes inherited from mitk::Operation | |
| OperationType | m_OperationType |
| The type identifier for this operation. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mitk::Operation | |
| Operation (OperationType operationType) | |
| Construct an operation with the given type. More... | |
| Operation (const Operation &)=default | |
| Operation (Operation &&)=default | |
| Operation & | operator= (const Operation &)=default |
| Operation & | operator= (Operation &&)=default |
Operation that holds everything necessary for an operation on a cell.
Stores the operation type, cell identifier, and an optional displacement vector for undo/redo support.
Definition at line 32 of file mitkCellOperation.h.
| mitk::CellOperation::CellOperation | ( | OperationType | operationType, |
| int | cellId, | ||
| Vector3D | vector | ||
| ) |
Construct a CellOperation with a displacement vector.
| [in] | operationType | The type of operation (e.g. move, add). |
| [in] | cellId | The identifier of the cell to operate on. |
| [in] | vector | The displacement or direction vector. |
| mitk::CellOperation::CellOperation | ( | OperationType | operationType, |
| int | cellId | ||
| ) |
Construct a CellOperation without a displacement vector.
| [in] | operationType | The type of operation. |
| [in] | cellId | The identifier of the cell to operate on. |
|
inlineoverride |
Definition at line 54 of file mitkCellOperation.h.
|
inline |
|
inline |
Get the displacement vector.
Definition at line 66 of file mitkCellOperation.h.
| mitk::CellOperation::mitkClassMacro | ( | CellOperation | , |
| Operation | |||
| ) |
|
protected |
Definition at line 68 of file mitkCellOperation.h.
|
protected |
Definition at line 69 of file mitkCellOperation.h.