Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DynaHapticView.h

00001 // DynaHapticView.h : CDynaHapticView ƒNƒ‰ƒX‚̐錾‚¨‚æ‚уCƒ“ƒ^[ƒtƒFƒCƒX‚Ì’è‹`‚ð‚µ‚Ü‚·B
00002 //
00003 /////////////////////////////////////////////////////////////////////////////
00004 
00005 #if !defined(AFX_DynaHapticVIEW_H__2DC375FA_13A6_4A8D_ABC1_344D836C16E0__INCLUDED_)
00006 #define AFX_DynaHapticVIEW_H__2DC375FA_13A6_4A8D_ABC1_344D836C16E0__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 #include <FrameWork/FWAppD3D.h>
00013 #include <FrameWork/FWPointer.h>
00014 #include <Graphics/GRRender.h>
00015 #include <Graphics/GRCamera.h>
00016 #include <WinBasis/WBMMTimer.h>
00017 #include "HisConfig.h"
00018 
00019 
00020 class CDynaHapticView : public CView {
00021 protected: // ƒVƒŠƒAƒ‰ƒCƒY‹@”\‚݂̂©‚çì¬‚µ‚Ü‚·B
00022     CDynaHapticView();
00023     DECLARE_DYNCREATE(CDynaHapticView)
00024 // ƒAƒgƒŠƒrƒ…[ƒg
00025 public:
00026     CHisConfig dlConfig;
00027     Spr::UTRef<Spr::FWAppD3D> app;
00028     int drawTimerId;
00029 
00030     CDynaHapticDoc* GetDocument();
00031 
00032 // ƒIƒyƒŒ[ƒVƒ‡ƒ“
00033 public:
00034     void InitHis(std::string hisList, float ps, float fs);
00035     void ReadRegistry();
00036     void WriteRegistry();
00037 
00038 // ƒI[ƒo[ƒ‰ƒCƒh
00039     // ClassWizard ‚͉¼‘zŠÖ”‚̃I[ƒo[ƒ‰ƒCƒh‚𐶐¬‚µ‚Ü‚·B
00040     //{{AFX_VIRTUAL(CDynaHapticView)
00041     public:
00042     virtual void OnDraw(CDC* pDC);  // ‚±‚̃rƒ…[‚ð•`‰æ‚·‚éÛ‚ɃI[ƒo[ƒ‰ƒCƒh‚³‚ê‚Ü‚·B
00043     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00044     virtual void OnInitialUpdate();
00045     virtual BOOL PreTranslateMessage(MSG* pMsg);
00046     //}}AFX_VIRTUAL
00047 
00048 // ƒCƒ“ƒvƒŠƒƒ“ƒe[ƒVƒ‡ƒ“
00049 public:
00050     virtual ~CDynaHapticView();
00051 #ifdef _DEBUG
00052     virtual void AssertValid() const;
00053     virtual void Dump(CDumpContext& dc) const;
00054 #endif
00055 
00056 protected:
00057 
00058 // ¶¬‚³‚ꂽƒƒbƒZ[ƒW ƒ}ƒbƒvŠÖ”
00059 protected:
00060     void ThrowSphere(float r);
00061     //{{AFX_MSG(CDynaHapticView)
00062     afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
00063     afx_msg BOOL OnEraseBkgnd(CDC* pDC);
00064     afx_msg void OnTimer(UINT nIDEvent);
00065     afx_msg void OnDestroy();
00066     afx_msg void OnD3d();
00067     afx_msg void OnGL();
00068     afx_msg void OnHisConfig();
00069     //}}AFX_MSG
00070     DECLARE_MESSAGE_MAP()
00071 public:
00072     afx_msg void OnSize(UINT nType, int cx, int cy);
00073 };
00074 
00075 #ifndef _DEBUG  // DynaHapticView.cpp ƒtƒ@ƒCƒ‹‚ªƒfƒoƒbƒOŠÂ‹«‚ÌŽžŽg—p‚³‚ê‚Ü‚·B
00076 inline CDynaHapticDoc* CDynaHapticView::GetDocument()
00077    { return (CDynaHapticDoc*)m_pDocument; }
00078 #endif
00079 
00080 /////////////////////////////////////////////////////////////////////////////
00081 
00082 //{{AFX_INSERT_LOCATION}}
00083 // Microsoft Visual C++ ‚Í‘Os‚Ì’¼‘O‚ɒljÁ‚̐錾‚ð‘}“ü‚µ‚Ü‚·B
00084 
00085 #endif // !defined(AFX_DynaHapticVIEW_H__2DC375FA_13A6_4A8D_ABC1_344D836C16E0__INCLUDED_)

Generated on Sun Apr 16 02:07:07 2006 for Springhead by  doxygen 1.4.1