///////////////////////////////////////////////////////////////////////////// // // Interface of the CMainDlg class. // // Copyright © 2000-2001 Medicor Imaging. All rights reserved. // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_MAINDLG_H__F49B29A9_BB40_4052_B153_0F96AE08CC6C__INCLUDED_) #define AFX_MAINDLG_H__F49B29A9_BB40_4052_B153_0F96AE08CC6C__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// //IOD Class used in demo #define USER_CLASS CLASS_STANDALONE_OVERLAY_STORAGE //UID Class used in demo #define USER_CLASS_UID "1.2.840.10008.5.1.4.1.1.8" //Default value for the element Overlay Rows #define USER_DEFAULT_ROWS 40 //Default value for the element Overlay Columns #define USER_DEFAULT_COLUMNS 40 //Default value for text to put in the Overlay Data #define USER_DEFAULT_TEXT "DATA" class CMainDlg : public CDialog { // Construction public: CMainDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CMainDlg) enum { IDD = IDD_MAINAPP }; CTreeCtrl m_IODTree; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMainDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL //Interactive function for IOD tree L_BOOL Add_IOD_Tree(DICOMIOD* pIOD, CString szText); //Create new DICOM using user IOD class L_BOOL Create_Class(); //Find& Delete from LEAD predefined IOD tree L_BOOL Find_Delete_IOD(); //Add new IOD Class L_BOOL Add_IOD(); //Save Dicom File L_BOOL Save_Class(); //Add all mandatory elements to module Patient L_BOOL AddPatientModuleElements(DICOMIOD *pModuleIOD); //Add all mandatory elements to module General Study L_BOOL AddGeneralStudyModuleElements(DICOMIOD *pModuleIOD); //Add all mandatory elements to module General Series L_BOOL AddGeneralSeriesModuleElements(DICOMIOD *pModuleIOD); //Add all mandatory elements to module Overlay Plane L_BOOL AddOverlayPlaneModuleElements(DICOMIOD *pModuleIOD); //Add default values for elements L_VOID AddDefaultValues(); //LEAD UID class object LDicomUID m_UID; //LEAD IOD class object LDicomIOD m_IOD; LDicomDS m_DS; HDC m_hDC; L_INT16 m_nColumns; L_INT16 m_nRows; CString m_szText; L_INT m_nStep; // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CMainDlg) virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnStep(); afx_msg void OnOverlayHelp(); virtual void OnCancel(); afx_msg void OnClose(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. ///////////////////////////////////////////////////////////////////////////// #endif // !defined(AFX_MAINDLG_H__F49B29A9_BB40_4052_B153_0F96AE08CC6C__INCLUDED_)