Public Member Functions

mitk::DrawOperation Class Reference
[Undo Classes]

DrawOperation, that handles all actions on seeds. More...

#include <mitkDrawOperation.h>

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

List of all members.

Public Member Functions

 DrawOperation (OperationType operationType, Point3D point, Point3D last_point, int draw_state, int radius)
 DrawOperation, that handles all actions on seeds.
virtual ~DrawOperation ()
Point3D GetPoint ()
Point3D GetLastPoint ()
int GetDrawState ()
int GetRadius ()
SeedsImage::Pointer GetSeedsImage ()
SeedsImage::Pointer GetLastSeedsImage ()

Detailed Description

DrawOperation, that handles all actions on seeds.

Stores everything for adding and deleting seeds.

Definition at line 36 of file mitkDrawOperation.h.


Constructor & Destructor Documentation

mitk::DrawOperation::DrawOperation ( OperationType  operationType,
Point3D  point,
Point3D  last_point,
int  draw_state,
int  radius 
)

DrawOperation, that handles all actions on seeds.

Parameters:
operationTypeis the type of that operation (see mitkOperation.h; e.g. move or add; Information for StateMachine::ExecuteOperation());
pointis the information of the seedpoint to add to the seedsimage
last_pointis the information of the point added before
draw_staterepresents the seeds type e.g foreground or background seeds
radiusis the radius of seeds

Definition at line 22 of file mitkDrawOperation.cpp.

: Operation(operationType), m_Point(point), m_LastPoint(last_point), m_DrawState(draw_state), m_Radius(radius)
{}
mitk::DrawOperation::~DrawOperation (  ) [virtual]

Definition at line 27 of file mitkDrawOperation.cpp.

{
}

Member Function Documentation

int mitk::DrawOperation::GetDrawState (  )

Definition at line 42 of file mitkDrawOperation.cpp.

Referenced by mitk::SeedsImage::ExecuteOperation().

{
  return m_DrawState;
}
mitk::Point3D mitk::DrawOperation::GetLastPoint (  )

Definition at line 37 of file mitkDrawOperation.cpp.

{
  return m_LastPoint;
}
mitk::SeedsImage::Pointer mitk::DrawOperation::GetLastSeedsImage (  )

Definition at line 57 of file mitkDrawOperation.cpp.

{
  return m_LastSeedsImage;
}
mitk::Point3D mitk::DrawOperation::GetPoint (  )

Definition at line 32 of file mitkDrawOperation.cpp.

Referenced by mitk::SeedsImage::ExecuteOperation().

{
  return m_Point;
}
int mitk::DrawOperation::GetRadius (  )

Definition at line 47 of file mitkDrawOperation.cpp.

Referenced by mitk::SeedsImage::ExecuteOperation().

{
  return m_Radius;
}
mitk::SeedsImage::Pointer mitk::DrawOperation::GetSeedsImage (  )

Definition at line 52 of file mitkDrawOperation.cpp.

{
  return m_SeedsImage;
}

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