Medical Imaging Interaction Toolkit  2021.02.99-89548602
Medical Imaging Interaction Toolkit
mitk::ToolCommand Class Reference

A command to get tool process feedback. More...

#include <mitkToolCommand.h>

Inheritance diagram for mitk::ToolCommand:
Collaboration diagram for mitk::ToolCommand:

Public Types

typedef ToolCommand Self
 
typedef itk::Command Superclass
 
typedef itk::SmartPointer< SelfPointer
 

Public Member Functions

Pointer Clone () const
 
void Execute (itk::Object *caller, const itk::EventObject &event) override
 Reacts on events from ITK filters. More...
 
void Execute (const itk::Object *object, const itk::EventObject &event) override
 Not implemented... More...
 
void AddStepsToDo (int steps)
 Add new steps to the progress bar. More...
 
void SetProgress (int steps)
 Sets the remaining progress to the progress bar when the optimization process is done. More...
 
double GetCurrentProgressValue ()
 Returns the current progress value. More...
 
void SetStopProcessing (bool value)
 Sets the stop processing flag, which is used to call ... More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ToolCommand ()
 

Detailed Description

A command to get tool process feedback.

See also
ProgressBar

Definition at line 28 of file mitkToolCommand.h.

Member Typedef Documentation

◆ Pointer

◆ Self

Definition at line 31 of file mitkToolCommand.h.

◆ Superclass

typedef itk::Command mitk::ToolCommand::Superclass

Definition at line 32 of file mitkToolCommand.h.

Constructor & Destructor Documentation

◆ ToolCommand()

mitk::ToolCommand::ToolCommand ( )
protected

Member Function Documentation

◆ AddStepsToDo()

void mitk::ToolCommand::AddStepsToDo ( int  steps)

Add new steps to the progress bar.

◆ Clone()

Pointer mitk::ToolCommand::Clone ( ) const

◆ Execute() [1/2]

void mitk::ToolCommand::Execute ( itk::Object *  caller,
const itk::EventObject &  event 
)
override

Reacts on events from ITK filters.

◆ Execute() [2/2]

void mitk::ToolCommand::Execute ( const itk::Object *  object,
const itk::EventObject &  event 
)
override

Not implemented...

◆ GetCurrentProgressValue()

double mitk::ToolCommand::GetCurrentProgressValue ( )

Returns the current progress value.

◆ New()

static Pointer mitk::ToolCommand::New ( )
static

◆ SetProgress()

void mitk::ToolCommand::SetProgress ( int  steps)

Sets the remaining progress to the progress bar when the optimization process is done.

◆ SetStopProcessing()

void mitk::ToolCommand::SetStopProcessing ( bool  value)

Sets the stop processing flag, which is used to call ...


The documentation for this class was generated from the following file: