Public Member Functions

mitk::PointOperation Class Reference
[Undo Classes]

Operation that handles all actions on one Point. More...

#include <mitkPointOperation.h>

Inheritance diagram for mitk::PointOperation:
Inheritance graph
[legend]
Collaboration diagram for mitk::PointOperation:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

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

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.

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

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.

{
}

Member Function Documentation

int mitk::PointOperation::GetIndex (  )

Definition at line 38 of file mitkPointOperation.cpp.

{
  return m_Index;
}
mitk::Point3D mitk::PointOperation::GetPoint (  )
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;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines