// MainDlg.h : header file // #if !defined(AFX_MAINDLG_H__0E665B05_B761_40E3_983D_41E496B076B5__INCLUDED_) #define AFX_MAINDLG_H__0E665B05_B761_40E3_983D_41E496B076B5__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 typedef struct _MYTRANSFERSYNTAX { L_CHAR *pszUID; L_CHAR *pszDescription; } MYTRANSFERSYNTAX; static MYTRANSFERSYNTAX m_TransferSyntaxArray[] = { { UID_IMPLICIT_VR_LITTLE_ENDIAN ,"Implicit VR Little Endian (1.2.840.10008.1.2)"}, { UID_EXPLICIT_VR_LITTLE_ENDIAN ,"Explicit VR Little Endian (1.2.840.10008.1.2.1)"}, { UID_EXPLICIT_VR_BIG_ENDIAN ,"Explicit VR Big Endian (1.2.840.10008.1.2.2)"}, { UID_RLE_LOSSLESS ,"RLE Lossless (1.2.840.10008.1.2.5)"}, { UID_JPEG_BASELINE_1 ,"JPEG Baseline (Process 1) (1.2.840.10008.1.2.4.50)"}, { UID_JPEG_EXTENDED_2_4 ,"JPEG Extended (Process 2 & 4) (1.2.840.10008.1.2.4.51)"}, { UID_JPEG_LOSSLESS_NONHIER_14 ,"JPEG Lossless, Non-Hierarchical (Process 14) (1.2.840.10008.1.2.4.57)"}, { UID_JPEG_LOSSLESS_NONHIER_14B ,"JPEG Lossless, Non-Hierarchical,First-Order Prediction (1.2.840.10008.1.2.4.70)"}, { UID_JPEG2000_LOSSLESS_ONLY ,"JPEG 2000 Lossless Only (1.2.840.10008.1.2.4.90)"}, { UID_JPEG2000 ,"JPEG 2000 (1.2.840.10008.1.2.4.91)"}, }; #define SIZE_OF_ARRAY(a) (sizeof(a)/sizeof(a[0])) ///////////////////////////////////////////////////////////////////////////// // CDicomTransferSyntaxDlg dialog class CDicomTransferSyntaxDlg : public CDialog { // Construction public: CDicomTransferSyntaxDlg(CWnd* pParent = NULL); // standard constructor L_VOID CheckFileMetaInfo(LDicomDS& DataSet) const; // Dialog Data //{{AFX_DATA(CDicomTransferSyntaxDlg) enum { IDD = IDD_DICOMTRAN_DIALOG }; CButton m_J2kOptionsBtn; CComboBox m_cmbTransferSyntax; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDicomTransferSyntaxDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; FILEJ2KOPTIONS m_J2KOptions; // Generated message map functions //{{AFX_MSG(CDicomTransferSyntaxDlg) virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); virtual void OnCancel(); afx_msg void OnClose(); afx_msg void OnInfile(); afx_msg void OnOut(); afx_msg void OnChange(); afx_msg void OnSelchangeCombonewtransfer(); afx_msg void OnJ2koptions(); //}}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__0E665B05_B761_40E3_983D_41E496B076B5__INCLUDED_)