|
Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
A command to get tool process feedback. More...
#include <mitkToolCommand.h>


Public Types | |
| typedef ToolCommand | Self |
| typedef itk::Command | Superclass |
| typedef itk::SmartPointer< Self > | Pointer |
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 () | |
A command to get tool process feedback.
Definition at line 28 of file mitkToolCommand.h.
Definition at line 33 of file mitkToolCommand.h.
| typedef ToolCommand mitk::ToolCommand::Self |
Definition at line 31 of file mitkToolCommand.h.
| typedef itk::Command mitk::ToolCommand::Superclass |
Definition at line 32 of file mitkToolCommand.h.
|
protected |
Definition at line 16 of file mitkToolCommand.cpp.
| void mitk::ToolCommand::AddStepsToDo | ( | int | steps | ) |
Add new steps to the progress bar.
Definition at line 69 of file mitkToolCommand.cpp.
References mitk::ProgressBar::AddStepsToDo(), and mitk::ProgressBar::GetInstance().
| Pointer mitk::ToolCommand::Clone | ( | ) | const |
|
override |
Reacts on events from ITK filters.
Definition at line 20 of file mitkToolCommand.cpp.
References mitk::ProgressBar::GetInstance(), and mitk::ProgressBar::Progress().
|
override |
Not implemented...
Definition at line 65 of file mitkToolCommand.cpp.
| double mitk::ToolCommand::GetCurrentProgressValue | ( | ) |
Returns the current progress value.
Definition at line 79 of file mitkToolCommand.cpp.
|
static |
| void mitk::ToolCommand::SetProgress | ( | int | steps | ) |
Sets the remaining progress to the progress bar when the optimization process is done.
Definition at line 74 of file mitkToolCommand.cpp.
References mitk::ProgressBar::GetInstance(), and mitk::ProgressBar::Progress().
| void mitk::ToolCommand::SetStopProcessing | ( | bool | value | ) |
Sets the stop processing flag, which is used to call ...
Definition at line 84 of file mitkToolCommand.cpp.