MITK-IGT
IGT Extension of MITK
|
Objects of this class can start an internal thread by calling the Start() method. The thread is then updateing the tested object until the method Stop() is called. The class can be used to test if a filter is thread-save by using multiple objects and let them update simuntanously. More...
Public Member Functions | |
mitkClassMacroItkParent (mitkTestOpenCVToMITKImageFilterThread, itk::Object) | |
itkNewMacro (mitkTestOpenCVToMITKImageFilterThread) | |
void | Start () |
void | Stop () |
void | setFilter (mitk::OpenCVToMitkImageFilter::Pointer testedFilter) |
void | setImage (cv::Mat image) |
Public Attributes | |
int | NumberOfMessages |
Protected Member Functions | |
mitkTestOpenCVToMITKImageFilterThread () | |
void | DoSomething () |
void | ThreadStartTracking () |
Protected Attributes | |
bool | ThreadRunning |
std::thread | Thread |
cv::Mat | currentImage |
mitk::OpenCVToMitkImageFilter::Pointer | m_testedFilter |
Objects of this class can start an internal thread by calling the Start() method. The thread is then updateing the tested object until the method Stop() is called. The class can be used to test if a filter is thread-save by using multiple objects and let them update simuntanously.
Documentation
Definition at line 31 of file mitkOpenCVToMitkImageFilterTest.cpp.
|
inlineprotected |
Definition at line 42 of file mitkOpenCVToMitkImageFilterTest.cpp.
|
inlineprotected |
Definition at line 55 of file mitkOpenCVToMitkImageFilterTest.cpp.
mitkTestOpenCVToMITKImageFilterThread::itkNewMacro | ( | mitkTestOpenCVToMITKImageFilterThread | ) |
mitkTestOpenCVToMITKImageFilterThread::mitkClassMacroItkParent | ( | mitkTestOpenCVToMITKImageFilterThread | , |
itk::Object | ) |
|
inline |
Definition at line 87 of file mitkOpenCVToMitkImageFilterTest.cpp.
|
inline |
Definition at line 92 of file mitkOpenCVToMitkImageFilterTest.cpp.
|
inline |
Definition at line 74 of file mitkOpenCVToMitkImageFilterTest.cpp.
|
inline |
Definition at line 80 of file mitkOpenCVToMitkImageFilterTest.cpp.
|
inlineprotected |
Definition at line 67 of file mitkOpenCVToMitkImageFilterTest.cpp.
|
protected |
Definition at line 51 of file mitkOpenCVToMitkImageFilterTest.cpp.
|
protected |
Definition at line 53 of file mitkOpenCVToMitkImageFilterTest.cpp.
int mitkTestOpenCVToMITKImageFilterThread::NumberOfMessages |
Definition at line 38 of file mitkOpenCVToMitkImageFilterTest.cpp.
|
protected |
Definition at line 49 of file mitkOpenCVToMitkImageFilterTest.cpp.
|
protected |
Definition at line 47 of file mitkOpenCVToMitkImageFilterTest.cpp.