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

Public Member Functions

 BuilderView (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, const wxString &name=_T(""))
 
virtual void OnDraw (wxDC &dc)
 
void SetCorrectCursor ()
 
void SetMode (LBMode m)
 
LBMode GetMode ()
 
void GetMouseLocation (DPoint2 &p)
 
void DrawUTMBounds (wxDC *pDC)
 
void DrawDymaxionOutline (wxDC *pDC)
 
void SetWMProj (const vtProjection &p)
 
void OnChar (wxKeyEvent &event)
 
void OnKeyDown (wxKeyEvent &event)
 
void OnMouseWheel (wxMouseEvent &event)
 
void DeselectAll ()
 
void DeleteSelected (vtRoadLayer *pRL)
 
void SetActiveLayer (vtLayer *lp)
 
void MatchZoomToElev (vtElevLayer *pEL)
 
void MatchZoomToImage (vtImageLayer *pEL)
 
void SetShowMap (bool bShow)
 
bool GetShowMap ()
 
void SetShowScaleBar (bool bShow)
 
bool GetShowScaleBar ()
 
void InvertAreaTool (const DRECT &rect)
 
void ShowGridMarks (const DRECT &area, int cols, int rows, int active_col, int active_row)
 
void HideGridMarks ()
 
void SetDistanceToolMode (bool bPath)
 
bool GetDistanceToolMode ()
 
void SetDistancePoints (const DPoint2 &p1, const DPoint2 &p2)
 
void SetDistancePath (const DLine2 &path)
 
void ClearDistanceTool ()
 
void UpdateDistance ()
 
void DrawInvertedLine (const DPoint2 &ep1, const DPoint2 &ep2)
 
void RunTest ()
 
- Public Member Functions inherited from vtScaledView
 vtScaledView (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxHSCROLL|wxVSCROLL, const wxString &name=_T(""))
 
void SetScale (double scale)
 
double GetScale ()
 
void ZoomToPoint (const DPoint2 &p)
 
void ZoomToRect (const DRECT &geo_rect, float margin)
 
void ZoomOutToRect (const DRECT &geo_rect)
 
wxRect WorldToCanvas (const DRECT &r)
 
wxRect WorldToWindow (const DRECT &r)
 
DRECT CanvasToWorld (const wxRect &r)
 
void GetCanvasPosition (const wxMouseEvent &event, wxPoint &pos)
 
DRECT GetWorldRect ()
 
wxRect PointsToRect (const wxPoint &p1, const wxPoint &p2)
 
int sx (double x)
 
int sy (double y)
 
void screen (const DPoint2 &p, wxPoint &sp) const
 
void screen (const OGRPoint *p, wxPoint &sp) const
 
int sdx (double x)
 
int sdy (double y)
 
wxPoint screen_delta (const DPoint2 &p) const
 
double ox (int x)
 
double oy (int y)
 
void object (const wxPoint &sp, DPoint2 &p) const
 
double odx (int x)
 
double ody (int y)
 
void DrawLine (wxDC *pDC, const DPoint2 &p0, const DPoint2 &p1)
 
void DrawPolyLine (wxDC *pDC, const DLine2 &line, bool bClose)
 
void DrawDoubleLine (wxDC *pDC, const DLine2 &line, const DLine2 &width)
 
void DrawPolygon (wxDC *pDC, const DPolygon2 &poly, bool bFill)
 
void DrawOGRLinearRing (wxDC *pDC, const OGRLinearRing *line, bool bCircles)
 
void DrawOGRPolygon (wxDC *pDC, const OGRPolygon &poly, bool bFill, bool bCircles)
 
void DrawDPolygon2 (wxDC *pDC, const DPolygon2 &poly, bool bFill, bool bCircles)
 

Public Attributes

bool m_bCrossSelect
 
bool m_bShowUTMBounds
 
bool m_bConstrain
 

Protected Member Functions

void UpdateResizeScale ()
 
void UpdateRotate ()
 
void OnDragDistance ()
 
void CheckForTerrainSelect (const DPoint2 &loc)
 
void HighlightArea (wxDC *pDC, const DRECT &rect)
 
void BeginPan ()
 
void EndPan ()
 
void DoPan (wxPoint point)
 
void BeginBox ()
 
void EndBox (const wxMouseEvent &event)
 
void EndBoxFeatureSelect (const wxMouseEvent &event)
 
void DoBox (wxPoint point)
 
void BeginArea ()
 
void DoArea (wxPoint delta)
 
void OnLeftDown (wxMouseEvent &event)
 
void OnLeftUp (wxMouseEvent &event)
 
void OnLeftDoubleClick (wxMouseEvent &event)
 
void OnMiddleDown (wxMouseEvent &event)
 
void OnMiddleUp (wxMouseEvent &event)
 
void OnRightDown (wxMouseEvent &event)
 
void OnRightUp (wxMouseEvent &event)
 
void OnLButtonClick (wxMouseEvent &event)
 
void OnLButtonDragRelease (wxMouseEvent &event)
 
void OnLButtonClickElement (vtRoadLayer *pRL)
 
void OnLButtonClickLinkEdit (vtRoadLayer *pRL)
 
void OnLButtonClickFeature (vtLayer *pL)
 
void OnRightUpStructure (vtStructureLayer *pSL)
 
void OnMouseMove (wxMouseEvent &event)
 
void OnMouseMoveLButton (const wxPoint &point)
 
void OnIdle (wxIdleEvent &event)
 
void OnSize (wxSizeEvent &event)
 
void OnEraseBackground (wxEraseEvent &event)
 
void InvertRect (wxDC *pDC, const wxRect &r, bool bDashed=false)
 
void InvertRect (wxDC *pDC, const wxPoint &one, const wxPoint &two, bool bDashed=false)
 
void DrawAreaTool (wxDC *pDC, const DRECT &area)
 
void DrawDistanceTool (wxDC *pDC)
 
void DrawDistanceTool ()
 
void BeginDistance ()
 
void RefreshRoad (LinkEdit *pRoad)
 
bool ImportWorldMap ()
 
void DrawWorldMap (wxDC *pDC)
 
void DrawGridMarks (wxDC &dc)
 
void DrawScaleBar (wxDC *dc)
 
void OnBeginScroll (wxScrollWinEvent &event)
 
void OnEndScroll (wxScrollWinEvent &event)
 
void OnOtherScrollEvents (wxScrollWinEvent &event)
 
- Protected Member Functions inherited from vtScaledView
void UpdateRanges ()
 

Protected Attributes

bool m_bGotFirstIdle
 
bool m_bSkipNextDraw
 
bool m_bSkipNextRefresh
 
wxSize m_previous_size
 
DRECT m_world_rect
 
DPoint2 m_distance_p1
 
DPoint2 m_distance_p2
 
DLine2 m_distance_path
 
wxPoint m_DownClient
 
bool m_bMouseMoved
 
bool m_bPanning
 
bool m_bScrolling
 
bool m_bBoxing
 
int m_iDragSide
 
wxCursor * m_pCursorPan
 
bool m_bMouseCaptured
 
bool m_bShowMap
 
bool m_bScaleBar
 
DLine2Array WMPoly
 
DLine2Array WMPolyDraw
 
std::vector< DRECTWMPolyExtents
 
uint m_iEntities
 
bool m_bAttemptedLoad
 
DymaxIcosa m_icosa
 
OCT * m_pMapToCurrent
 
OCT * m_pCurrentToMap
 
bool m_bShowGridMarks
 
DRECT m_GridArea
 
int m_iGridCols
 
int m_iGridRows
 
int m_iActiveCol
 
int m_iActiveRow
 
wxRect m_ScaleBarArea
 
UIContext m_ui
 
- Protected Attributes inherited from vtScaledView
double m_fScale
 
wxRect m_limits
 

Friends

class vtRoadLayer
 

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