Update to 2.0.0 tree from current Fremantle build
[opencv] / apps / StereoGR / StereoGR.h
diff --git a/apps/StereoGR/StereoGR.h b/apps/StereoGR/StereoGR.h
deleted file mode 100644 (file)
index a892d6c..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-/*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*/// StereoGR.h : main header file for the STEREOGR application\r
-//\r
-\r
-#if !defined(AFX_STEREOGR_H__2B3C951D_D27D_4C2E_983A_8EC824753946__INCLUDED_)\r
-#define AFX_STEREOGR_H__2B3C951D_D27D_4C2E_983A_8EC824753946__INCLUDED_\r
-\r
-#if _MSC_VER > 1000\r
-#pragma once\r
-#endif // _MSC_VER > 1000\r
-\r
-#ifndef __AFXWIN_H__\r
-       #error include 'stdafx.h' before including this file for PCH\r
-#endif\r
-\r
-#include "resource.h"       // main symbols\r
-#include "DGProp.h"    \r
-#include "FindHandCtl.h"\r
-#include "GestMan.h"   \r
-#include "PGControl.h"\r
-#include "PTOptions.h"\r
-#include "HMMParams.h"\r
-#include "DGStat.h"\r
-#include "GROptions.h"\r
-#include "DynGestServer.h"\r
-       \r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// CStereoGRApp:\r
-// See StereoGR.cpp for the implementation of this class\r
-//\r
-#define VIEWS_COUNT ID_VIEW12 - ID_VIEW1 + 1\r
-#define IS_PTGREY_DATATYPE(x) ((x) >= 0 && (x) < PG_IMAGE_MAX)\r
-#define GR_MASK_VIEW PT_POINTCLOUD_IMAGE + 1\r
-#define GR_MAGICCUBE GR_MASK_VIEW + 1\r
-\r
-class CStereoGRView;\r
-class CStereoGRApp : public CWinApp\r
-{\r
-private:\r
-       BOOL m_isNewData;\r
-       CGestRec m_gestRec;\r
-       CDGProp* m_dgProp;\r
-    CStereoGRView* m_views[VIEWS_COUNT];\r
-    int m_viewIds[VIEWS_COUNT];\r
-       CString m_modulePath;\r
-       int m_docType;\r
-\r
-       void InitModulePath();\r
-       void CreatePropertyPages();\r
-    \r
-\r
-    \r
-public:\r
-       BOOL m_isClosingView;\r
-       void Zoom();\r
-       void Segment();\r
-       HANDLE m_glThread;\r
-       vector<POINT> m_TopLefts;\r
-       vector<POINT> m_TopLefts3D;\r
-    CDynGestServer m_dgServer;\r
-\r
-       CGROptions* m_grOptions;\r
-       CPTOptions* m_ptOptions;\r
-    CHMMParams* m_hmmParams;\r
-    CDGStat*    m_dgStat;\r
-\r
-    BOOL LoadSettings();\r
-    BOOL SaveSettings();\r
-       BOOL IsNewData();\r
-       void ValidateData(BOOL flag = TRUE);\r
-       BOOL m_doRecog;\r
-//     void SetImage(int dataType, IplImage* image, BOOL copy = FALSE);\r
-       IplImage* GetImage(int dataType);\r
-       void Update();\r
-       void CloseView(int dataType);\r
-       void SetView(int dataType, CStereoGRView* pView);\r
-    CStereoGRView* GetView(int dataType) const {return m_views[dataType];};\r
-    int* GetViewIDs() const {return (int*)m_viewIds;};\r
-       void OpenView(int dataType);\r
-       void Process();\r
-    CFindHandCtrl m_findHand;\r
-       void SetDocType(int docType);\r
-       int GetDocType();\r
-       CStereoGRApp();\r
-    ~CStereoGRApp();\r
-\r
-// Overrides\r
-       // ClassWizard generated virtual function overrides\r
-       //{{AFX_VIRTUAL(CStereoGRApp)\r
-       public:\r
-       virtual BOOL InitInstance();\r
-       virtual int ExitInstance();\r
-       //}}AFX_VIRTUAL\r
-\r
-// Implementation\r
-       //{{AFX_MSG(CStereoGRApp)\r
-       afx_msg void OnAppAbout();\r
-       afx_msg void OnFileNew();\r
-       afx_msg void OnUpdateFileNew(CCmdUI* pCmdUI);\r
-       afx_msg void OnView();\r
-       afx_msg void OnPtProp();\r
-       afx_msg void OnPtWhitebalance();\r
-       afx_msg void OnPtoffline();\r
-       afx_msg void OnCaptureBack();\r
-       afx_msg void OnRungestrec();\r
-       afx_msg void OnSettings();\r
-       afx_msg void OnTrain();\r
-       afx_msg void OnSaveDynamicGestures();\r
-       afx_msg void OnLoadDynamicGestures();\r
-       afx_msg void OnSaveBase();\r
-       afx_msg void OnLoadBase();\r
-       afx_msg void OnRecogFileDg();\r
-       afx_msg void OnDeleteHmm();\r
-       afx_msg void OnRemoveAllDg();\r
-       afx_msg void OnUpdateRungestrec(CCmdUI* pCmdUI);\r
-       //}}AFX_MSG\r
-       DECLARE_MESSAGE_MAP()\r
-};\r
-\r
-#define STEREOGRAPP(x) CStereoGRApp* (x) = (CStereoGRApp*)AfxGetApp();\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_STEREOGR_H__2B3C951D_D27D_4C2E_983A_8EC824753946__INCLUDED_)\r