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

transferfuncform.h

Go to the documentation of this file.
00001 #if !defined(AFX_TRANSFERFUNCFORM_H__A78CCDC4_A0F6_4666_B171_C9DE6C19692D__INCLUDED_)
00002 #define AFX_TRANSFERFUNCFORM_H__A78CCDC4_A0F6_4666_B171_C9DE6C19692D__INCLUDED_
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 // transferfuncform.h : header file
00008 //
00009 
00010 
00011 #include "transfunc.h"
00012 
00013 
00015 // transferfuncform dialog
00016 
00017 class transferfuncform : public CDialog
00018 {
00019 /*
00020         void m_DrawHistogram(CDC *dc,
00021                                                 int densityBegin,
00022                                                 int densityEnd,
00023                                                 int spanX,
00024                                                 int spanY,
00025                                                 int beginX,
00026                                                 int beginY);
00027 */
00028         void m_DrawHistogram(CDC *dc,
00029                                                 int densityBegin,
00030                                                 int densityEnd);
00031 
00032         void m_ResetComboBox(bool clear = FALSE);
00033 
00034         bool m_bActive;
00035         
00036 
00037 // Dialog Data
00038         //{{AFX_DATA(transferfuncform)
00039         enum { IDD = IDD_TRANSFERFUNCFORM_DIALOG };
00040         int             m_dTransferTo;
00041         CString m_sStaticRight;
00042         CString m_sStaticLeft;
00043         CString m_sStaticFrom;
00044         int             m_dTransferAlpha;
00045         int             m_dSliderAlpha;
00046         CString m_dStaticMaxDenstity;
00047         //}}AFX_DATA
00048 
00049 
00050 
00051 // Construction
00052 public:
00053         transferfuncform(CWnd* pParent = NULL);   // standard constructor
00054 
00055 
00056 
00057         COLORREF m_cTemp;
00058         INDEXLIST m_vTransferIndices;
00059 
00060         
00061 // Overrides
00062         // ClassWizard generated virtual function overrides
00063         //{{AFX_VIRTUAL(transferfuncform)
00064         protected:
00065         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00066         //}}AFX_VIRTUAL
00067 
00068 // Implementation
00069 protected:
00070 
00071         // Generated message map functions
00072         //{{AFX_MSG(transferfuncform)
00073         virtual void OnOK();
00074         afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
00075         afx_msg void OnPaint();
00076         afx_msg void OnButtonTransferColor();
00077         afx_msg void OnButtonTransferSave();
00078         afx_msg void OnButtonTransferClear();
00079         afx_msg void OnButtonTransferNew();
00080         afx_msg void OnSelchangeComboTransfer();
00081         afx_msg void OnButtonTransferDelete();
00082         afx_msg void OnChangeEditTransferAlpha();
00083         afx_msg void OnButtonTransferExport();
00084         afx_msg void OnButtonTransferImport();
00085         afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
00086         afx_msg void OnChangeEditTransferTo();
00087         //}}AFX_MSG
00088         DECLARE_MESSAGE_MAP()
00089 };
00090 
00091 
00092 //{{AFX_INSERT_LOCATION}}
00093 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00094 
00095 #endif // !defined(AFX_TRANSFERFUNCFORM_H__A78CCDC4_A0F6_4666_B171_C9DE6C19692D__INCLUDED_)

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