www.pudn.com > DalsaNetlink.rar > CyAcquisitionPage.h


#if !defined(AFX_CYACQUISITIONPAGE_H__9ACBCFCD_3804_475B_8680_5B830532C522__INCLUDED_) 
#define AFX_CYACQUISITIONPAGE_H__9ACBCFCD_3804_475B_8680_5B830532C522__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// CyAcquisitionPage.h : header file 
// 
 
class CyVideoCompressor; 
class CyRGBFilter; 
 
#include "CyImageBuffer.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CyAcquisitionPage dialog 
 
class CyAcquisitionPage : public CPropertyPage 
{ 
	DECLARE_DYNCREATE(CyAcquisitionPage) 
 
// Construction 
public: 
	CyAcquisitionPage(); 
	~CyAcquisitionPage(); 
 
// Dialog Data 
	//{{AFX_DATA(CyAcquisitionPage) 
	enum { IDD = IDD_ACQUISITION_DLG }; 
	CSpinButtonCtrl	mInterPacketDelaySpin; 
	CEdit	mInterPacketDelayControl; 
	CButton	mSequenceProgressCancel; 
	CComboBox	mAcqModeControl; 
	CButton	mGSInfiniteFramesControl; 
	CButton	mMovieProperties; 
	CButton	mSaveAsMovie; 
	CButton	mSaveAsText; 
    CButton	mSaveAsBitmap; 
    CButton	mSaveAsRaw; 
	CComboBox	mFullscreenDisplayAdapterControl; 
	CButton	mDisplayFullscreenControl; 
	CButton	mSaveMovie; 
	CButton	mBadImagePassthrough; 
    CButton	mIgnoreMissingPackets; 
	CComboBox	mChannels; 
	CStatic	mThrottleText; 
	CProgressCtrl	mSequenceProgress; 
	CStatic	mGSFramesText; 
	CEdit	mGSFrames; 
	CButton	mGrabSaveButton; 
	CSpinButtonCtrl	mGSFramesSpin; 
	CEdit	mLastError; 
	CEdit	mDisplayRate; 
	CEdit	mAcquisitionStatus; 
	CEdit	mAcquisitionRate; 
	CSpinButtonCtrl	mFrameCountSpin; 
	UINT	mFrameCount; 
	BOOL	mInvertDeinterlacer; 
	BOOL	mDisplayFullscreen; 
	int		mFullscreenDisplayAdapter; 
	int		mSaveAsFormat; 
	UINT	mGSFrameCount; 
	BOOL	mGSInfiniteFrames; 
	UINT	mInterPacketDelay; 
	//}}AFX_DATA 
 
    bool mNormalDisplay; 
 
// Overrides 
	// ClassWizard generate virtual function overrides 
	//{{AFX_VIRTUAL(CyAcquisitionPage) 
	public: 
	virtual BOOL OnKillActive(); 
	virtual BOOL OnSetActive(); 
	virtual BOOL PreTranslateMessage(MSG* pMsg); 
	virtual void WinHelp(DWORD dwData, UINT nCmd = HELP_CONTEXT); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	// Generated message map functions 
	//{{AFX_MSG(CyAcquisitionPage) 
	afx_msg void OnAcquisitionStart(); 
	afx_msg void OnAcquisitionStop(); 
	afx_msg void OnDisplayClose(); 
	afx_msg void OnDisplayNormal(); 
	afx_msg void OnDisplayNone(); 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnAcquisitionContinous(); 
	afx_msg void OnDestroy(); 
	afx_msg void OnSignals(); 
	afx_msg void OnSignalsClosed(); 
	afx_msg void OnAcquisitionGrabSave(); 
	afx_msg void OnAcquisitionGsLocation(); 
	afx_msg void OnSelchangeChannel(); 
	afx_msg void OnBadImagePassthrough(); 
    afx_msg void OnIgnoreMissingPackets(); 
	afx_msg void OnDisplayFullscreen(); 
	afx_msg void OnMovieProperties(); 
	afx_msg void OnAcquisitionGsMovie(); 
	afx_msg void OnToolsColorAdjust(); 
	afx_msg void OnColorAdjustClosed(); 
	afx_msg void OnAcquisitionGsInfinite(); 
	afx_msg void OnSelchangeAcquisitionMode(); 
	afx_msg void OnAcquisitionGsProgressCancelButton(); 
	afx_msg void OnIpdCompute(); 
	afx_msg void OnChangeInterPacketDelay(); 
	afx_msg void OnBayerInterpolation(); 
    //}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
 
    bool mDisplayOpen; 
 
    CString mSequenceLocation; 
     
    CDialog* mSignalGenerator; 
    CDialog* mColorAdjustment; 
 
    void    SetRunning( bool aRunning ); 
 
	CyVideoCompressor *mVC; 
    CyRGBFilter*       mFilter; 
    friend class SavingThread; 
    CyThread*          mSavingThread; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CYACQUISITIONPAGE_H__9ACBCFCD_3804_475B_8680_5B830532C522__INCLUDED_)