1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/samples/qt/VoxelDemo/inc/ConversionThread.h
vro cc1d74e225 0021189: Clean up KAS:dev:ros and Products
Removal of VoxelClient
VoxelDemo sample is redesigned so that it doesn't require compilation of OpenGl classes. It refers to TKOpenGl.dll as to an external library.
Some minor bugs are fixed in OCAF and Viewer 3d standard MFC samples
2012-10-05 14:17:17 +04:00

40 lines
758 B
C++

#ifndef _CONVERSIONTHREAD_H_
#define _CONVERSIONTHREAD_H_
#include <QThread.h>
//#include <Voxel_Converter.hxx>
#include <Voxel_FastConverter.hxx>
class ConversionThread : public QThread
{
public:
ConversionThread();
~ConversionThread();
// void setConverter(Voxel_Converter* converter);
void setConverter(Voxel_FastConverter* converter);
void setVolumicValue(const int value);
void setScanSide(const int side);
void setThreadIndex(const int ithread);
int* getProgress();
protected:
void run();
private:
// Voxel_Converter* myConverter;
Voxel_FastConverter* myFastConverter;
int myVolumicValue;
int myScanSide;
int myThreadIndex;
int myProgress;
};
#endif // _CONVERSIONTHREAD_H_