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

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

Paintbrush tool for InteractiveSegmentation. More...

#include <mitkErasePaintbrushTool.h>

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

List of all members.

Public Types

typedef ErasePaintbrushTool Self
typedef PaintbrushTool 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

 ErasePaintbrushTool ()
virtual ~ErasePaintbrushTool ()

Detailed Description

Paintbrush tool for InteractiveSegmentation.

See also:
FeedbackContourTool
ExtractImageFilter
OverwriteSliceImageFilter

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.

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

Definition at line 44 of file mitkErasePaintbrushTool.h.


Member Typedef Documentation

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

Reimplemented from mitk::PaintbrushTool.

Definition at line 48 of file mitkErasePaintbrushTool.h.

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

Reimplemented from mitk::PaintbrushTool.

Definition at line 48 of file mitkErasePaintbrushTool.h.

Reimplemented from mitk::PaintbrushTool.

Definition at line 48 of file mitkErasePaintbrushTool.h.

Reimplemented from mitk::PaintbrushTool.

Definition at line 48 of file mitkErasePaintbrushTool.h.


Constructor & Destructor Documentation

mitk::ErasePaintbrushTool::ErasePaintbrushTool (  ) [protected]
mitk::ErasePaintbrushTool::~ErasePaintbrushTool (  ) [protected, virtual]

Definition at line 32 of file mitkErasePaintbrushTool.cpp.

{
}

Member Function Documentation

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

Reimplemented from mitk::PaintbrushTool.

const char * mitk::ErasePaintbrushTool::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 mitkErasePaintbrushTool.cpp.

{
  return "Wipe";
}
const char ** mitk::ErasePaintbrushTool::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 mitkErasePaintbrushTool.cpp.

{
  return mitkErasePaintbrushTool_xpm;
}
static Pointer mitk::ErasePaintbrushTool::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