MeVisLab Toolbox Reference
|
Implementation of the Command Pattern to be invoked every iteration. More...
#include <mlITKCommandIterationUpdate.h>
Public Types | |
typedef ITKCommandIterationUpdate | Self |
Standard Self typedef. | |
typedef itk::Command | Superclass |
Standard "Superclass" typedef. | |
typedef itk::SmartPointer< Self > | Pointer |
Smart pointer typedef support. | |
typedef itk::SmartPointer< const Self > | ConstPointer |
ConstSmart pointer typedef support. | |
Public Member Functions | |
itkTypeMacro (ITKCommandIterationUpdate, ::itk::Command) | |
Run-time type information (and related methods). | |
itkNewMacro (Self) | |
Method for creation through the object factory. | |
void | setObject (itk::Object *object) |
Set object to be observed. | |
void | setStringField (StringField *strField) |
Set string field to be updated on object changes. | |
StringField * | getStringField () const |
Get string field to be updated on object changes or NULL if no field is set. | |
void | setEndEventField (Field *strField) |
Set field to be notified on EndEvents. | |
Field * | getEndEventField () const |
Get field to be notified on EndEvents or NULL if no field is set. | |
void | reset () |
Reset update state. | |
Protected Member Functions | |
ITKCommandIterationUpdate () | |
Constructor. Purposely implemented protected. | |
~ITKCommandIterationUpdate () | |
Destructor. Purposely implemented protected. | |
void | Execute (itk::Object *obj, const itk::EventObject &event) override |
Wrapper call to the const version. | |
void | Execute (const itk::Object *obj, const itk::EventObject &event) override |
Gets object state and updates _stringField with process information if stringField is valid. | |
Implementation of the Command Pattern to be invoked every iteration.
Definition at line 25 of file mlITKCommandIterationUpdate.h.
typedef itk::SmartPointer<const Self> ml::ITKCommandIterationUpdate::ConstPointer |
ConstSmart pointer typedef support.
Definition at line 39 of file mlITKCommandIterationUpdate.h.
typedef itk::SmartPointer<Self> ml::ITKCommandIterationUpdate::Pointer |
Smart pointer typedef support.
Definition at line 36 of file mlITKCommandIterationUpdate.h.
Standard Self typedef.
Definition at line 30 of file mlITKCommandIterationUpdate.h.
typedef itk::Command ml::ITKCommandIterationUpdate::Superclass |
Standard "Superclass" typedef.
Definition at line 33 of file mlITKCommandIterationUpdate.h.
|
protected |
Constructor. Purposely implemented protected.
|
protected |
Destructor. Purposely implemented protected.
|
overrideprotected |
Gets object state and updates _stringField with process information if stringField is valid.
|
overrideprotected |
Wrapper call to the const version.
Field * ml::ITKCommandIterationUpdate::getEndEventField | ( | ) | const |
Get field to be notified on EndEvents or NULL if no field is set.
StringField * ml::ITKCommandIterationUpdate::getStringField | ( | ) | const |
Get string field to be updated on object changes or NULL if no field is set.
ml::ITKCommandIterationUpdate::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
ml::ITKCommandIterationUpdate::itkTypeMacro | ( | ITKCommandIterationUpdate | , |
::itk::Command | ) |
Run-time type information (and related methods).
void ml::ITKCommandIterationUpdate::reset | ( | ) |
Reset update state.
Set field to be notified on EndEvents.
Replacing the string field or resetting it to NULL is legal.
void ml::ITKCommandIterationUpdate::setObject | ( | itk::Object * | object | ) |
Set object to be observed.
Resetting the object to NULL or replacement by a new one is legal.
void ml::ITKCommandIterationUpdate::setStringField | ( | StringField * | strField | ) |
Set string field to be updated on object changes.
Replacing the string field or resetting it to NULL is legal.