|
Public Types |
| enum | COORDSOURCE {
COORDSOURCE_None,
COORDSOURCE_Mouse,
COORDSOURCE_ViewCenter,
COORDSOURCE_Entered,
COORDSOURCE_GPS,
COORDSOURCE_COUNT
} |
| enum | DATATIPSELECTION {
DATATIPSELECTION_FromView = 0,
DATATIPSELECTION_None = 1,
DATATIPSELECTION_ActiveLayer = 2,
DATATIPSELECTION_AllLayers = 3,
DATATIPSELECTION_AllVisible = 4
} |
Public Member Functions |
| void | AddDftViewIcons (UINT32 flags=0) |
| void | AddDrawIcons (UINT32 flags=0) |
| Widget | AddIconRowItems (const BUTTONITEM *items, const char *icongroup=0, void *cbdata=0, void *userdata=0) |
| void | AddMacroScriptIcons () |
| void | AddMacroScriptMenuItems () |
| ERRVALUE | AddMenuItemsOptions (const MENUITEM *newitems) |
| void | AddToolIcons (bool addscripts=true) |
| void | AttachLayerView (GRE::LAYERVIEW *layerview) |
| void | CancelDrawing (int err=EUserCancel) |
| void | ClearMessage () const |
| void | ClearPreviousViewList () |
| bool | ContainsLayer (const GRE_LAYER *layer) const |
| double | ConvertScreenUnits (GRE_LAYER *layer, double value, int iunits, int ounits) |
| ERRVALUE | Create (GRE_VIEWABLE *viewable, int iwidth, int iheight, UINT32 flags) |
| Widget | CreateMenuBar (Widget form, UINT32 flags=0) |
| Widget | CreateMenuBar (Widget form, MENUBARITEM *menubar, UINT32 flags=0) |
| ERRVALUE | CreateX (GRE_VIEWABLE *viewable, Widget pwidget, Arg *arglist, int argcount, int iwidth, int iheight, const char *sizefield, UINT32 flags, const SAVESETTINGS *pSettings=0) |
| DATATIPSELECTION | DataTipGetSelection () const |
| ERRVALUE | DataTipGetString (const DPOINT2D &point, MISTRING &string, GRE_FIND_FLAGS findflags, int maxlines=0, DATATIPSELECTION selection=DATATIPSELECTION_FromView) |
| void | DataTipSetSelection (DATATIPSELECTION selection) |
| void | DestroyLayerView (GRE_LAYER *layer) |
| void | Detach () |
| void | DetachLayerView (GRE::LAYERVIEW *layerview) |
| void | DisableHotKeys () |
| void | DisableRedraw () |
| ERRVALUE | Draw () |
| int | DrawDirect (UINT32 drawflags=0) |
| ERRVALUE | DrawGroup (GRE_GROUP *group, UINT32 drawflags) |
| ERRVALUE | DrawIfAutoUpdate () |
| int | DrawIfNeeded () |
| ERRVALUE | DrawLayer (GRE_LAYER *layer, UINT32 drawflags=0) |
| ERRVALUE | DrawLayerElement (GRE_LAYER *layer, ELEMTYPE ElemType, INT32 ElemNum, UINT32 drawflags) |
| ERRVALUE | DrawLayerElements (GRE_LAYER *layer, ELEMTYPE ElemType, const UINT8 *ElemSet, UINT32 drawflags) |
| void | DrawMargins (MGD::CONTEXT *gc=0) |
| void | DrawPage (MGD::CONTEXT *gc=0) |
| int | EditColors () |
| void | EditCustomization () |
| void | EnableHotKeys () |
| void | EnableRedraw () |
| INT32 | FindClosestLayerElement (GRE_LAYER *layer, int component, const DPOINT2D &point, double *distret, GRE_FIND_FLAGS findflags) |
| GRE_GROUP * | FindPointGroup (const DPOINT2D &point, GRE_FIND_FLAGS findflags, const SPATREF::COORDREFSYS *pPointCRS=NULL) const |
| const COLOR & | GetActiveColor () const |
| GRE_TOOL * | GetActiveTool () const |
| bool | GetAutoRedrawSolid () const |
| const COLOR & | GetBackgroundColor () const |
| const char * | GetBackgroundColorIniName () const |
| COLOR32 | GetBackgroundColorRef () const |
| void | GetCanvasExtentsUsed (LRECT2D &extents, bool UseNext=false) const |
| bool | GetClipRegion (GRE_GROUP *group, MGD::CONTEXT *ggc, REGION2D &ClipRegion) |
| Widget | GetDrawingArea () const |
| Widget | GetDrawingAreaForm () const |
| UINT32 | GetDrawingAreaHeight () const |
| UINT32 | GetDrawingAreaWidth () const |
| MGD::CONTEXT * | GetDrawingContextMemory () const |
| MGD::CONTEXT * | GetDrawingContextPixmap () const |
| MGD::CONTEXT * | GetDrawingContextScreen () const |
| MGD::DEVICE_MEM24 * | GetDrawingDeviceMemory () const |
| MGD::DEVICE_X * | GetDrawingDevicePixmap () const |
| MGD::DEVICE_X * | GetDrawingDeviceScreen () const |
| Pixmap | GetDrawingPixmap () const |
| bool | GetDrawWireframe3D () const |
| Widget | GetForm () const |
| const DRECT2D & | GetFullExtents () const |
| const GRE_GEOLOCKSETTINGS & | GetGeoLock () const |
| const COLOR & | GetHighlightColor () const |
| const BUTTONITEM * | GetIconItemAdd (SIMPLE_ARRAY< BUTTONITEM > &items) const |
| const BUTTONITEM * | GetIconItemDraw (SIMPLE_ARRAY< BUTTONITEM > &items, UINT32 flags=0) const |
| const BUTTONITEM * | GetIconItemTool (SIMPLE_ARRAY< BUTTONITEM > &items) const |
| const BUTTONITEM * | GetIconItemView (SIMPLE_ARRAY< BUTTONITEM > &items, UINT32 flags=MDISPICONVIEW_ViewDefault) const |
| Widget | GetIconView (UINT32 flag) const |
| const VIEWPOSN & | GetLastPosn () const |
| GRE::LAYERVIEW * | GetLayerView (GRE_LAYER *layer) |
| double | GetMargin () const |
| const MENUITEM * | GetMenuItemGPS () |
| const MENUITEM * | GetMenuItemHotKeys () |
| const MENUITEM * | GetMenuItemLegendView () |
| const MENUITEM * | GetMenuItemOptions (SIMPLE_ARRAY< MENUITEM > &items) |
| const MENUITEM * | GetMenuItemTool (SIMPLE_ARRAY< MENUITEM > &items) const |
| const MENUITEM * | GetMenuItemView (SIMPLE_ARRAY< MENUITEM > &items) |
| Widget | GetMenuWidget (const char *menupath) const |
| DEPRECATED UNICODE * | GetName () const |
| void | GetName (MISTRING &name) const |
| bool | GetNeedsRedraw () const |
| GRE_VIEW * | GetNext () const |
| GRE_VIEW * | GetNextOfAll () const |
| const VIEWPOSN & | GetNextPosn () const |
| GRE_VIEWABLE * | GetObject () const |
| GRE_OBJTYPE | GetObjectType () const |
| MGD::CONTEXT * | GetOverlayGC () const |
| Pixmap | GetOverlayPixmap () const |
| INT16 | GetPadPixels () const |
| GRE_PROJACCUR | GetProjAccur () const |
| double | GetScale () |
| ERRVALUE | GetScale (double *xscale, double *yscale) |
| ERRVALUE | GetSizeMeters (DPOINT2D &size) const |
| MSTATUSCONTEXT | GetStatusContext () const |
| MSTATUSHANDLE | GetStatusHandle () const |
| bool | GetThinLineWidthHinting () const |
| Widget | GetToolBar () const |
| void | GetTransDispToGroup (const GRE_GROUP *group, TRANS2D_AFFINE &DispToGroup) const |
| int | GetTransLayerDisp (const GRE_LAYER *layer, TRANS2D_MAPGEN &trans) const |
| ERRVALUE | GetTransLayerView (const GRE_LAYER *layer, TRANS2D_MAPGEN &trans) const |
| TRANS2D_AFFINE | GetTransToDisp () const |
| void | GetTransToDisp (MAT3X3 ViewToDisp, MAT3X3 DispToView) const |
| ERRVALUE | GetTransToMap (TRANS2D_MAPGEN &trans, bool dooutput, const GRE_GROUP *group=0) const |
| bool | GetUseAntialiasing () const |
| VIEWFLAGS | GetViewFlags () const |
| int | GetViewNum () const |
| GRE_VIEWPOINT3D * | GetViewPoint3D () const |
| void | GetVisibleExtents (DRECT2D &extents, bool UseNext=false) const |
| bool | GetWireframeMode () const |
| const double & | GetZoom () const |
| const double & | GetZoomUsed () const |
| | GRE_VIEW () |
| bool | Has3D () const |
| bool | HasObjects () const |
| bool | HighlightElementsByPoint (const DPOINT2D &pt, bool PointInDisplayCoords, int mode=0) |
| bool | Is3D () const |
| bool | IsAllowedDiffZoom () const |
| bool | IsBeingDrawn () const |
| bool | IsBeingRestored () const |
| bool | IsGeoLocked () const |
| bool | IsGroupVisible (const GRE_GROUP *group) const |
| bool | IsLayerVisible (const GRE_LAYER *layer) const |
| bool | IsLocator () const |
| void | NotifyDrawElementBegin (GRE_LAYER *layer, const RVC::ELEMENT &element) |
| void | NotifyDrawElementEnd (GRE_LAYER *layer, const RVC::ELEMENT &element) |
| void | NotifyExposure (const LRECT2D &rect) |
| ERRVALUE | PanToLayerElement (GRE_LAYER *layer, ELEMTYPE ElemType, INT32 ElemNum, UINT32 drawflags) |
| void | ResetCancel () |
| ERRVALUE | Restore (const LRECT2D *rect=0, bool CopyMem24=true) |
| ERRVALUE | RestoreFromMemory (bool CopyMem24=false, bool UpdateOverlay=true) |
| ERRVALUE | SaveSnapshotToRaster () const |
| void | ScalePosClearCoord (COORDSOURCE CoordSource=COORDSOURCE_None) |
| void | ScalePosDisplayCoord (COORDSOURCE CoordSource, const DPOINT2D &point, const SPATREF::COORDREFSYS &PointCRS) |
| const SPATREF::COORDREFSYS & | ScalePosGetCoordRefSys (int idx) const |
| void | ScalePosGetCoordString (int idx, const DPOINT2D &point, MISTRING &string) const |
| DEGTOSTRFLAGS | ScalePosGetLatLonFormat (int idx) const |
| bool | ScalePosIsPosVisible (int idx) const |
| void | ScalePosSetCoordRefSys (int idx, const SPATREF::COORDREFSYS &CoordRefSys) |
| void | ScalePosSetCoordSource (COORDSOURCE CoordSource) |
| void | ScalePosSetLatLonFormat (int idx, DEGTOSTRFLAGS LatLonFormat) |
| void | ScalePosSetPosVisible (int idx, bool visible) |
| void | ScalePosSetVisible (bool visible) |
| void | SetActiveColor (const COLOR &color) |
| void | SetAutoRedrawSolid (bool AutoRedrawSolid) |
| void | SetBackgroundColor (COLOR32 color) |
| void | SetBackgroundColor (const COLOR &color) |
| void | SetBeingRestored (bool BeingRestored) |
| int | SetCenter (const DPOINT2D &pt, bool redraw=true) |
| void | SetCenterByLayer (GRE_LAYER *layer, const DPOINT2D &pt, bool redraw=true) |
| void | SetClipRect (const LRECT2D &cliprect) |
| void | SetClipRectUsed (bool ClipRectUsed) |
| void | SetDrawingArea (Widget da) |
| void | SetDrawingAreaSize (INT32 width, INT32 height) |
| void | SetDrawWireframe3D (bool DrawWireframe) |
| void | SetEditCustomFunc (void(*EditCustomFunc)(GRE_VIEW *)) |
| void | SetGeoLock (const GRE_GEOLOCKSETTINGS &GeoLockSettings) |
| void | SetGeoLocked (bool GeoLocked=true, bool AutoScale=true) |
| void | SetHighlightColor (const COLOR &color) |
| void | SetMargin (double MarginMeters) |
| void | SetMessageVisible (bool visible) |
| void | SetNeedsRedraw () |
| void | SetNextPosn (const VIEWPOSN &NextPosn, bool redraw=true) |
| void | SetOutputCellSize (double xs, double ys) |
| void | SetOutputCellSize (double s) |
| void | SetOverlayEnabled () |
| void | SetPadPixels (int pp) |
| void | SetPreviousView () |
| void | SetPreviousZoom () |
| void | SetProjAccur (GRE_PROJACCUR ProjAccur) |
| int | SetScale (double NewMapScale, bool redraw=true) |
| int | SetScaleOneToOne (GRE_LAYER *ScaleRefLayer, bool redraw=true) |
| int | SetScaleOneToOne (bool redraw=true, bool OneToOne=true) |
| void | SetStatusBar (GRE_MFC_STATUSBAR &StatusBar) |
| void | SetStatusHandle (MSTATUSHANDLE StatusHandle) |
| void | SetStopDrawOnError (bool StopDrawOnError=true) |
| void | SetThinLineWidthHinting (bool Hint) |
| void | SetUseAntialiasing (bool Antialias) |
| void | SetViewFlags (VIEWFLAGS viewflags, bool redraw=false) |
| bool | SetViewFromGeoLock (const GRE_VIEW *refview=0) |
| void | SetViewNum (int ViewNum) |
| void | SetWireframeMode (bool mode, bool redraw=true) |
| int | SetZoom (const DPOINT2D &zoom, bool redraw=true) |
| int | SetZoom (double zoom, bool redraw=true) |
| int | SetZoomFull (bool redraw=true) |
| int | TestCancel () |
| void | ToolAttach (GRE_TOOL *tool) |
| GRE_TOOL * | ToolFindByName (const char *toolname) const |
| GRE_TOOL * | ToolGetActive () const |
| bool | ToolIsActive (const char *toolname) const |
| bool | ToolIsActive (GRE_TOOL *tool) const |
| void | ToolResume () |
| int | ToolSet (const char *toolname) |
| void | ToolSet (GRE_TOOL *tool) |
| void | ToolSetDefault () |
| int | ToolSuspend () |
| ERRVALUE | TransDispToGroup (GRE_GROUP *group, const DPOINT2D *ipoints, DPOINT2D *opoints, int numpoints) const |
| ERRVALUE | TransDispToLayer (GRE_LAYER *layer, const DPOINT2D *ipoints, DPOINT2D *opoints, int numpoints) const |
| void | TransDispToView (const DPOINT2D *ipoints, DPOINT2D *opoints, int numpoints) const |
| ERRVALUE | TransGroupToDisp (GRE_GROUP *group, const DPOINT2D *ipoints, DPOINT2D *opoints, int numpoints) const |
| ERRVALUE | TransGroupToView (GRE_GROUP *group, const DPOINT2D *ipoints, DPOINT2D *opoints, int numpoints) const |
| ERRVALUE | TransLayerToDisp (GRE_LAYER *layer, const DPOINT2D *ipoints, DPOINT2D *opoints, int numpoints) const |
| ERRVALUE | TransLayerToView (GRE_LAYER *layer, const DPOINT2D *ipoints, DPOINT2D *opoints, int numpoints) const |
| void | TransViewToDisp (const DPOINT2D *ipoints, DPOINT2D *opoints, int numpoints) const |
| ERRVALUE | TransViewToGroup (GRE_GROUP *group, const DPOINT2D *ipoints, DPOINT2D *opoints, int numpoints) const |
| ERRVALUE | TransViewToLayer (GRE_LAYER *layer, const DPOINT2D *ipoints, DPOINT2D *opoints, int numpoints) const |
| ERRVALUE | UpdateExtents () |
| void | UpdateLastPosn () |
| void | UpdateMessage (const MISTRING &string) const |
| void | UpdateMessage (const char *group, const char *key) const |
| int | UpdatePosition () |
| void | UpdateScriptUI () |
| void | UpdateSize () |
| void | UpdateTypeName () |
| int | ZoomToGroup (GRE_GROUP *group, bool redraw=true) |
| int | ZoomToLayer (GRE_LAYER *layer, bool redraw=true) |
| int | ZoomToLayerRect (GRE_LAYER *layer, const DRECT2D &rect, bool redraw=true) |
| virtual | ~GRE_VIEW () |
Static Public Member Functions |
| bool | EditGlobalSettings (MDLGPARENT dlgparent) |
| bool | GetDrawLayerOnUnhide () |
| GRE_VIEW * | GetFirst () |
| int | GetGlobalAutoRedrawDelay () |
| const GLOBALOPTIONS & | GetGlobalOptions () |
| bool | GetRedrawOnAnyChange () |
| UINT8 | GetStereoMode () |
| double | GetStereoMonitorSeparation () |
| double | GetStereoOpticalSeparation () |
| bool | GetUpdateAfterDrawLayer () |
| bool | GetZoomPanWaitForRMB () |
| void | SetEnableTransparency (bool EnableTransparency) |
| void | SetGlobalAutoRedrawDelay (int AutoRedrawDelay) |
| void | SetGlobalOptions (const GLOBALOPTIONS &options) |
| void | SetGlobalZoomPanWaitForRMB (bool ZoomPanWaitForRMB) |
| void | SetRedrawOnAnyChange (bool RedrawOnAnyChange) |
| void | SetTrackCursor (bool TrackCursor) |
| void | SetUpdateAfterDrawLayer (bool UpdateAfterDrawLayer) |
| void | SMLClassInstall (SMLCONTEXT *context) |
Public Attributes |
| MGD::DEVICE * | gdisp |
| MGD::CONTEXT * | ggc |
Private Member Functions |
| virtual void | v_OnDrawElementBegin (GRE_LAYER *layer, const RVC::ELEMENT &element) |
| virtual void | v_OnDrawElementEnd (GRE_LAYER *layer, const RVC::ELEMENT &element) |
| virtual void | v_OnDrawGroupBegin (GRE_GROUP *group) |
| virtual void | v_OnDrawGroupEnd (GRE_GROUP *group) |
| virtual void | v_OnDrawLayerBegin (GRE_LAYER *layer) |
| virtual void | v_OnDrawLayerEnd (GRE_LAYER *layer) |
| virtual void | v_OnDrawViewableBegin () |
| virtual void | v_OnDrawViewableEnd () |