1、实现了光谱仪简单的采集功能:曝光、调焦、暗电流、采集影像、保存影像;
2、设置光谱仪帧率、曝光时间、gain; 3、在页面中嵌入了rgb相机图传(通过opencv实现); 4、平台的相机位置模拟、x/y马达的分别控制、x/y马达的量程检测; 5、轨迹规划; 6、加入了张卓的自动调焦模块; 7、加入了自动电源控制;
This commit is contained in:
35
HPPA/ImagerPositionSimulation.h
Normal file
35
HPPA/ImagerPositionSimulation.h
Normal file
@ -0,0 +1,35 @@
|
||||
#ifndef IMAGER_POSITION_SIMULATION
|
||||
#define IMAGER_POSITION_SIMULATION
|
||||
#include <QGraphicsView>
|
||||
#include <QGraphicsScene>
|
||||
|
||||
#include "imagerSimulatioin.h"
|
||||
|
||||
class ImagerPositionSimulation :public QGraphicsView
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ImagerPositionSimulation(QWidget* pParent = NULL);
|
||||
~ImagerPositionSimulation();
|
||||
|
||||
imagerSimulatioin *imager;
|
||||
|
||||
void drawX();
|
||||
|
||||
void setSceneRect();//<2F><>QGraphicsView<65><77>viewport<72><74><EFBFBD><EFBFBD>ΪsceneRect
|
||||
|
||||
QRectF sceneRect();
|
||||
|
||||
void mousePressEvent(QMouseEvent *event);
|
||||
|
||||
void mouseReleaseEvent(QMouseEvent *event);
|
||||
|
||||
private:
|
||||
QGraphicsScene *m_Scene;
|
||||
QGraphicsRectItem *m_rectangle;
|
||||
|
||||
QGraphicsLineItem *topLeftToLowerRight;
|
||||
QGraphicsLineItem *topRightToLowerLeft;
|
||||
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user