00001
00007 #pragma once
00008
00009 #include "OpenGLControl.hpp"
00010 #include "FlowData.hpp"
00011
00012 #include "TransferDialog.h"
00013 #include "PlayerDialog.h"
00014
00015 #include "PresetManager.hpp"
00016
00017
00018 class CVisFlowRendererDlg : public CDialog
00019 {
00020 private:
00021 CTransferDialog *transferdialog;
00022 PlayerDialog *playerdialog;
00023
00024 FlowData data;
00025
00026
00027 public:
00028 CVisFlowRendererDlg(CWnd* pParent = NULL);
00029
00030
00031 enum { IDD = IDD_VISFLOWRENDERER_DIALOG };
00032
00033
00034 protected:
00035 HICON m_hIcon;
00036
00037 COpenGLControl m_oglwindow;
00038 CMenu mainmenu;
00039
00040 virtual void DoDataExchange(CDataExchange* pDX);
00041
00042
00043 virtual BOOL OnInitDialog();
00044
00045 void onMenuFileOpen();
00046 void onMenuFileExit();
00047 void onMenuViewResetCamera();
00048 void onMenuViewShowAxes();
00049
00050 DECLARE_MESSAGE_MAP()
00051 afx_msg void OnPaint();
00052 afx_msg HCURSOR OnQueryDragIcon();
00053 public:
00054 afx_msg void OnSize(UINT nType, int cx, int cy);
00055
00056 afx_msg void OnMouseMove(UINT nFlags, CPoint point);
00057 afx_msg void OnMouseHWheel(UINT nFlags, short zDelta, CPoint pt);
00058 afx_msg void OnViewShowtransferdialog();
00059 afx_msg void OnViewShow();
00060 afx_msg void OnViewShowdatalayer();
00061 afx_msg void OnViewShowparameters();
00062 afx_msg void OnViewShowWireframe();
00063 afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
00064 afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
00065 afx_msg void OnViewPlayer();
00066 afx_msg void OnViewShowglyphs();
00067 afx_msg void OnViewShowstreamlines();
00068 };