37 #include "itkImageFileReader.h"
39 #include "vtkMetaImageWriter.h"
48 template class ThreadedTimedAlgorithm<vtkImageDataPtr>;
49 template class ThreadedTimedAlgorithm<ImagePtr>;
51 template class ThreadedTimedAlgorithm<vtkPolyDataPtr>;
52 template class ThreadedTimedAlgorithm<void>;
53 template class ThreadedTimedAlgorithm<bool>;
66 std::cout <<
"Test::Test()" << std::endl;
73 void Example::postProcessingSlot()
76 std::cout <<
"void Test::postProcessingSlot(), result: "<< result.toStdString() << std::endl;
80 QString Example::calculate()
82 std::cout <<
" QString Test::calculate()" << std::endl;
90 return QString(
"Test successful!!!");
void finished()
should be emitted when at the end of postProcessingSlot
Base class for algorithms that wants to thread and time their execution. T is the return type of the ...