18 #ifndef __itkFilterWatcher_h
19 #define __itkFilterWatcher_h
33 #if defined(_COMPILER_VERSION) && (_COMPILER_VERSION == 730)
50 startFilterCommand->SetCallbackFunction(
this,
52 endFilterCommand->SetCallbackFunction(
this,
54 progressFilterCommand->SetCallbackFunction(
this,
56 iterationFilterCommand->SetCallbackFunction(
this,
58 abortFilterCommand->SetCallbackFunction(
this,
74 std::cout <<
" | " <<
m_Process->GetProgress() << std::flush;
77 std::cout << std::endl;
90 std::cout << std::endl <<
" ABORT" << std::endl << std::flush;
94 std::cout <<
" # " << std::flush;
102 std::cout <<
"-------- Start " <<
m_Process->GetNameOfClass()
105 << (
m_Quiet ?
"Progress Quiet " :
"Progress ")
112 std::cout << std::endl <<
"Filter took "
113 <<
static_cast<double>(
m_End -
m_Start) / CLOCKS_PER_SEC
115 std::cout << std::endl << std::endl
116 <<
"-------- End " <<
m_Process->GetNameOfClass()
121 itkExceptionMacro (
"Filter does not have progress.");