|
|
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxProgressCommand.h>
A specialized Command object for updating the progress of a filter.
There are 3 ways to use this class.
So, first an instantiation of this class is created, then it is connected to a filter, and some options are set. Whenever the filter throws a ProgressEvent(), this class asks for the progress and prints the percentage of progress.
Definition at line 90 of file elxProgressCommand.h.
Inheritance diagram for elastix::ProgressCommand:Public Types | |
| typedef itk::SmartPointer< const Self > | ConstPointer |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef ProcessObjectType::Pointer | ProcessObjectPointer |
| typedef itk::ProcessObject | ProcessObjectType |
| typedef ProgressCommand | Self |
| typedef itk::Command | Superclass |
Public Member Functions | |
| virtual void | ConnectObserver (itk::ProcessObject *filter) |
| virtual void | DisconnectObserver (itk::ProcessObject *filter) |
| virtual void | Execute (itk::Object *caller, const itk::EventObject &event) ITK_OVERRIDE |
| virtual void | Execute (const itk::Object *caller, const itk::EventObject &event) ITK_OVERRIDE |
| virtual const char * | GetClassName () const |
| virtual const char * | GetEndString () const |
| virtual const char * | GetStartString () const |
| virtual const bool & | GetStreamOutputIsConsole () |
| virtual void | PrintProgress (const float &progress) const |
| virtual void | SetEndString (const char *_arg) |
| virtual void | SetStartString (const char *_arg) |
| virtual void | SetUpdateFrequency (const unsigned long numberOfVoxels, const unsigned long numberOfUpdates) |
| virtual void | UpdateAndPrintProgress (const unsigned long ¤tVoxelNumber) const |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| ProgressCommand () | |
| virtual | ~ProgressCommand () |
Private Attributes | |
| std::string | m_EndString |
| unsigned long | m_NumberOfUpdates |
| unsigned long | m_NumberOfVoxels |
| ProcessObjectPointer | m_ObservedProcessObject |
| std::string | m_StartString |
| bool | m_StreamOutputIsConsole |
| unsigned long | m_Tag |
| bool | m_TagIsSet |
| typedef itk::SmartPointer< const Self > elastix::ProgressCommand::ConstPointer |
Definition at line 98 of file elxProgressCommand.h.
| typedef itk::SmartPointer< Self > elastix::ProgressCommand::Pointer |
Definition at line 97 of file elxProgressCommand.h.
| typedef ProcessObjectType::Pointer elastix::ProgressCommand::ProcessObjectPointer |
Definition at line 106 of file elxProgressCommand.h.
| typedef itk::ProcessObject elastix::ProgressCommand::ProcessObjectType |
Typedef's.
Definition at line 102 of file elxProgressCommand.h.
Smart pointer declaration methods.
Definition at line 95 of file elxProgressCommand.h.
| typedef itk::Command elastix::ProgressCommand::Superclass |
Definition at line 96 of file elxProgressCommand.h.
|
protected |
The constructor.
|
protectedvirtual |
The destructor.
|
virtual |
Connect an observer to a process object.
|
virtual |
Disconnect an observer to a process object.
|
virtual |
Standard Command virtual methods.
|
virtual |
|
virtual |
Standard ITK stuff.
|
virtual |
|
virtual |
|
virtual |
Get a boolean indicating if the output is a console.
|
static |
|
virtual |
Print the progress to screen. A float value between 0.0 and 1.0 is expected as input.
|
virtual |
Set and get the string ending each progress report.
|
virtual |
Set and get the string starting each progress report.
|
virtual |
Define when to print the progress.
|
virtual |
Update and possibly print the progress to screen. The progress information on screen is refreshed according to the UpdateFrequency, which is assumed being specified beforehand using the SetUpdateFrequency function.
|
private |
Definition at line 159 of file elxProgressCommand.h.
|
private |
Definition at line 169 of file elxProgressCommand.h.
|
private |
Member variables that define the update frequency.
Definition at line 168 of file elxProgressCommand.h.
|
private |
Definition at line 165 of file elxProgressCommand.h.
|
private |
Member variables to define a start and end string for printing.
Definition at line 158 of file elxProgressCommand.h.
|
private |
Member variables to keep track of what is set.
Definition at line 162 of file elxProgressCommand.h.
|
private |
Definition at line 163 of file elxProgressCommand.h.
|
private |
Definition at line 164 of file elxProgressCommand.h.
Generated on OURCE_DATE_EPOCH for elastix by 1.8.13 |