// DICOMDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDICOMDlg dialog //{{AFX_INCLUDES() #include "leadrasterview.h" //}}AFX_INCLUDES class CDICOMDlg : public CDialog { // Construction public: CDICOMDlg(CWnd* pParent = NULL); // standard constructor BOOL m_bDSOpen; BOOL m_bModule; short m_LoadFlags; short m_SaveFlags; BOOL m_bHighLevel; HTREEITEM m_hSelectedItem; CString m_szCaption; CImageList m_ImageList; BOOL m_bBitmap; BOOL m_bAnimation; ILEADDicomDS *m_pLEADDicomDS; ILEADRasterProcess *m_pRasterProcess; ILEADRasterAnnotation *m_pRasterAnn; ILEADRasterAnnToolBar *m_pAnnToolBar; ILEADRasterDlgKrnPtr m_spRasterDlgKrn; ILEADRasterDlgImgPtr m_spRasterDlgImg; ILEADRasterDlgClrPtr m_spRasterDlgClr; ILEADRasterDlgImgEfxPtr m_spRasterDlgImgEfx; short m_nLoadVR; short m_nLoadTransfer; short m_nLoadMeta; short m_nSaveVR; short m_nSaveTransfer; short m_nSaveMeta; short m_nSaveGroupLen; short m_nSaveLenEncoding; long m_nSaveCompression; long m_nSavePhotometric; short m_nSaveBitsPerPixel; short m_nSaveQFactor; bool m_bToolBarVisible; short m_nTag; void TestProc1(); void TestProc2(); void TestProc3(); void TestProc4(); void TestProc5(); void TestProc6(); void TestProc7(); void TestProc8(); void TestProc9(); void TestProc10(); void TestProcBitmap(); void TestProcList(); void TestProcInsertBitmap(); void TestProcReplaceBitmap(); void TestProcInsertList(); BOOL m_bQuit; CDicomDSSink *m_pDicomDSSink; CRasterAnnSink *m_pRasterAnnSink; IConnectionPoint *m_pCP; DWORD m_dwCookie; DWORD m_dwCookieAnn; // Dialog Data //{{AFX_DATA(CDICOMDlg) enum { IDD = IDD_DICOM_DIALOG }; CListBox m_List2; CListBox m_List1; CTreeCtrl m_TreeView1; CEdit m_Text4; CEdit m_Text3; CEdit m_Text2; CEdit m_Text1; CLEADRasterView m_LEADRasterView1; //}}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; // Generated message map functions //{{AFX_MSG(CDICOMDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnFileExit(); afx_msg void OnDatasetDatasetinfo(); afx_msg void OnFileOpen(); afx_msg void OnFileClose(); afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnItemexpandedTree1(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnFileSave(); afx_msg void OnOptionsConformancetest(); afx_msg void OnConformanceStatusLeaddicomctrl1(short nFlags); afx_msg void OnViewLowleveltree(); afx_msg void OnViewHighlevel(); afx_msg void OnDatasetInsertelement(); afx_msg void OnDatasetDeleteelement(); afx_msg void OnDatasetInsertmodule(); afx_msg void OnDatasetDeletemodule(); afx_msg void OnOptionsLoad(); afx_msg void OnOptionsSave(); afx_msg void OnViewoptionsNormal(); afx_msg void OnViewoptionsFit(); afx_msg void OnViewoptionsZoomin2x(); afx_msg void OnViewoptionsZoomin4x(); afx_msg void OnViewoptionsZoomout12x(); afx_msg void OnViewoptionsZoomout14x(); afx_msg void OnViewoptionsAnimationPlayanimation(); afx_msg void OnViewoptionsAnimationAnimationloop(); afx_msg void OnViewoptionsAnimationFirstframe(); afx_msg void OnViewoptionsAnimationNextframe(); afx_msg void OnViewoptionsAnimationPreviousframe(); afx_msg void OnViewoptionsAnimationLastframe(); afx_msg void OnTablesValuerepresentationvr(); afx_msg void OnTablesUniqueidentifieruid(); afx_msg void OnTablesElementtag(); afx_msg void OnTablesInformationobjectdefinitioniod(); afx_msg void OnClickLEADRasterView1(); afx_msg void OnViewoptionsImageInfo(); afx_msg void OnFlip(); afx_msg void OnReverse(); afx_msg void OnRotate(); afx_msg void OnResize(); afx_msg void OnGrayscale8(); afx_msg void OnGrayscale12(); afx_msg void OnGrayscale16(); afx_msg void OnWindowLevel(); afx_msg void OnInvert(); afx_msg void OnDatasetEditvalue(); afx_msg void OnDblclkTree1(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnDblclkList1(); afx_msg void OnAnntool(); afx_msg void OnAnnotationAnnsave(); afx_msg void OnAnnotationAnnload(); afx_msg void OnAnnotationAnndelete(); afx_msg void OnAnnotationAnncount(); afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu); afx_msg void OnAnnotationDesign(); afx_msg void OnAnnotationRun(); afx_msg void OnClose(); afx_msg void OnHistogramStretchIntensity(); afx_msg void OnIntensityDetect(); afx_msg void OnAdjustBrightness(); afx_msg void OnAdjustContrast(); afx_msg void OnAdjustHue(); afx_msg void OnAdjustSaturation(); afx_msg void OnAdjustGamma(); afx_msg void OnTransformHalftone(); afx_msg void OnTransformColorResolution(); afx_msg void OnHistogramEqualize(); afx_msg void OnHistogramContrast(); afx_msg void OnTablesContextGroups(); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() public: void SetUpAnnToolBar(); float GetRightOffset(); void FillTreeLowLevel(); void FillSubTreeLowLevel(HTREEITEM hParent); void DisplayElement(CString NodeText); void DisplayValues(); void DisplayBitmap(); void DisplayBitmapList(); void DisplayBinary(); void DisplayChar(); void DisplayShort(); void DisplayLong(); void DisplayFloat(); void DisplayDouble(); void DisplayString(); void DisplayAge(); void DisplayDate(); void DisplayTime(); void DisplayDateTime(); void UpdateMenuStatus(); void FillTreeHighLevel(); void FillSubTreeHighLevel(HTREEITEM hParent, BOOL bRecurse); void UpdateDSImage(); void HandleAnnCreate(long hObject); void HandleAnnClicked (long hObject); void HandleAnnDrawn (long hObject); void HandleAnnToolDestroy (); void HandleAnnToolChecked (short iTool); void HandleAnnMouseDown (short Button, short Shift, long x, long y); void HandleAnnMouseMove (short Button, short Shift, long x, long y); void HandleAnnMouseUp (short Button, short Shift, long x, long y); };