Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

3dvis.h

Go to the documentation of this file.
00001 // 3dvis.h : main header file for the 3DVIS application
00002 //
00003 
00004 #if !defined(AFX_3DVIS_H__495DD301_08DB_46A7_8633_B31CC4AE4F68__INCLUDED_)
00005 #define AFX_3DVIS_H__495DD301_08DB_46A7_8633_B31CC4AE4F68__INCLUDED_
00006 
00007 #if _MSC_VER > 1000
00008 #pragma once
00009 #endif // _MSC_VER > 1000
00010 
00011 #ifndef __AFXWIN_H__
00012         #error include 'stdafx.h' before including this file for PCH
00013 #endif
00014 
00015 #include "resource.h"       // main symbols
00016 
00017 #include "transferfuncform.h"
00018 #include "transfunc.h"
00019 
00020 
00021 #include <string>
00022 using std::string;
00023 
00024 
00026 // CMy3dvisApp:
00027 // See 3dvis.cpp for the implementation of this class
00028 //
00029 
00030 class CMy3dvisApp : public CWinApp
00031 {
00032         int m_dOperation;
00033 
00034         bool m_bOpen;
00035         bool m_bClicked;
00036 
00037         int m_dFileThres;
00038         int m_dPacketSize;
00039 
00040         transferfuncform m_Transferdiag;
00041 
00042         INDEXLIST *presetTransformFunctions;
00043         
00044         void m_BuildTransferFunction(INDEXLIST &function, int num);
00045         void m_ProcessIniFile(bool store = false);
00046 
00047 public:
00048         CMy3dvisApp();
00049 
00050         bool m_bRenderVolume;
00051         int m_dNumPresets;
00052         Transfunc *transferFunction;
00053         
00054         string programPath;
00055         
00056         
00057 // Overrides
00058         // ClassWizard generated virtual function overrides
00059         //{{AFX_VIRTUAL(CMy3dvisApp)
00060         public:
00061         virtual BOOL InitInstance();
00062         virtual int ExitInstance();
00063         //}}AFX_VIRTUAL
00064 
00065 // Implementation
00066         //{{AFX_MSG(CMy3dvisApp)
00067         afx_msg void OnAppAbout();
00068         afx_msg void OnFileOpen();
00069         afx_msg void OnFClose();
00070         afx_msg void OnRenderVolume();
00071         afx_msg void OnOptionsTransfer();
00072         afx_msg void OnPreset0();
00073         afx_msg void OnPreset1();
00074         afx_msg void OnPreset2();
00075         afx_msg void OnPreset3();
00076         afx_msg void OnPreset4();
00077         afx_msg void OnPreset5();
00078         afx_msg void OnPreset6();
00079         afx_msg void OnPreset7();
00080         afx_msg void OnPreset8();
00081         afx_msg void OnPreset9();
00082         afx_msg void OnFileInfo();
00083         afx_msg void OnMenuVolume();
00084         afx_msg void OnFileIni();
00085         //}}AFX_MSG
00086         DECLARE_MESSAGE_MAP()
00087 };
00088 
00089 
00091 
00092 //{{AFX_INSERT_LOCATION}}
00093 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00094 
00095 #endif // !defined(AFX_3DVIS_H__495DD301_08DB_46A7_8633_B31CC4AE4F68__INCLUDED_)

Generated on Thu Jan 30 21:35:43 2003 for 3DVis by doxygen1.3-rc2