mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
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
This commit is contained in:
40
samples/qt/VoxelDemo/inc/ConversionThread.h
Normal file
40
samples/qt/VoxelDemo/inc/ConversionThread.h
Normal file
@@ -0,0 +1,40 @@
|
||||
#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_
|
Reference in New Issue
Block a user