📄 hvdevice.h
字号:
#if !defined(AFX_HVDEVICE_H__07CA4F26_2D6D_4C85_BA62_CE65080F7DC0__INCLUDED_)
#define AFX_HVDEVICE_H__07CA4F26_2D6D_4C85_BA62_CE65080F7DC0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CHVDevice wrapper class
class CHVDevice : public CWnd
{
protected:
DECLARE_DYNCREATE(CHVDevice)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x31aae52a, 0x1f46, 0x48ba, { 0xbb, 0x2e, 0x42, 0x70, 0x18, 0x97, 0x95, 0xef } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
short GetResolution();
void SetResolution(short);
short GetBayerToRGBConversion();
void SetBayerToRGBConversion(short);
long GetShutter();
void SetShutter(long);
long GetGain();
void SetGain(long);
short GetConversionType();
void SetConversionType(short);
short GetADCLevel();
void SetADCLevel(short);
long GetGainR();
void SetGainR(long);
long GetGainB();
void SetGainB(long);
short GetDeviceNumber();
void SetDeviceNumber(short);
OLE_COLOR GetBackColor();
void SetBackColor(OLE_COLOR);
short GetBorderStyle();
void SetBorderStyle(short);
short GetAppearance();
void SetAppearance(short);
OLE_COLOR GetForeColor();
void SetForeColor(OLE_COLOR);
OLE_HANDLE GetHWnd();
void SetHWnd(OLE_HANDLE);
short GetSnapSpeed();
void SetSnapSpeed(short);
short GetSnapMode();
void SetSnapMode(short);
short GetTriggerPolarity();
void SetTriggerPolarity(short);
short GetStrobePolarity();
void SetStrobePolarity(short);
short GetBlackLevelEnable();
void SetBlackLevelEnable(short);
long GetBlackLevel();
void SetBlackLevel(long);
// Operations
public:
void GrabSingle();
void GrabContinuous();
void GrabCancel();
void Continue();
void AutoWhiteBalance();
void SetAOI(long left, long top, long width, long height);
double GetFrameRate();
void Draw(long DestLeft, long DestTop, long DestWidth, long DestHeight, long SrcLeft, long SrcTop, long SrcWidth, long SrcHeight);
void MaximizeAOI();
void SaveImage(LPCTSTR FileName);
void GetPropertyValueRange(long PropertyID, long* Min, long* Max);
void GetSensorSize(short Resolution, long* width, long* height);
long GetBuffer();
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_HVDEVICE_H__07CA4F26_2D6D_4C85_BA62_CE65080F7DC0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -