Operation that handles all actions on one 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. | |
PointOperation (OperationType operationType, ScalarType timeInMS, Point3D point, int index=-1, bool selected=true, PointSpecificationType type=PTUNDEFINED) | |
Operation that handles all actions on one Point. | |
PointOperation (OperationType operationType, Point3D point, ScalarType timeInMS, int index, bool selected, PointSpecificationType type) | |
virtual | ~PointOperation () |
Point3D | GetPoint () |
int | GetIndex () |
bool | GetSelected () |
PointSpecificationType | GetPointType () |
ScalarType | GetTimeInMS () const |
Operation that handles all actions on one Point.
Stores everything for Adding, Moving and Deleting a Point.
Definition at line 35 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 |
Definition at line 21 of file mitkPointOperation.cpp.
: mitk::Operation(operationType), m_Point(point), m_Index(index), m_Selected(selected), m_Type(type), m_TimeInMS(0) {}
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()); |
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 |
Definition at line 25 of file mitkPointOperation.cpp.
: mitk::Operation(operationType), m_Point(point), m_Index(index), m_Selected(selected), m_Type(type), m_TimeInMS(timeInMS) {}
mitk::PointOperation::PointOperation | ( | OperationType | operationType, |
Point3D | point, | ||
ScalarType | timeInMS, | ||
int | index, | ||
bool | selected, | ||
PointSpecificationType | type | ||
) |
mitk::PointOperation::~PointOperation | ( | ) | [virtual] |
Definition at line 29 of file mitkPointOperation.cpp.
{ }
int mitk::PointOperation::GetIndex | ( | ) |
Definition at line 38 of file mitkPointOperation.cpp.
{
return m_Index;
}
mitk::Point3D mitk::PointOperation::GetPoint | ( | ) |
Definition at line 33 of file mitkPointOperation.cpp.
Referenced by mitk::CoordinateSupplier::ExecuteAction(), mitk::SlicedGeometry3D::ExecuteOperation(), mitk::Geometry3D::ExecuteOperation(), and mitkMeshTest().
{
return m_Point;
}
mitk::PointSpecificationType mitk::PointOperation::GetPointType | ( | ) |
Definition at line 48 of file mitkPointOperation.cpp.
{
return m_Type;
}
bool mitk::PointOperation::GetSelected | ( | ) |
Definition at line 43 of file mitkPointOperation.cpp.
{
return m_Selected;
}
mitk::ScalarType mitk::PointOperation::GetTimeInMS | ( | ) | const |
Definition at line 53 of file mitkPointOperation.cpp.
{
return m_TimeInMS;
}