// DicomDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDicomDlg dialog class CDicomDlg : public CDialog { // Construction public: CDicomDlg(CWnd* pParent = NULL); // standard constructor void SetLoadFile(LPTSTR); // set the file to load when you create the dialog // Dialog Data //{{AFX_DATA(CDicomDlg) enum { IDD = IDD_DICOMAPP_DIALOG }; CTreeCtrl m_List; CTreeCtrl m_Tree; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDicomDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; int m_nIndex; LDicomDS m_DS; L_UINT16 m_nLoadFlags; L_UINT16 m_nSaveFlags; L_UINT16 m_nSaveCompression; L_UINT16 m_nSavePhotometric; L_UINT16 m_nSaveBitsPerPixel; L_UINT16 m_nSaveQFactor; L_BOOL m_bHighLevel; CImageList m_Icon; L_BOOL m_bTag; L_BOOL m_bReset; L_BOOL m_bCancel; CString m_strPath; CString m_strFileName; LBitmapList *m_pList; LBitmapWindow *m_pImage; L_UINT m_nImage; L_UINT m_hTimer; L_UINT m_hPlayTimer; L_UINT32 m_nStart; L_BOOL m_bZoom; L_BOOL m_bVolatile; BOOL OpenDlg (CString strTitle, BOOL bLoad, CString &strName, CString &strPath, int *nIndex); int GetImage (UINT nBitmap); void FillTree (HTREEITEM hParentTree, pDICOMELEMENT pParentElement); void FillTree1 (HTREEITEM hParentTree, pDICOMELEMENT pParentElement); HTREEITEM InsertElement (HTREEITEM hParentTree, pDICOMELEMENT pElement); void VerifyTree (HTREEITEM hItem); void ShowValue (HTREEITEM hItem); void ShowBitmap (); void KillPlay (); void ImageProcessing (L_INT nType, L_INT nProcess); void StringToValue (pDICOMELEMENT pElement, L_UINT32 nCount, L_CHAR *pszText); void LoadFile (CString &strName); void FindAndExpand (CString &TreeString); L_BOOL CanInsertCompressedImage(); // Generated message map functions //{{AFX_MSG(CDicomDlg) virtual BOOL OnInitDialog(); virtual void OnCancel(); virtual void OnOK(); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnClose(); afx_msg void OnItemexpandedTree(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnFileNew(); afx_msg void OnFileOpen(); afx_msg void OnFileClose(); afx_msg void OnFileSave(); afx_msg void OnFileConformance(); afx_msg void OnFileInfo(); afx_msg void OnViewLowlevel(); afx_msg void OnViewHighlevel(); afx_msg void OnViewTags(); afx_msg void OnViewVolatile(); afx_msg void OnViewNormal(); afx_msg void OnViewFitimagetowindow(); afx_msg void OnTablesVR(); afx_msg void OnTablesUID(); afx_msg void OnTablesTag(); afx_msg void OnTablesIOD(); afx_msg void OnDatasetInsertElement(); afx_msg void OnDatasetDeleteElement(); afx_msg void OnDatasetModifyValue(); afx_msg void OnDatasetInsertModule(); afx_msg void OnDatasetDeleteModule(); afx_msg void OnAnimationPlay(); afx_msg void OnAnimationStop(); afx_msg void OnAnimationFirst(); afx_msg void OnAnimationLast(); afx_msg void OnAnimationPrev(); afx_msg void OnAnimationNext(); afx_msg void OnAnimationInfo(); afx_msg void OnProcessingFlip(); afx_msg void OnProcessingReverse(); afx_msg void OnProcessingRotate(); afx_msg void OnProcessingShear(); afx_msg void OnProcessingResize(); afx_msg void OnProcessingGradientfilter(); afx_msg void OnProcessingErosionfilter(); afx_msg void OnProcessingHalftone(); afx_msg void OnProcessingGrayscale(); afx_msg void OnProcessingGrayscale12(); afx_msg void OnProcessingGrayscale16(); afx_msg void OnProcessingColorresolution(); afx_msg void OnProcessingWindowlevel(); afx_msg void OnProcessingInvert(); afx_msg void OnProcessingBrightness(); afx_msg void OnProcessingContrast(); afx_msg void OnProcessingHue(); afx_msg void OnProcessingSaturation(); afx_msg void OnProcessingHistogramequalize(); afx_msg void OnProcessingHistocontrast(); afx_msg void OnProcessingStretchintensity(); afx_msg void OnProcessingGammacorrect(); afx_msg void OnProcessingIntensitydetect(); afx_msg void OnProcessingDespeckle(); afx_msg void OnProcessingAddnoise(); afx_msg void OnProcessingEmboss(); afx_msg void OnOptionsLoad(); afx_msg void OnOptionsSave(); afx_msg void OnHelpAbout(); afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnDblclkTree(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnTablesContextGroups(); //}}AFX_MSG DECLARE_MESSAGE_MAP() };