1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-02 17:46:22 +03:00
occt/samples/qt/VoxelDemo/inc/ConversionThread.h
bugmster 480bf81e37 0024428: Implementation of LGPL license
Update of OCCT samples source code due to moving to LGPL license
2013-12-17 12:43:15 +04:00

41 lines
759 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_