Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitk::PointOperation Class Reference

Operation that handles all actions on one Point. Stores everything for Adding, Moving and Deleting a Point. More...

#include <mitkPointOperation.h>

Inheritance diagram for mitk::PointOperation:
Collaboration diagram for mitk::PointOperation:

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< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Static Public Member Functions inherited from mitk::Operation
static const char * GetStaticNameOfClass ()
 
- Protected Attributes inherited from mitk::Operation
OperationType m_OperationType
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PointOperation() [1/2]

mitk::PointOperation::PointOperation ( OperationType  operationType,
Point3D  point,
int  index = -1,
bool  selected = true,
PointSpecificationType  type = PTUNDEFINED 
)

Operation that handles all actions on one Point.

Parameters
operationTypeis the type of the operation (see mitkOperation.h; e.g. move or add; Information for StateMachine::ExecuteOperation());
pointis the information of the point to add or is the information to change a point into
indexis e.g. the position in a list which describes the element to change
selected
type

◆ PointOperation() [2/2]

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.

Parameters
operationTypeis the type of the operation (see mitkOperation.h; e.g. move or add; Information for StateMachine::ExecuteOperation());
timeInMS
pointis the information of the point to add or is the information to change a point into
indexis e.g. the position in a list which describes the element to change
selected
type

◆ ~PointOperation()

mitk::PointOperation::~PointOperation ( )
override

Member Function Documentation

◆ GetIndex()

int mitk::PointOperation::GetIndex ( )

◆ GetPoint()

Point3D mitk::PointOperation::GetPoint ( )

◆ GetPointType()

PointSpecificationType mitk::PointOperation::GetPointType ( )

◆ GetSelected()

bool mitk::PointOperation::GetSelected ( )

◆ GetTimeInMS()

ScalarType mitk::PointOperation::GetTimeInMS ( ) const

The documentation for this class was generated from the following file: