Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BExtractorView Class Reference
Inheritance diagram for BExtractorView:

Public Member Functions

BExtractorDocGetDocument ()
 
DPoint2 GetCurLocation ()
 
void ReadDataPath ()
 
void ZoomToImage (CBImage *pImage)
 
void DrawBuildings (CDC *pDC)
 
void DrawBuilding (CDC *pDC, vtBuilding *bld)
 
void DrawRoadNodes (CDC *pDC)
 
void DrawRoadNode (CDC *pDC, TNode *pNode)
 
void DrawRoads (CDC *pDC)
 
void DrawRoad (CDC *pDC, TLink *pLink)
 
bool FindNearestRoadNode (CPoint &point, TNode **pNearestNode)
 
bool ReadINIFile ()
 
bool WriteINIFile ()
 
bool SelectionOnPicture (DPoint2 point)
 
virtual void OnDraw (CDC *pDC)
 
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
 
virtual void OnInitialUpdate ()
 

Protected Member Functions

virtual void OnActivateView (BOOL bActivate, CView *pActivateView, CView *pDeactiveView)
 
double s_UTMx (int sx)
 
double s_UTMy (int sy)
 
void s_UTM (CPoint &p, DPoint2 &utm)
 
int UTM_sx (double utm_x)
 
int UTM_sy (double utm_y)
 
void UTM_s (const DPoint2 &utm, CPoint &p)
 
int UTM_sdx (double utm_x)
 
int UTM_sdy (double utm_y)
 
CPoint UTM_sd (const DPoint2 &utm)
 
double s_UTMdx (double sx)
 
double s_UTMdy (double sy)
 
CRect screen (const DRECT &r)
 
void ChangeScale (double fFactor)
 
void MopRemove (const DPoint2 &start, const DPoint2 &end)
 
void MopRemoveRoadNodes (const DPoint2 &start, const DPoint2 &end)
 
void DrawRect (CDC *pDC, CPoint one, CPoint two)
 
void ZoomToBuilding ()
 
void UpdateRanges ()
 
void ClipOffset ()
 
void UpdateScrollPos ()
 
void OnLButtonDownEditShape (UINT nFlags, CPoint point)
 
void OnLButtonDownEditRoad (UINT nFlags, CPoint point)
 
void OnLButtonUpAddRemove (CPoint point)
 
void OnLButtonUpFootprint (CPoint point)
 
void OnLButtonUpRectangle (CPoint point)
 
void OnLButtonUpCircle (CPoint point)
 
void OnLButtonUpEditRoadNodes (CPoint point)
 
CDC * GetInvertDC ()
 
void DoPan (CPoint point)
 
void DrawPoly (CDC *pDC)
 
void UpdateRectangle (CPoint point)
 
void DrawRectangle (CDC *pDC)
 
void InvalidatePolyExtent ()
 
void UpdateCircle (CPoint point)
 
void DrawCircle (CDC *pDC)
 
void DrawCircle (CDC *pDC, CPoint &center, int iRadius)
 
void UpdateMove ()
 
void UpdateResizeScale ()
 
void UpdateRotate ()
 
void DrawCurrentBuilding (CDC *pDC)
 
void ContrainLocationForPoly ()
 
void SetMode (LBMode mode)
 
void CancelFootprint ()
 
void CancelShape ()
 
afx_msg void OnColorChange ()
 
afx_msg void OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
 
afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
 
afx_msg void OnFunctionsConvolve ()
 
afx_msg void OnAddRemove ()
 
afx_msg void OnUpdateAddRemove (CCmdUI *pCmdUI)
 
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnFullres ()
 
afx_msg void OnHand ()
 
afx_msg void OnUpdateHand (CCmdUI *pCmdUI)
 
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
 
afx_msg void OnZoomIn ()
 
afx_msg void OnZoomOut ()
 
afx_msg void OnMButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnMButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
 
afx_msg void OnClearscreenofBuildings ()
 
afx_msg void OnUndo ()
 
afx_msg void OnViewViewfullcolorimage ()
 
afx_msg void OnUpdateViewViewfullcolorimage (CCmdUI *pCmdUI)
 
afx_msg void OnModesFootprintMode ()
 
afx_msg void OnUpdateModesFootprintmode (CCmdUI *pCmdUI)
 
afx_msg void OnModesRectangle ()
 
afx_msg void OnUpdateModesRectangle (CCmdUI *pCmdUI)
 
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnModesCircle ()
 
afx_msg void OnUpdateModesCircle (CCmdUI *pCmdUI)
 
afx_msg void OnUpdateUndo (CCmdUI *pCmdUI)
 
afx_msg void OnUpdateFunctionsConvolve (CCmdUI *pCmdUI)
 
afx_msg void OnUpdateFileSave (CCmdUI *pCmdUI)
 
afx_msg void OnModesMoveresize ()
 
afx_msg void OnUpdateModesMoveresize (CCmdUI *pCmdUI)
 
afx_msg void OnModesRoadnode ()
 
afx_msg void OnUpdateModesRoadnode (CCmdUI *pCmdUI)
 
afx_msg void OnChangeRoadColor ()
 
afx_msg void OnModesRoadEdit ()
 
afx_msg void OnUpdateModesRoadEdit (CCmdUI *pCmdUI)
 
afx_msg void OnConstrain ()
 
afx_msg void OnUpdateConstrain (CCmdUI *pCmdUI)
 

Protected Attributes

CPoint m_offset
 
CPoint m_offset_base
 
CPoint m_offset_size
 
double m_fScale
 
int m_scrollposH
 
int m_scrollposV
 
LBMode m_mode
 
CPoint m_old_offset
 
CPoint m_oldPoint
 
CPoint m_lastMousePoint
 
bool m_zoomed
 
CPoint m_SavedOffset
 
double m_fSavedScale
 
COLORREF m_buildingColor
 
COLORREF m_roadColor
 
TLinkm_pCurrentRoad
 
char m_directory [MAX_PATH]
 
DLine2 m_poly
 
bool m_maybeRect
 
bool m_bPanning
 
bool m_bRubber
 
float m_fPixelRadius
 
int m_iStep
 
CPoint m_p0
 
CPoint m_p1
 
CPoint m_p2
 
CPoint m_p3
 
CPoint m_downPoint
 
DPoint2 m_downLocation
 
DPoint2 m_curLocation
 
DPoint2 m_curBuildingCenter
 
vtBuildingm_pCurBuilding
 
vtBuilding m_EditBuilding
 
int m_iCurCorner
 
bool m_bDragCenter
 
bool m_bRotate
 
bool m_bControl
 
bool m_bShift
 
bool m_bConstrain
 

The documentation for this class was generated from the following files: