X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=apps%2FHMMDemo%2FSamplingParams.cpp;fp=apps%2FHMMDemo%2FSamplingParams.cpp;h=0000000000000000000000000000000000000000;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hp=f6947ea15dd69d1abdcf508d59c4071c82d8a2b1;hpb=454138ff8a20f6edb9b65a910101403d8b520643;p=opencv diff --git a/apps/HMMDemo/SamplingParams.cpp b/apps/HMMDemo/SamplingParams.cpp deleted file mode 100644 index f6947ea..0000000 --- a/apps/HMMDemo/SamplingParams.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// SamplingParams.cpp : implementation file -// - -#include "stdafx.h" -#include "hmmdemo.h" -#include "SamplingParams.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CSamplingParams property page - -IMPLEMENT_DYNCREATE(CSamplingParams, CPropertyPage) - -CSamplingParams::CSamplingParams() : CPropertyPage(CSamplingParams::IDD) -{ - //{{AFX_DATA_INIT(CSamplingParams) - // NOTE: the ClassWizard will add member initialization here - //}}AFX_DATA_INIT - - m_delta = cvSize( 4, 4 ); - m_obsSize = cvSize( 3, 3 ); - m_dctSize = cvSize( 12, 12 ); - -} - -CSamplingParams::~CSamplingParams() -{ -} - -void CSamplingParams::DoDataExchange(CDataExchange* pDX) -{ - CPropertyPage::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CSamplingParams) - DDX_Text(pDX, IDC_DCT_WIDTH, m_dctSize.width); - DDX_Text(pDX, IDC_DCT_HEIGHT, m_dctSize.height); - DDX_Text(pDX, IDC_DELTA_WIDTH, m_delta.width); - DDX_Text(pDX, IDC_DELTA_HEIGHT, m_delta.height); - DDX_Text(pDX, IDC_OBS_WIDTH, m_obsSize.width); - DDX_Text(pDX, IDC_OBS_HEIGHT, m_obsSize.height); - //}}AFX_DATA_MAP -} - - -BEGIN_MESSAGE_MAP(CSamplingParams, CPropertyPage) - //{{AFX_MSG_MAP(CSamplingParams) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CSamplingParams message handlers - -BOOL CSamplingParams::OnInitDialog() -{ - CPropertyPage::OnInitDialog(); - - // TODO: Add extra initialization here - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -}