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


Public Member Functions | |
| mitkClassMacro (LineOperation, CellOperation) | |
| LineOperation (OperationType operationType, int cellId, Vector3D vector, int pIdA=-1, int pIdB=-1, int id=-1) | |
| Construct a LineOperation with a displacement vector. More... | |
| LineOperation (OperationType operationType, int cellId=-1, int pIdA=-1, int pIdB=-1, int id=-1) | |
| Construct a LineOperation without a displacement vector. More... | |
| ~LineOperation () override | |
| int | GetPIdA () |
| Get the first endpoint ID. More... | |
| int | GetPIdB () |
| Get the second endpoint ID. More... | |
| int | GetId () |
| Get the line ID within the cell. More... | |
Public Member Functions inherited from mitk::CellOperation | |
| 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_PIdA |
| int | m_PIdB |
| int | m_Id |
Protected Attributes inherited from mitk::CellOperation | |
| 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 line.
Stores operation type, cell ID, two endpoint IDs, an optional line ID, and a displacement vector. Used for selecting, inserting, moving, and removing lines within cells.
Definition at line 32 of file mitkLineOperation.h.
| mitk::LineOperation::LineOperation | ( | OperationType | operationType, |
| int | cellId, | ||
| Vector3D | vector, | ||
| int | pIdA = -1, |
||
| int | pIdB = -1, |
||
| int | id = -1 |
||
| ) |
Construct a LineOperation with a displacement vector.
| [in] | operationType | The type of operation (e.g. move, add). |
| [in] | cellId | The cell identifier. |
| [in] | vector | The displacement vector. |
| [in] | pIdA | First endpoint ID (default -1 = unset). |
| [in] | pIdB | Second endpoint ID (default -1 = unset). |
| [in] | id | The line ID within the cell (default -1 = unset). |
| mitk::LineOperation::LineOperation | ( | OperationType | operationType, |
| int | cellId = -1, |
||
| int | pIdA = -1, |
||
| int | pIdB = -1, |
||
| int | id = -1 |
||
| ) |
Construct a LineOperation without a displacement vector.
| [in] | operationType | The type of operation. |
| [in] | cellId | The cell identifier (default -1). |
| [in] | pIdA | First endpoint ID (default -1). |
| [in] | pIdB | Second endpoint ID (default -1). |
| [in] | id | The line ID within the cell (default -1). |
|
inlineoverride |
Definition at line 60 of file mitkLineOperation.h.
| int mitk::LineOperation::GetId | ( | ) |
Get the line ID within the cell.
| int mitk::LineOperation::GetPIdA | ( | ) |
Get the first endpoint ID.
| int mitk::LineOperation::GetPIdB | ( | ) |
Get the second endpoint ID.
| mitk::LineOperation::mitkClassMacro | ( | LineOperation | , |
| CellOperation | |||
| ) |
|
protected |
Definition at line 84 of file mitkLineOperation.h.
|
protected |
Definition at line 82 of file mitkLineOperation.h.
|
protected |
Definition at line 83 of file mitkLineOperation.h.