00001 #ifndef MAINFRAME_H 00002 #define MAINFRAME_H 00003 00004 #include <Inventor/ViewerComponents/MFC/RenderAreaExaminer.h> 00005 00006 #include <Inventor/nodes/SoSeparator.h> 00007 00011 class MainFrame : public CFrameWnd 00012 { 00013 00014 public: 00015 virtual BOOL PreCreateWindow( CREATESTRUCT& cs ); 00016 00017 private: 00018 SoRef<SoSeparator> m_rootSceneGraph; 00019 00020 RenderAreaExaminer m_renderAreaExaminer; 00021 00022 afx_msg int OnCreate( LPCREATESTRUCT lpCreateStruct ); 00023 afx_msg BOOL OnMouseWheel(UINT flags, short zDelta, CPoint pt); 00024 afx_msg BOOL PreTranslateMessage(MSG* pMsg); 00025 00026 DECLARE_MESSAGE_MAP() 00027 }; 00028 00029 #endif // MAINFRAME_H 00030