+++ /dev/null
-/*M///////////////////////////////////////////////////////////////////////////////////////\r
-//\r
-// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.\r
-//\r
-// By downloading, copying, installing or using the software you agree to this license.\r
-// If you do not agree to this license, do not download, install,\r
-// copy or use the software.\r
-//\r
-//\r
-// Intel License Agreement\r
-// For Open Source Computer Vision Library\r
-//\r
-// Copyright (C) 2000, Intel Corporation, all rights reserved.\r
-// Third party copyrights are property of their respective owners.\r
-//\r
-// Redistribution and use in source and binary forms, with or without modification,\r
-// are permitted provided that the following conditions are met:\r
-//\r
-// * Redistribution's of source code must retain the above copyright notice,\r
-// this list of conditions and the following disclaimer.\r
-//\r
-// * Redistribution's in binary form must reproduce the above copyright notice,\r
-// this list of conditions and the following disclaimer in the documentation\r
-// and/or other materials provided with the distribution.\r
-//\r
-// * The name of Intel Corporation may not be used to endorse or promote products\r
-// derived from this software without specific prior written permission.\r
-//\r
-// This software is provided by the copyright holders and contributors "as is" and\r
-// any express or implied warranties, including, but not limited to, the implied\r
-// warranties of merchantability and fitness for a particular purpose are disclaimed.\r
-// In no event shall the Intel Corporation or contributors be liable for any direct,\r
-// indirect, incidental, special, exemplary, or consequential damages\r
-// (including, but not limited to, procurement of substitute goods or services;\r
-// loss of use, data, or profits; or business interruption) however caused\r
-// and on any theory of liability, whether in contract, strict liability,\r
-// or tort (including negligence or otherwise) arising in any way out of\r
-// the use of this software, even if advised of the possibility of such damage.\r
-//\r
-//M*/// Camera.h: interface for the CCamera class.\r
-//\r
-//////////////////////////////////////////////////////////////////////\r
-\r
-#if !defined(AFX_DWND_H__36BABB11_EBA3_11D3_A294_00105A717188__INCLUDED_)\r
-#define AFX_DWND_H__36BABB11_EBA3_11D3_A294_00105A717188__INCLUDED_\r
-\r
-#if _MSC_VER > 1000\r
-#pragma once\r
-#endif // _MSC_VER > 1000\r
-// DWnd.h : header file\r
-//\r
-#include "Image.h"\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// CDWnd window\r
-\r
-class CDWnd : public CWnd\r
-{\r
-// Construction\r
-public:\r
- CDWnd();\r
-\r
-// Attributes\r
-public:\r
- double m_IWK[2];\r
- double m_WIK[2];\r
-\r
-// Operations\r
-public:\r
- CWnd* m_FatherWnd;\r
-\r
-// Overrides\r
- // ClassWizard generated virtual function overrides\r
- //{{AFX_VIRTUAL(CDWnd)\r
- //}}AFX_VIRTUAL\r
-\r
-// Implementation\r
-public:\r
- virtual ~CDWnd();\r
-\r
- /* interface */\r
- BOOL CreateWnd( CWnd* pParent, \r
- char* pName = "Data", \r
- long lWidth = 320, \r
- long lHeight = 240,\r
- long lBPP = 24 );\r
- void DrawIplImage( IplImage* pImage, BOOL bSetChannelNumber = TRUE );\r
- void Invalidate( BOOL bErase = TRUE )\r
- {if(::IsWindow(m_hWnd))CWnd::Invalidate( bErase );}\r
- CDC* GetDC(){return ::IsWindow(m_hWnd) ? CWnd::GetDC() : NULL;}\r
- HDC GetMemHDC() {return ::IsWindow(m_hWnd) ? m_Image.GetDC() : NULL;}\r
- IplImage* GetImage() {return m_Image.GetImage();}\r
- CImage m_Image;\r
- virtual BOOL ReDraw( CDC *pDC = NULL );\r
- BOOL DrawToHDC( HDC hDCDst, RECT* pDstRect = NULL );\r
-\r
- // Generated message map functions\r
-protected:\r
-\r
-\r
- //{{AFX_MSG(CDWnd)\r
- afx_msg void OnPaint();\r
- afx_msg void OnSizing(UINT fwSide, LPRECT pRect);\r
- afx_msg void OnSize(UINT nType, int cx, int cy);\r
- afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);\r
- //}}AFX_MSG\r
- DECLARE_MESSAGE_MAP()\r
-};\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-\r
-//{{AFX_INSERT_LOCATION}}\r
-// Microsoft Visual C++ will insert additional declarations immediately before the previous line.\r
-\r
-#endif // !defined(AFX_DWND_H__36BABB11_EBA3_11D3_A294_00105A717188__INCLUDED_)\r
-\r
-/* End of file. */\r