AnalysisView.h
Go to the documentation of this file.
1 // AnalysisView.h : interface of the CAnalysisView class, derived from CHoopsView
2 // Adds application specific members such as a QueryDialog and UI update/message maps
3 
4 #if !defined(AFX_CAnalysisView_H__FCA603FB_1694_11D2_B736_00805F85736F__INCLUDED_)
5 #define AFX_CAnalysisView_H__FCA603FB_1694_11D2_B736_00805F85736F__INCLUDED_
6 
7 #if _MSC_VER >= 1000
8 #pragma once
9 #endif // _MSC_VER >= 1000
10 
11 // AnalysisView.h : header file
12 //
13 
14 #include "CHoopsView.h"
15 
16 class HAnalysisView;
17 class HStreamFileToolkit;
18 
19 
21 // CAnalysisView view
22 
26 class CAnalysisView : public CHoopsView
27 {
28 protected:
29 
30  CAnalysisView(); // protected constructor used by dynamic creation
32 
33 // Attributes
34 public:
35 
39 
40  // Operations
41 public:
43 
44  // set current operator
45  void LocalSetOperator(HBaseOperator *NewOperator);
46 
47  void LoadFile( LPCTSTR csFilePathName );
48  bool SaveFile( LPCTSTR csFilePathName );
49 
50  void CleanUp();
51 
52 
53 
54 // Overrides
55  // ClassWizard generated virtual function overrides
56  //{{AFX_VIRTUAL(CAnalysisView)
57  public:
58  virtual void OnInitialUpdate();
59  protected:
60  virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
61  virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
62  //}}AFX_VIRTUAL
63 
64 private:
65 
66 // Implementation
67 protected:
68  virtual ~CAnalysisView();
69 #ifdef _DEBUG
70  virtual void AssertValid() const;
71  virtual void Dump(CDumpContext& dc) const;
72 #endif
73 
74  int FindMenuItem(CMenu* Menu, LPCTSTR MenuString);
75 
76 
77  // Generated message map functions
78 protected:
79  //{{AFX_MSG(CAnalysisView)
80  afx_msg void OnFileSaveAs();
81  afx_msg void OnZoom();
82  afx_msg void OnZoomToExtents();
83  afx_msg void OnZoomToWindow();
84  afx_msg void OnOrbit();
85  afx_msg void OnPan();
86  afx_msg void OnWindowSelect();
87  afx_msg void OnSelectionDeleteselection();
88  afx_msg void OnUpdateSelectionDeleteselection(CCmdUI* pCmdUI);
89  afx_msg void OnUpdateGouraud(CCmdUI* pCmdUI);
90  afx_msg void OnUpdateHiddenLine(CCmdUI* pCmdUI);
91  afx_msg void OnUpdateOrbit(CCmdUI* pCmdUI);
92  afx_msg void OnUpdatePan(CCmdUI* pCmdUI);
93  afx_msg void OnUpdateWindowSelect(CCmdUI* pCmdUI);
94  afx_msg void OnUpdateZoom(CCmdUI* pCmdUI);
95  afx_msg void OnUpdateZoomToWindow(CCmdUI* pCmdUI);
96  afx_msg void OnUpdateZoomToExtents(CCmdUI* pCmdUI);
97  afx_msg void OnToolsRendermodeGouraudshaded();
98  afx_msg void OnToolsRendermodeHiddenline();
99  afx_msg void OnToolsRendermodeWireframe();
100  afx_msg void OnUpdateToolsRendermodeWireframe(CCmdUI* pCmdUI);
101  afx_msg void OnUpdateToolsRendermodeGouraudshaded(CCmdUI* pCmdUI);
102  afx_msg void OnUpdateToolsRendermodeHiddenline(CCmdUI* pCmdUI);
103  afx_msg void OnCreateSphere();
104  afx_msg void OnUpdateCreateSphere(CCmdUI* pCmdUI);
105  afx_msg void OnCreateCone();
106  afx_msg void OnCreateCylinder();
107  afx_msg void OnUpdateCreateCone(CCmdUI* pCmdUI);
108  afx_msg void OnUpdateCreateCylinder(CCmdUI* pCmdUI);
109  afx_msg void OnMapData();
110  afx_msg void OnUpdateMapData(CCmdUI* pCmdUI);
111  afx_msg void OnDisplayIsolines();
112  afx_msg void OnUpdateDisplayIsolines(CCmdUI* pCmdUI);
113  afx_msg void OnDisplayEdges();
114  afx_msg void OnUpdateDisplayEdges(CCmdUI* pCmdUI);
115  afx_msg void OnColorInterpolation();
116  afx_msg void OnUpdateColorInterpolation(CCmdUI* pCmdUI);
117  afx_msg void OnDisplayQuadInterpolate();
118  afx_msg void OnAnimateColormap();
119 
120  //}}AFX_MSG
121  DECLARE_MESSAGE_MAP()
122 
123  void load(const char * filename);
124 
125 };
126 
127 
129 
130 //{{AFX_INSERT_LOCATION}}
131 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
132 
133 #endif // !defined(AFX_CAnalysisView_H__FCA603FB_1694_11D2_B736_00805F85736F__INCLUDED_)
afx_msg void OnUpdateToolsRendermodeGouraudshaded(CCmdUI *pCmdUI)
afx_msg void OnZoomToWindow()
afx_msg void OnDisplayEdges()
afx_msg void OnPan()
void LocalSetOperator(HBaseOperator *NewOperator)
HAnalysisView * GetSolidView()
Definition: AnalysisView.h:42
afx_msg void OnMapData()
afx_msg void OnToolsRendermodeGouraudshaded()
afx_msg void OnToolsRendermodeHiddenline()
afx_msg void OnUpdateColorInterpolation(CCmdUI *pCmdUI)
virtual void OnPrint(CDC *pDC, CPrintInfo *pInfo)
DECLARE_DYNCREATE(CHoopsView)
afx_msg void OnZoomToExtents()
afx_msg void OnUpdateCreateCone(CCmdUI *pCmdUI)
void load(const char *filename)
afx_msg void OnToolsRendermodeWireframe()
afx_msg void OnOrbit()
afx_msg void OnUpdatePan(CCmdUI *pCmdUI)
afx_msg void OnUpdateMapData(CCmdUI *pCmdUI)
bool m_bDisplayIsolines
indicates whether isolines are currently being displayed
Definition: AnalysisView.h:36
bool m_bColorInterpolation
indicates whether color interpolation is currently enabled
Definition: AnalysisView.h:38
bool SaveFile(LPCTSTR csFilePathName)
afx_msg void OnZoom()
afx_msg void OnUpdateHiddenLine(CCmdUI *pCmdUI)
afx_msg void OnUpdateToolsRendermodeHiddenline(CCmdUI *pCmdUI)
afx_msg void OnUpdateWindowSelect(CCmdUI *pCmdUI)
afx_msg void OnUpdateOrbit(CCmdUI *pCmdUI)
afx_msg void OnUpdateToolsRendermodeWireframe(CCmdUI *pCmdUI)
afx_msg void OnUpdateZoom(CCmdUI *pCmdUI)
afx_msg void OnUpdateGouraud(CCmdUI *pCmdUI)
afx_msg void OnUpdateCreateCylinder(CCmdUI *pCmdUI)
afx_msg void OnCreateSphere()
Definition: HAnalysisView.h:24
Definition: AnalysisView.h:26
afx_msg void OnUpdateCreateSphere(CCmdUI *pCmdUI)
virtual void OnInitialUpdate()
afx_msg void OnSelectionDeleteselection()
virtual ~CAnalysisView()
afx_msg void OnCreateCylinder()
afx_msg void OnWindowSelect()
afx_msg void OnCreateCone()
HBaseView * m_pHView
bool m_bDisplayEdges
indicates whether edges are currently being displayed
Definition: AnalysisView.h:37
virtual void OnActivateView(BOOL bActivate, CView *pActivateView, CView *pDeactiveView)
afx_msg void OnFileSaveAs()
afx_msg void OnDisplayIsolines()
afx_msg void OnUpdateDisplayEdges(CCmdUI *pCmdUI)
afx_msg void OnUpdateDisplayIsolines(CCmdUI *pCmdUI)
afx_msg void OnUpdateZoomToWindow(CCmdUI *pCmdUI)
void LoadFile(LPCTSTR csFilePathName)
afx_msg void OnAnimateColormap()
afx_msg void OnColorInterpolation()
int FindMenuItem(CMenu *Menu, LPCTSTR MenuString)
afx_msg void OnUpdateZoomToExtents(CCmdUI *pCmdUI)
afx_msg void OnDisplayQuadInterpolate()
afx_msg void OnUpdateSelectionDeleteselection(CCmdUI *pCmdUI)