DrawOperation, that handles all actions on seeds. More...
#include <mitkDrawOperation.h>


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 () |
DrawOperation, that handles all actions on seeds.
Stores everything for adding and deleting seeds.
Definition at line 36 of file mitkDrawOperation.h.
| mitk::DrawOperation::DrawOperation | ( | OperationType | operationType, |
| Point3D | point, | ||
| Point3D | last_point, | ||
| int | draw_state, | ||
| int | radius | ||
| ) |
DrawOperation, that handles all actions on seeds.
| operationType | is the type of that operation (see mitkOperation.h; e.g. move or add; Information for StateMachine::ExecuteOperation()); |
| point | is the information of the seedpoint to add to the seedsimage |
| last_point | is the information of the point added before |
| draw_state | represents the seeds type e.g foreground or background seeds |
| radius | is 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.
{
}
| 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;
}
1.7.2