|
JunkBox_Win_Lib 1.5.3
|
#include <ExView.h>


Public Member Functions | |
| POINT | GetMousePos () |
| virtual int | GetMouseButton () |
| POINT | SetWindowSize (int xs, int ys, BOOL first=TRUE) |
| POINT | GetWindowSize (POINT pt) |
| POINT | GetClientSize (POINT pt) |
| POINT | GetWindowReSize (POINT pt) |
| POINT | ExecWindowReSize (int xs, int ys) |
| void | SetTitle (LPCTSTR title) |
| virtual POINT | GetWindowDisplaySize (POINT pt) |
| virtual BOOL | SetNewSurface (int ovsbpos=0) |
| virtual void | TimerStart (int tm=40) |
| virtual void | TimerStop () |
| virtual void | ExecRender () |
| virtual void | OnInitialUpdate () |
| virtual void | OnDraw (CDC *pDC) |
| virtual | ~CExView () |
| afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
| afx_msg void | OnTimer (UINT_PTR nIDEvent) |
Protected Member Functions | |
| CExView () | |
| virtual void | OnActivateView (BOOL bActivate, CView *pActivateView, CView *pDeactiveView) |
| virtual void | AssertValid () const |
| virtual void | Dump (CDumpContext &dc) const |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
| afx_msg void | OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
| afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
Protected Attributes | |
| int | timerID |
| bool | ctrlMouse |
| bool | activeWin |
|
protected |
Definition at line 28 of file ExView.cpp.
References VIEW_ZDIR.
|
virtual |
Definition at line 90 of file ExView.cpp.
References CExView::cMin, CExView::cmnHead, CExView::msGraph, CExView::pApp, CExView::pDoc, CExView::pFrame, CExDocument::pView, CExFrame::pView, CExView::viewData, and CAppCallBack::ViewDestructor().

|
protectedvirtual |
Reimplemented in CDx2DView, CDxDirectView, CDxMGRView, CDxSRenderView, and CDxVScrollView.
Definition at line 130 of file ExView.cpp.
Referenced by CDx2DView::AssertValid(), CDxDirectView::AssertValid(), CDxMGRView::AssertValid(), CDxSRenderView::AssertValid(), and CDxVScrollView::AssertValid().

|
protectedvirtual |
Reimplemented in CDx2DView, CDxDirectView, CDxMGRView, CDxSRenderView, and CDxVScrollView.
Definition at line 136 of file ExView.cpp.
References CExView::cMin.
Referenced by CDx2DView::Dump(), CDxDirectView::Dump(), CDxMGRView::Dump(), CDxSRenderView::Dump(), and CDxVScrollView::Dump().

Reimplemented in CDx2DView, CDxSRenderView, CDxVScrollView, CDxBaseView, CDxVTXBaseView, CDxDirectView, and CDxMGRView.
Definition at line 144 of file ExView.h.
Referenced by CContrastDLG::OnCancel(), CContrastDLG::OnChangeCntCntMax(), CContrastDLG::OnChangeCntCntMin(), CExView::OnDraw(), CContrastDLG::OnOK(), and CExView::OnTimer().

Definition at line 276 of file ExView.cpp.
References CExView::cMin, CExView::cnstSize, CExView::cnstXSize, CExView::cnstXYRate, CExView::cnstYSize, CExView::doReSize, CExView::GetWindowReSize(), and CExView::SetWindowSize().
Referenced by CDxVTXBaseView::OnDraw(), CExView::OnDraw(), CDxVTXBaseView::OnTimer(), and CExView::OnTimer().


Definition at line 222 of file ExView.cpp.
References CExView::cMin, and CExView::pFrame.
Referenced by CExFrame::OnSizing().

Reimplemented in CDxBaseView.
Definition at line 131 of file ExView.h.
| POINT GetMousePos | ( | ) |
Definition at line 303 of file ExView.cpp.
References CExView::cMin.
Referenced by CDxVTXBaseView::ExecRotation().

Definition at line 237 of file ExView.cpp.
References CExView::cMin, CExView::cnstSize, CExView::cnstXSize, CExView::cnstXYRate, CExView::cnstYSize, jbxwl::GetMouseCursorType(), CExView::initXSize, CExView::initYSize, CExView::maxXSize, CExView::maxYSize, and CExView::sizeXYRate.
Referenced by CExView::ExecWindowReSize(), and CExFrame::OnSizing().


Definition at line 205 of file ExView.cpp.
References CExView::cMin, and CExView::pFrame.
Referenced by CExFrame::OnSizing(), and CExView::SetWindowSize().

|
protectedvirtual |
Reimplemented in CDxBaseView.
Definition at line 396 of file ExView.cpp.
References CExView::activeWin, CExView::cMin, and CExView::ctrlMouse.
Referenced by CDxBaseView::OnActivateView().

Reimplemented in CDx3DDirectView, CDxVTXBaseView, CDxDirectView, and CDxSRenderView.
Definition at line 385 of file ExView.cpp.
References CExView::clientRect, CExView::cMin, CExView::ExecRender(), CExView::ExecWindowReSize(), CExView::hasViewData, and CExView::timerID.
Referenced by CExView::OnMouseWheel(), and CExView::OnVScroll().


Reimplemented in CDx2DView, CDxDirectView, CDxMGRView, CDxSRenderView, CDxVScrollView, CDx3DDirectView, CDxBaseView, and CDxVTXBaseView.
Definition at line 365 of file ExView.cpp.
References CExView::cMin, CExDocument::cmnHead, CExView::cmnHead, CExView::cnstSize, CExView::cnstXSize, CExView::cnstXYRate, CExView::cnstYSize, CExDocument::msGraph, CExView::msGraph, CExView::pDoc, CExView::xsize, CExView::ysize, and CExView::zsize.
Referenced by jbxwl::InitialDocView().

Definition at line 325 of file ExView.cpp.
References CExView::cMin, CExView::OnDraw(), CExView::SetNewSurface(), CExView::vSBctrl, CExView::vSBmax, CExView::vSBntch, and CExView::vSBpos.

Definition at line 410 of file ExView.cpp.
References CExView::clientRect, CExView::cMin, CExView::doReSize, and CExView::pFrame.
Referenced by CDxVScrollView::OnSize().

Definition at line 427 of file ExView.cpp.
References CExView::clientRect, CExView::cMin, CExView::ExecRender(), CExView::ExecWindowReSize(), and CExView::hasViewData.
Referenced by CDxVTXBaseView::OnTimer().


|
protected |
Definition at line 440 of file ExView.cpp.
References CExView::activeWin, CExView::cMin, CExView::OnDraw(), CExView::SetNewSurface(), CExView::vSBctrl, CExView::vSBmax, CExView::vSBntch, and CExView::vSBpos.

Reimplemented in CDxVScrollView, CDxDirectView, and CDxMGRView.
Definition at line 141 of file ExView.h.
References CExView::cMin.
Referenced by CContrastDLG::OnCancel(), CContrastDLG::OnChangeCntCntMax(), CContrastDLG::OnChangeCntCntMin(), CExView::OnMouseWheel(), CContrastDLG::OnOK(), and CExView::OnVScroll().

Definition at line 348 of file ExView.cpp.
References CExView::pFrame, CExFrame::Title, and CExView::Title.
Referenced by jbxwl::ExecDocFrmView(), CDx2DView::ExecRender(), CDxMGRView::MakeSetTitle(), CDxSRenderView::OnInitialUpdate(), and CDxVScrollView::OnInitialUpdate().

Definition at line 156 of file ExView.cpp.
References CExView::clientRate, CExView::clientRect, CExView::cMin, CExView::GetWindowSize(), CExView::initXSize, CExView::initYSize, CExView::origXSize, CExView::pFrame, CExView::prevXSize, CExView::prevYSize, and CExView::sizeXYRate.
Referenced by CExView::ExecWindowReSize(), CDx2DView::OnInitialUpdate(), CDxDirectView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxSRenderView::OnInitialUpdate(), and CDxVScrollView::OnInitialUpdate().


Definition at line 142 of file ExView.h.
References CExView::cMin, jbxwl::TimerID, and CExView::timerID.
Definition at line 143 of file ExView.h.
References CExView::cMin, and CExView::timerID.
|
protected |
Definition at line 126 of file ExView.h.
Referenced by CDxVTXBaseView::ExecRotation(), CDxBaseView::GetMouseButton(), CExView::OnActivateView(), and CExView::OnVScroll().
| double clientRate |
Definition at line 87 of file ExView.h.
Referenced by CDx2DView::ExecRender(), CDxMGRView::MakeSetTitle(), and CExView::SetWindowSize().
| RECT clientRect |
Definition at line 85 of file ExView.h.
Referenced by CDxVScrollView::ExecRender(), CDxVScrollView::InitObject(), CDxVTXBaseView::OnDraw(), CExView::OnDraw(), CDxVScrollView::OnInitialUpdate(), CExView::OnSize(), CDxVScrollView::OnSize(), CDxVTXBaseView::OnTimer(), CExView::OnTimer(), CDxVScrollView::SetNewSurface(), and CExView::SetWindowSize().
| int cMax |
Definition at line 116 of file ExView.h.
Referenced by CContrastDLG::CContrastDLG(), CContrastDLG::OnCancel(), CContrastDLG::OnChangeCntCntMax(), CContrastDLG::OnHScroll(), CDxMGRView::OnInitialUpdate(), and CDxMGRView::SetNewSurface().
| int cMin |
Definition at line 117 of file ExView.h.
Referenced by CContrastDLG::CContrastDLG(), CDxSRenderView::ClearObject(), CDxBaseView::ClearObject(), CExView::Dump(), CDx2DView::Dump(), CDxDirectView::Dump(), CDxMGRView::Dump(), CDxSRenderView::Dump(), CDxVScrollView::Dump(), CDx2DView::ExecRender(), CDxSRenderView::ExecRender(), CDxVScrollView::ExecRender(), CDxDirectView::ExecRender(), CDxMGRView::ExecRender(), CDxVTXBaseView::ExecRotation(), CExView::ExecWindowReSize(), CDxSRenderView::ExMouseWheel(), CExView::GetClientSize(), CDxBaseView::GetMouseButton(), CExView::GetMousePos(), CDxSRenderView::GetValidVoxelNum(), CDxBaseView::GetWindowDisplaySize(), CExView::GetWindowDisplaySize(), CExView::GetWindowReSize(), CExView::GetWindowSize(), CDxBaseView::InitDevice(), CDxSRenderView::InitObject(), CDx2DView::InitObject(), CDxDirectView::InitObject(), CDxMGRView::InitObject(), CDxVScrollView::InitObject(), CDxMGRView::MakeSetTitle(), CDxBaseView::OnActivateView(), CExView::OnActivateView(), CContrastDLG::OnCancel(), CContrastDLG::OnChangeCntCntMin(), CDxVTXBaseView::OnDraw(), CExView::OnDraw(), CExView::OnEraseBkgnd(), CContrastDLG::OnHScroll(), CExView::OnInitialUpdate(), CDx2DView::OnInitialUpdate(), CDxDirectView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxSRenderView::OnInitialUpdate(), CDxVScrollView::OnInitialUpdate(), CExView::OnMouseWheel(), CExView::OnSize(), CDxVScrollView::OnSize(), CDxVTXBaseView::OnTimer(), CExView::OnTimer(), CExView::OnVScroll(), CDxSRenderView::PrepareVB(), CDxVTXBaseView::PrepareVB(), CDxVScrollView::SetNewSurface(), CExView::SetNewSurface(), CDxDirectView::SetNewSurface(), CDxMGRView::SetNewSurface(), CDxBaseView::SetParameter(), CDxSRenderView::SetState(), CExView::SetWindowSize(), CDxVTXBaseView::SwitchRotation(), CExView::TimerStart(), CExView::TimerStop(), CDxBaseView::~CDxBaseView(), CDxVTXBaseView::~CDxVTXBaseView(), and CExView::~CExView().
| ExCmnHead cmnHead |
Definition at line 73 of file ExView.h.
Referenced by CDx2DView::InitObject(), CDxVScrollView::InitObject(), CExView::OnInitialUpdate(), CDx2DView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxVScrollView::OnInitialUpdate(), CDxVScrollView::OnSize(), CDxVScrollView::SetNewSurface(), CDxMGRView::SetNewSurface(), and CExView::~CExView().
| bool cnstSize |
Definition at line 101 of file ExView.h.
Referenced by CExView::ExecWindowReSize(), CExView::GetWindowReSize(), and CExView::OnInitialUpdate().
| bool cnstXSize |
Definition at line 102 of file ExView.h.
Referenced by CExView::ExecWindowReSize(), CExView::GetWindowReSize(), and CExView::OnInitialUpdate().
| bool cnstXYRate |
Definition at line 104 of file ExView.h.
Referenced by CExView::ExecWindowReSize(), CExView::GetWindowReSize(), and CExView::OnInitialUpdate().
| bool cnstYSize |
Definition at line 103 of file ExView.h.
Referenced by CExView::ExecWindowReSize(), CExView::GetWindowReSize(), and CExView::OnInitialUpdate().
| int colorMode |
Definition at line 114 of file ExView.h.
Referenced by CDxDirectView::InitObject(), CDxMGRView::InitObject(), CDxDirectView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxDirectView::SetNewSurface(), CDxMGRView::SetNewSurface(), and CvThumbNailDoc::TranslateData().
|
protected |
Definition at line 125 of file ExView.h.
Referenced by CDxVTXBaseView::ExecRotation(), and CExView::OnActivateView().
| bool doReSize |
Definition at line 121 of file ExView.h.
Referenced by CExView::ExecWindowReSize(), CDxVTXBaseView::OnDraw(), CExView::OnSize(), CExFrame::OnSizing(), and CDxVTXBaseView::OnTimer().
| BOOL hasViewData |
Definition at line 81 of file ExView.h.
Referenced by CDxSRenderView::ClearObject(), CDxBaseView::ClearObject(), jbxwl::ExecDocFrmView(), jbxwl::InitialDocView(), CDxSRenderView::InitObject(), CDx2DView::InitObject(), CDxDirectView::InitObject(), CDxMGRView::InitObject(), CDxVScrollView::InitObject(), CDxVTXBaseView::OnDraw(), CExView::OnDraw(), CDx2DView::OnInitialUpdate(), CDxDirectView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxSRenderView::OnInitialUpdate(), CDxVScrollView::OnInitialUpdate(), CDxVTXBaseView::OnTimer(), and CExView::OnTimer().
| int initXSize |
Definition at line 96 of file ExView.h.
Referenced by CExView::GetWindowReSize(), and CExView::SetWindowSize().
| int initYSize |
Definition at line 97 of file ExView.h.
Referenced by CExView::GetWindowReSize(), and CExView::SetWindowSize().
| int maxXSize |
Definition at line 105 of file ExView.h.
Referenced by CExView::GetWindowReSize().
| int maxYSize |
Definition at line 106 of file ExView.h.
Referenced by CExView::GetWindowReSize(), and CvThumbNailDoc::TranslateData().
Definition at line 74 of file ExView.h.
Referenced by CDxSRenderView::GetValidVoxelNum(), CExView::OnInitialUpdate(), CDxSRenderView::OnInitialUpdate(), CDxSRenderView::PrepareVB(), and CExView::~CExView().
| int origXSize |
Definition at line 94 of file ExView.h.
Referenced by CDx2DView::OnInitialUpdate(), CDxDirectView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxSRenderView::OnInitialUpdate(), CDxVScrollView::OnInitialUpdate(), and CExView::SetWindowSize().
| int origYSize |
Definition at line 95 of file ExView.h.
Referenced by CDx2DView::OnInitialUpdate(), CDxDirectView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxSRenderView::OnInitialUpdate(), and CDxVScrollView::OnInitialUpdate().
| CAppCallBack* pApp |
Definition at line 78 of file ExView.h.
Referenced by jbxwl::SetExLink(), CDxBaseView::~CDxBaseView(), CDxVTXBaseView::~CDxVTXBaseView(), and CExView::~CExView().
| CExDocument* pDoc |
Definition at line 76 of file ExView.h.
Referenced by CContrastDLG::CContrastDLG(), CDx2DView::ExecRender(), CDxMGRView::MakeSetTitle(), CExView::OnInitialUpdate(), CDx2DView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxSRenderView::OnInitialUpdate(), CDxVScrollView::OnInitialUpdate(), jbxwl::SetExLink(), CExDocument::~CExDocument(), and CExView::~CExView().
| CExFrame* pFrame |
Definition at line 77 of file ExView.h.
Referenced by CDx2DView::ExecRender(), CDxSRenderView::ExecRender(), CDxVScrollView::ExecRender(), CDxDirectView::ExecRender(), CDxMGRView::ExecRender(), CExView::GetClientSize(), CExView::GetWindowSize(), CDx2DView::OnInitialUpdate(), CDxDirectView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxSRenderView::OnInitialUpdate(), CDxVScrollView::OnInitialUpdate(), CDxVScrollView::OnLButtonDblClk(), CExView::OnSize(), CDxVScrollView::OnSize(), CDxSRenderView::PrepareVB(), jbxwl::SetExLink(), CExView::SetTitle(), CExView::SetWindowSize(), CExFrame::~CExFrame(), and CExView::~CExView().
| int prevSBpos |
Definition at line 109 of file ExView.h.
Referenced by CContrastDLG::OnCancel(), CContrastDLG::OnChangeCntCntMax(), CContrastDLG::OnChangeCntCntMin(), CContrastDLG::OnOK(), and CDxMGRView::SetNewSurface().
| int prevXSize |
Definition at line 98 of file ExView.h.
Referenced by CExView::SetWindowSize().
| int prevYSize |
Definition at line 99 of file ExView.h.
Referenced by CExView::SetWindowSize().
| double sizeFac |
Definition at line 88 of file ExView.h.
Referenced by CDxSRenderView::ExMouseWheel(), CDxSRenderView::OnInitialUpdate(), CDxSRenderView::PrepareVB(), and CDxSRenderView::SetState().
| double sizeXYRate |
Definition at line 86 of file ExView.h.
Referenced by CExView::GetWindowReSize(), CDx2DView::OnInitialUpdate(), CDxDirectView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxSRenderView::OnInitialUpdate(), CDxVScrollView::OnInitialUpdate(), and CExView::SetWindowSize().
|
protected |
Definition at line 124 of file ExView.h.
Referenced by CDxVTXBaseView::OnDraw(), CExView::OnDraw(), CExView::TimerStart(), and CExView::TimerStop().
| CString Title |
Definition at line 83 of file ExView.h.
Referenced by jbxwl::ExecDocFrmView(), CDx2DView::ExecRender(), CDxMGRView::MakeSetTitle(), CDxSRenderView::OnInitialUpdate(), CDxVScrollView::OnInitialUpdate(), and CExView::SetTitle().
| ExCmnHead viewData |
Definition at line 72 of file ExView.h.
Referenced by CDxDirectView::InitObject(), CDxMGRView::InitObject(), CDxDirectView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxDirectView::SetNewSurface(), CDxMGRView::SetNewSurface(), and CExView::~CExView().
| int viewMode |
Definition at line 113 of file ExView.h.
Referenced by CDxMGRView::OnInitialUpdate(), and CDxMGRView::SetNewSurface().
| int vMax |
Definition at line 118 of file ExView.h.
Referenced by CContrastDLG::CContrastDLG(), CDxMGRView::OnInitialUpdate(), and CDxMGRView::SetNewSurface().
| int vMin |
Definition at line 119 of file ExView.h.
Referenced by CContrastDLG::CContrastDLG(), CDxMGRView::OnInitialUpdate(), and CDxMGRView::SetNewSurface().
| bool vSBctrl |
Definition at line 112 of file ExView.h.
Referenced by CExView::OnMouseWheel(), and CExView::OnVScroll().
| int vSBmax |
Definition at line 110 of file ExView.h.
Referenced by CDxMGRView::MakeSetTitle(), CDxMGRView::OnInitialUpdate(), CDxVScrollView::OnInitialUpdate(), CExView::OnMouseWheel(), CDxVScrollView::OnSize(), and CExView::OnVScroll().
| int vSBntch |
Definition at line 111 of file ExView.h.
Referenced by CExView::OnMouseWheel(), and CExView::OnVScroll().
| int vSBpos |
Definition at line 108 of file ExView.h.
Referenced by jbxwl::ExecTemplate(), CDxMGRView::InitObject(), CDxVScrollView::InitObject(), CDxMGRView::MakeSetTitle(), CDxMGRView::OnInitialUpdate(), CDxVScrollView::OnInitialUpdate(), CExView::OnMouseWheel(), CDxVScrollView::OnSize(), CExView::OnVScroll(), CDxVScrollView::SetNewSurface(), and CDxMGRView::SetNewSurface().
| int xsize |
Definition at line 90 of file ExView.h.
Referenced by CDxBaseView::InitDevice(), CExView::OnInitialUpdate(), CDxDirectView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), and CDxBaseView::SetParameter().
| int ysize |
Definition at line 91 of file ExView.h.
Referenced by CDxBaseView::InitDevice(), CExView::OnInitialUpdate(), CDxDirectView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), and CDxBaseView::SetParameter().
| int zsize |
Definition at line 92 of file ExView.h.
Referenced by CExView::OnInitialUpdate(), and CDxMGRView::OnInitialUpdate().