Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions

mitk::FillRegionTool Class Reference
[Interaction ClassesClasses related to InteractiveSegmentation]

Fill the inside of a contour with 1. More...

#include <mitkFillRegionTool.h>

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

List of all members.

Public Types

typedef FillRegionTool Self
typedef SetRegionTool Superclass
typedef itk::SmartPointer< SelfPointer
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

 FillRegionTool ()
virtual ~FillRegionTool ()

Detailed Description

Fill the inside of a contour with 1.

See also:
SetRegionTool

Finds the outer contour of a shape in 2D (possibly including holes) and sets all the inside pixels to 1, filling holes in a segmentation.

Warning:
Only to be instantiated by mitk::ToolManager.

$Author$

Definition at line 41 of file mitkFillRegionTool.h.


Member Typedef Documentation

typedef itk::SmartPointer<const Self> mitk::FillRegionTool::ConstPointer

Reimplemented from mitk::SetRegionTool.

Definition at line 45 of file mitkFillRegionTool.h.

typedef itk::SmartPointer<Self> mitk::FillRegionTool::Pointer

Reimplemented from mitk::SetRegionTool.

Definition at line 45 of file mitkFillRegionTool.h.

Reimplemented from mitk::SetRegionTool.

Definition at line 45 of file mitkFillRegionTool.h.

Reimplemented from mitk::SetRegionTool.

Definition at line 45 of file mitkFillRegionTool.h.


Constructor & Destructor Documentation

mitk::FillRegionTool::FillRegionTool (  ) [protected]

Definition at line 26 of file mitkFillRegionTool.cpp.

:SetRegionTool(1)
{
}
mitk::FillRegionTool::~FillRegionTool (  ) [protected, virtual]

Definition at line 31 of file mitkFillRegionTool.cpp.

{
}

Member Function Documentation

virtual const char* mitk::FillRegionTool::GetClassName (  ) const [virtual]

Reimplemented from mitk::SetRegionTool.

const char * mitk::FillRegionTool::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 mitkFillRegionTool.cpp.

{
  return "Fill";
}
const char ** mitk::FillRegionTool::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 mitkFillRegionTool.cpp.

{
  return mitkFillRegionTool_xpm;
}
static Pointer mitk::FillRegionTool::New (  ) [static]

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