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 void Abort(); 00058 00059 // Overrides 00060 // ClassWizard generated virtual function overrides 00061 //{{AFX_VIRTUAL(CMy3dvisApp) 00062 public: 00063 virtual BOOL InitInstance(); 00064 virtual int ExitInstance(); 00065 //}}AFX_VIRTUAL 00066 00067 // Implementation 00068 //{{AFX_MSG(CMy3dvisApp) 00069 afx_msg void OnAppAbout(); 00070 afx_msg void OnFileOpen(); 00071 afx_msg void OnFClose(); 00072 afx_msg void OnRenderVolume(); 00073 afx_msg void OnOptionsTransfer(); 00074 afx_msg void OnPreset0(); 00075 afx_msg void OnPreset1(); 00076 afx_msg void OnPreset2(); 00077 afx_msg void OnPreset3(); 00078 afx_msg void OnPreset4(); 00079 afx_msg void OnPreset5(); 00080 afx_msg void OnPreset6(); 00081 afx_msg void OnPreset7(); 00082 afx_msg void OnPreset8(); 00083 afx_msg void OnPreset9(); 00084 afx_msg void OnFileInfo(); 00085 afx_msg void OnMenuVolume(); 00086 afx_msg void OnFileIni(); 00087 00088 // afx_msg void OnAbortOperation(); 00089 //}}AFX_MSG 00090 DECLARE_MESSAGE_MAP() 00091 }; 00092 00093 00095 00096 //{{AFX_INSERT_LOCATION}} 00097 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00098 00099 #endif // !defined(AFX_3DVIS_H__495DD301_08DB_46A7_8633_B31CC4AE4F68__INCLUDED_)