1、实现了光谱仪简单的采集功能:曝光、调焦、暗电流、采集影像、保存影像;
2、设置光谱仪帧率、曝光时间、gain; 3、在页面中嵌入了rgb相机图传(通过opencv实现); 4、平台的相机位置模拟、x/y马达的分别控制、x/y马达的量程检测; 5、轨迹规划; 6、加入了张卓的自动调焦模块; 7、加入了自动电源控制;
This commit is contained in:
41
HPPA/fileOperation.h
Normal file
41
HPPA/fileOperation.h
Normal file
@ -0,0 +1,41 @@
|
||||
#ifndef FILE_OPERATIOIN_H
|
||||
#define FILE_OPERATIOIN_H
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include<iostream>
|
||||
#include <QObject>
|
||||
|
||||
using namespace std;
|
||||
|
||||
class FileOperation :public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
FileOperation();
|
||||
~FileOperation();
|
||||
|
||||
string getDirectoryOfExe();//getDirectoryOfExe
|
||||
string getDirectoryFromString(string directory="C:/HPPA_image");
|
||||
|
||||
|
||||
|
||||
|
||||
public Q_SLOTS:
|
||||
bool copyFile(QString source, QString target);
|
||||
|
||||
/*bool moveFile(const string& source, const string& target);
|
||||
bool deleteFile(const string& path);
|
||||
bool hasFile(const string& path);
|
||||
|
||||
bool copyDirectory(const string& source, const string& target);
|
||||
bool moveDirectory(const string& source, const string& target);
|
||||
bool deleteDirectory(const string& path);*/
|
||||
|
||||
|
||||
|
||||
signals:
|
||||
void CopyFinishedSignal();//<2F><><EFBFBD><EFBFBD>Ӱ<EFBFBD><D3B0><EFBFBD>ź<EFBFBD>
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user