//--------------------------------------------------------------------
/*
- Convenient class to manage options from GGO (gengetopt) to filter
+ Convenient class to manage frequent options
*/
//--------------------------------------------------------------------
class FilterBase
typedef FilterBase Self;
// Run-time type information (and related methods)
- itkTypeMacro(FilterBase, Object);
+ virtual const char *GetNameOfClass() const
+ {
+ return "FilterBase";
+ }
// Needed by itkSetMacro (cannot inherit from itkObject because of
// multiple inheritance)
protected:
FilterBase();
virtual ~FilterBase() {}
- void StartNewStep(std::string s);
+ void StartNewStep(std::string s, bool endl=true);
template<class TInternalImageType>
void StopCurrentStep(typename TInternalImageType::Pointer p, std::string txt="");
void StopCurrentStep();