|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Operation that handles all actions on a single point. More...
#include <mitkPointOperation.h>


Public Member Functions | |
| PointOperation (OperationType operationType, Point3D point, int index=-1, bool selected=true, PointSpecificationType type=PTUNDEFINED) | |
| Construct a PointOperation without a time stamp. More... | |
| PointOperation (OperationType operationType, ScalarType timeInMS, Point3D point, int index=-1, bool selected=true, PointSpecificationType type=PTUNDEFINED) | |
| Construct a PointOperation with a time stamp. More... | |
| ~PointOperation () override | |
| Point3D | GetPoint () |
| Get the 3D point coordinates stored in this operation. More... | |
| int | GetIndex () |
| Get the index position of the point in the point set. More... | |
| bool | GetSelected () |
| Get whether the point is selected. More... | |
| PointSpecificationType | GetPointType () |
| Get the point specification type. More... | |
| ScalarType | GetTimeInMS () const |
| Get the time stamp of this operation in milliseconds. 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... | |
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 |
Protected Attributes inherited from mitk::Operation | |
| OperationType | m_OperationType |
| The type identifier for this operation. More... | |
Operation that handles all actions on a single point.
Stores the data needed for adding, moving, and deleting a point, including position, index, selection state, and point type.
Definition at line 33 of file mitkPointOperation.h.
| mitk::PointOperation::PointOperation | ( | OperationType | operationType, |
| Point3D | point, | ||
| int | index = -1, |
||
| bool | selected = true, |
||
| PointSpecificationType | type = PTUNDEFINED |
||
| ) |
Construct a PointOperation without a time stamp.
| operationType | The type of operation (e.g. OpINSERT, OpMOVE, OpREMOVE). |
| point | The 3D coordinates of the point. |
| index | The index position in the point set (-1 if unspecified). |
| selected | Whether the point is selected. |
| type | The point specification type. |
| mitk::PointOperation::PointOperation | ( | OperationType | operationType, |
| ScalarType | timeInMS, | ||
| Point3D | point, | ||
| int | index = -1, |
||
| bool | selected = true, |
||
| PointSpecificationType | type = PTUNDEFINED |
||
| ) |
Construct a PointOperation with a time stamp.
| operationType | The type of operation (e.g. OpINSERT, OpMOVE, OpREMOVE). |
| timeInMS | The time stamp in milliseconds. |
| point | The 3D coordinates of the point. |
| index | The index position in the point set (-1 if unspecified). |
| selected | Whether the point is selected. |
| type | The point specification type. |
|
override |
| int mitk::PointOperation::GetIndex | ( | ) |
Get the index position of the point in the point set.
| Point3D mitk::PointOperation::GetPoint | ( | ) |
Get the 3D point coordinates stored in this operation.
| PointSpecificationType mitk::PointOperation::GetPointType | ( | ) |
Get the point specification type.
| bool mitk::PointOperation::GetSelected | ( | ) |
Get whether the point is selected.
| ScalarType mitk::PointOperation::GetTimeInMS | ( | ) | const |
Get the time stamp of this operation in milliseconds.