RTK  2.5.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
rtk::PercentageProgressCommand< TCaller > Class Template Reference

#include <rtkProgressCommands.h>

+ Inheritance diagram for rtk::PercentageProgressCommand< TCaller >:
+ Collaboration diagram for rtk::PercentageProgressCommand< TCaller >:

Public Types

typedef itk::SmartPointer< SelfPointer
 
typedef PercentageProgressCommand Self
 
typedef ProgressCommand< TCaller > Superclass
 
- Public Types inherited from rtk::ProgressCommand< TCaller >
typedef itk::SmartPointer< SelfPointer
 
typedef ProgressCommand Self
 
typedef itk::Command Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
- Public Member Functions inherited from rtk::ProgressCommand< TCaller >
void Execute (itk::Object *caller, const itk::EventObject &event) override
 
void Execute (const itk::Object *caller, const itk::EventObject &event) override
 

Static Public Member Functions

static Pointer New ()
 

Public Attributes

int percentage = -1
 

Protected Member Functions

void End (const TCaller *) override
 
void Run (const TCaller *caller) override
 

Detailed Description

template<typename TCaller>
class rtk::PercentageProgressCommand< TCaller >

Outputs every time a filter progresses by at least one percent.

Author
Aurélien Coussat

Definition at line 91 of file rtkProgressCommands.h.

Member Typedef Documentation

◆ Pointer

template<typename TCaller >
typedef itk::SmartPointer<Self> rtk::PercentageProgressCommand< TCaller >::Pointer

Definition at line 97 of file rtkProgressCommands.h.

◆ Self

template<typename TCaller >
typedef PercentageProgressCommand rtk::PercentageProgressCommand< TCaller >::Self

Standard class typedefs.

Definition at line 95 of file rtkProgressCommands.h.

◆ Superclass

template<typename TCaller >
typedef ProgressCommand<TCaller> rtk::PercentageProgressCommand< TCaller >::Superclass

Definition at line 96 of file rtkProgressCommands.h.

Member Function Documentation

◆ CreateAnother()

template<typename TCaller >
virtual::itk::LightObject::Pointer rtk::PercentageProgressCommand< TCaller >::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

◆ End()

template<typename TCaller >
void rtk::PercentageProgressCommand< TCaller >::End ( const TCaller *  )
inlineoverrideprotectedvirtual

Callback function executed when filter concludes.

Reimplemented from rtk::ProgressCommand< TCaller >.

Definition at line 116 of file rtkProgressCommands.h.

◆ New()

template<typename TCaller >
static Pointer rtk::PercentageProgressCommand< TCaller >::New ( )
static

◆ Run()

template<typename TCaller >
void rtk::PercentageProgressCommand< TCaller >::Run ( const TCaller *  caller)
inlineoverrideprotectedvirtual

Callback function to be redefined by derived classes.

Implements rtk::ProgressCommand< TCaller >.

Definition at line 104 of file rtkProgressCommands.h.

Member Data Documentation

◆ percentage

template<typename TCaller >
int rtk::PercentageProgressCommand< TCaller >::percentage = -1

Definition at line 100 of file rtkProgressCommands.h.


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