Paintbrush tool for InteractiveSegmentation. More...
#include <mitkDrawPaintbrushTool.h>
Public Types | |
typedef DrawPaintbrushTool | Self |
typedef PaintbrushTool | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer < const Self > | ConstPointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual const char ** | GetXPM () const |
Returns an icon in the XPM format. | |
virtual const char * | GetName () const |
Returns the name of this tool. Make it short! | |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
DrawPaintbrushTool () | |
virtual | ~DrawPaintbrushTool () |
Paintbrush tool for InteractiveSegmentation.
Simple paintbrush drawing tool. Right now there are only circular pens of varying size.
This class specified only the drawing "color" for the super class PaintbrushTool.
Definition at line 44 of file mitkDrawPaintbrushTool.h.
typedef itk::SmartPointer<const Self> mitk::DrawPaintbrushTool::ConstPointer |
Reimplemented from mitk::PaintbrushTool.
Definition at line 48 of file mitkDrawPaintbrushTool.h.
typedef itk::SmartPointer<Self> mitk::DrawPaintbrushTool::Pointer |
Reimplemented from mitk::PaintbrushTool.
Definition at line 48 of file mitkDrawPaintbrushTool.h.
Reimplemented from mitk::PaintbrushTool.
Definition at line 48 of file mitkDrawPaintbrushTool.h.
Reimplemented from mitk::PaintbrushTool.
Definition at line 48 of file mitkDrawPaintbrushTool.h.
mitk::DrawPaintbrushTool::DrawPaintbrushTool | ( | ) | [protected] |
Definition at line 26 of file mitkDrawPaintbrushTool.cpp.
:PaintbrushTool(1) { }
mitk::DrawPaintbrushTool::~DrawPaintbrushTool | ( | ) | [protected, virtual] |
Definition at line 31 of file mitkDrawPaintbrushTool.cpp.
{ }
virtual const char* mitk::DrawPaintbrushTool::GetClassName | ( | ) | const [virtual] |
Reimplemented from mitk::PaintbrushTool.
const char * mitk::DrawPaintbrushTool::GetName | ( | ) | const [virtual] |
Returns the name of this tool. Make it short!
This name has to fit into some kind of button in most applications, so take some time to think of a good name!
Implements mitk::Tool.
Definition at line 40 of file mitkDrawPaintbrushTool.cpp.
{ return "Paint"; }
const char ** mitk::DrawPaintbrushTool::GetXPM | ( | ) | const [virtual] |
Returns an icon in the XPM format.
This icon has to fit into some kind of button in most applications, so make it smaller than 25x25 pixels.
XPM is e.g. supported by The Gimp. But if you open any XPM file in your text editor, you will see that you could also "draw" it with an editor.
Implements mitk::Tool.
Definition at line 35 of file mitkDrawPaintbrushTool.cpp.
{
return mitkDrawPaintbrushTool_xpm;
}
static Pointer mitk::DrawPaintbrushTool::New | ( | ) | [static] |