Fill the inside of a contour with 1. More...
#include <mitkEraseRegionTool.h>
Public Types | |
typedef EraseRegionTool | Self |
typedef SetRegionTool | 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 | |
EraseRegionTool () | |
virtual | ~EraseRegionTool () |
Fill the inside of a contour with 1.
Finds the outer contour of a shape in 2D (possibly including holes) and sets all the inside pixels to 0 (erasing a segmentation).
$Author$
Definition at line 42 of file mitkEraseRegionTool.h.
typedef itk::SmartPointer<const Self> mitk::EraseRegionTool::ConstPointer |
Reimplemented from mitk::SetRegionTool.
Definition at line 46 of file mitkEraseRegionTool.h.
typedef itk::SmartPointer<Self> mitk::EraseRegionTool::Pointer |
Reimplemented from mitk::SetRegionTool.
Definition at line 46 of file mitkEraseRegionTool.h.
Reimplemented from mitk::SetRegionTool.
Definition at line 46 of file mitkEraseRegionTool.h.
Reimplemented from mitk::SetRegionTool.
Definition at line 46 of file mitkEraseRegionTool.h.
mitk::EraseRegionTool::EraseRegionTool | ( | ) | [protected] |
Definition at line 26 of file mitkEraseRegionTool.cpp.
References mitk::FeedbackContourTool::SetFeedbackContourColor().
:SetRegionTool(0) { FeedbackContourTool::SetFeedbackContourColor( 1.0, 0.0, 0.0 ); }
mitk::EraseRegionTool::~EraseRegionTool | ( | ) | [protected, virtual] |
Definition at line 32 of file mitkEraseRegionTool.cpp.
{ }
virtual const char* mitk::EraseRegionTool::GetClassName | ( | ) | const [virtual] |
Reimplemented from mitk::SetRegionTool.
const char * mitk::EraseRegionTool::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 41 of file mitkEraseRegionTool.cpp.
{ return "Erase"; }
const char ** mitk::EraseRegionTool::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 36 of file mitkEraseRegionTool.cpp.
{
return mitkEraseRegionTool_xpm;
}
static Pointer mitk::EraseRegionTool::New | ( | ) | [static] |