Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Operation that handles all actions on one Point. Stores everything for Adding, Moving and Deleting a Point. More...
#include <mitkPointOperation.h>
Public Member Functions | |
PointOperation (OperationType operationType, Point3D point, int index=-1, bool selected=true, PointSpecificationType type=PTUNDEFINED) | |
Operation that handles all actions on one Point. More... | |
PointOperation (OperationType operationType, ScalarType timeInMS, Point3D point, int index=-1, bool selected=true, PointSpecificationType type=PTUNDEFINED) | |
Operation that handles all actions on one Point. More... | |
~PointOperation () override | |
Point3D | GetPoint () |
int | GetIndex () |
bool | GetSelected () |
PointSpecificationType | GetPointType () |
ScalarType | GetTimeInMS () const |
Public Member Functions inherited from mitk::Operation | |
virtual std::vector< std::string > | GetClassHierarchy () const |
itkTypeMacroNoParent (Operation) Operation(OperationType operationType) | |
virtual | ~Operation () |
OperationType | GetOperationType () |
Additional Inherited Members | |
Public Types inherited from mitk::Operation | |
typedef Operation | Self |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Static Public Member Functions inherited from mitk::Operation | |
static const char * | GetStaticNameOfClass () |
Protected Attributes inherited from mitk::Operation | |
OperationType | m_OperationType |
Operation that handles all actions on one Point. Stores everything for Adding, Moving and Deleting a Point.
Definition at line 26 of file mitkPointOperation.h.
mitk::PointOperation::PointOperation | ( | OperationType | operationType, |
Point3D | point, | ||
int | index = -1 , |
||
bool | selected = true , |
||
PointSpecificationType | type = PTUNDEFINED |
||
) |
Operation that handles all actions on one Point.
operationType | is the type of the operation (see mitkOperation.h; e.g. move or add; Information for StateMachine::ExecuteOperation()); |
point | is the information of the point to add or is the information to change a point into |
index | is e.g. the position in a list which describes the element to change |
selected | |
type |
mitk::PointOperation::PointOperation | ( | OperationType | operationType, |
ScalarType | timeInMS, | ||
Point3D | point, | ||
int | index = -1 , |
||
bool | selected = true , |
||
PointSpecificationType | type = PTUNDEFINED |
||
) |
Operation that handles all actions on one Point.
operationType | is the type of the operation (see mitkOperation.h; e.g. move or add; Information for StateMachine::ExecuteOperation()); |
timeInMS | |
point | is the information of the point to add or is the information to change a point into |
index | is e.g. the position in a list which describes the element to change |
selected | |
type |
|
override |
int mitk::PointOperation::GetIndex | ( | ) |
Point3D mitk::PointOperation::GetPoint | ( | ) |
PointSpecificationType mitk::PointOperation::GetPointType | ( | ) |
bool mitk::PointOperation::GetSelected | ( | ) |
ScalarType mitk::PointOperation::GetTimeInMS | ( | ) | const |