1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00
occt/samples/qt/voxeldemo/inc/ConversionThread.h
2012-03-05 19:23:40 +04:00

40 lines
758 B
C++
Executable File

#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_