idsfalconframegrabber.h

来自「VideoMan is a very easy image acquisitio」· C头文件 代码 · 共 39 行

H
39
字号
#pragma once
#include "camerainput.h"
#include "VideoManInputFormat.h"
#include "falcon.h"

#include <vector>

class IDSFalconFrameGrabber :
	public CameraInput
{
public:
	IDSFalconFrameGrabber(void);
	virtual ~IDSFalconFrameGrabber(void);

	bool initBoard( const unsigned long &hids, VideoManInputFormat *aFormat );

	inline char *getFrame( bool wait = false);

	inline void releaseFrame();
	
	void showPropertyPage();

	void play();
	
	void pause();
	
	void stop();

	static void getAvailableDevices( std::vector<inputIdentification> &deviceList  );

private:
	HIDS g_hBoard; //board indentifier
	PCHAR m_pcImageMem; //image
	int m_nImageMemID;
	INT colorMode;

	INT colorModeFromDepth( PIXEL_FORMAT depth );
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?