|
Public Types |
| enum | COLORUSE {
COLORUSE_Background,
COLORUSE_HighlightElem,
COLORUSE_ActiveElem,
COLORUSE_DataTipElem,
COLORUSE_COUNT
} |
| enum | COORDSOURCE {
COORDSOURCE_None,
COORDSOURCE_Mouse,
COORDSOURCE_ViewCenter,
COORDSOURCE_Entered,
COORDSOURCE_GPS,
COORDSOURCE_COUNT
} |
| enum | CREATEFLAGS {
CREATEFLAG_None = 0x00000000,
CREATEFLAG_NoRenderSeparate = 0x00000001,
CREATEFLAG_NoCallCreateCB = 0x00000004,
CREATEFLAG_Temporary = 0x00000008,
CREATEFLAG_NoCloseOption = 0x00000100,
CREATEFLAG_DestroyOnClose = 0x00000200,
CREATEFLAG_NoSelectTool = 0x00000400,
CREATEFLAG_NoLegendView = 0x00000800,
CREATEFLAG_NoStdTools = 0x00001000,
CREATEFLAG_NoDftAddIcons = 0x00002000,
CREATEFLAG_NoCancelButton = 0x00004000,
CREATEFLAG_NoSkipButton = 0x00008000,
CREATEFLAG_NoRedrawButton = 0x00010000,
CREATEFLAG_NoToolBoxTool = 0x00020000,
CREATEFLAG_NoStatusLine = 0x00040000,
CREATEFLAG_NoIconBar = 0x00080000,
CREATEFLAG_NoDftDrawIcons = 0x00100000,
CREATEFLAG_NoDftViewIcons = 0x00200000,
CREATEFLAG_NoScalePosLine = 0x00400000,
CREATEFLAG_NoScrollbars = 0x00800000,
CREATEFLAG_Locator = 0x01000000,
CREATEFLAG_3D = 0x02000000,
CREATEFLAG_Hardcopy = 0x04000000,
CREATEFLAG_StereoLeft = 0x08000000,
CREATEFLAG_StereoRight = 0x10000000,
CREATEFLAG_DialogModal = 0x20000000,
CREATEFLAG_AllowGeoLock = 0x40000000
} |
| enum | DATATIPSELECTION {
DATATIPSELECTION_FromView = 0,
DATATIPSELECTION_None = 1,
DATATIPSELECTION_ActiveLayer = 2,
DATATIPSELECTION_AllLayers = 3,
DATATIPSELECTION_AllVisible = 4,
DATATIPSELECTION_AutoScale = 5
} |
Public Member Functions |
| void | AddDftViewIcons (UINT32 flags=0) |
| void | AddDrawIcons () |
| 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 | AttachGroupView (GRE::GROUPVIEW *groupview) |
| 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, CREATEFLAGS createflags=CREATEFLAG_None) |
| Widget | CreateMenuBar (Widget form) |
| Widget | CreateMenuBar (Widget form, MENUBARITEM *menubar) |
| ERRVALUE | CreateX (GRE_VIEWABLE *viewable, Widget pwidget, Arg *arglist, int argcount, int iwidth, int iheight, const char *sizefield=0, CREATEFLAGS createflags=CREATEFLAG_None, 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 | DataTipSetDelay (INT32 delay) |
| void | DataTipSetPixelDelta (int PixelDelta) |
| void | DataTipSetSelection (DATATIPSELECTION selection) |
| void | DestroyGroupView (GRE_GROUP *group) |
| void | DestroyLayerView (GRE_LAYER *layer) |
| void | Detach () |
| void | DetachGroupView (GRE::GROUPVIEW *groupview) |
| void | DetachLayerView (GRE::LAYERVIEW *layerview) |
| void | DisableHotKeys () |
| void | DisableRedraw () |
| ERRVALUE | Draw () |
| ERRVALUE | DrawDirect (GRE::DRAWFLAGS drawflags=GRE::DRAWFLAG_None) |
| ERRVALUE | DrawGroup (GRE_GROUP *group, GRE::DRAWFLAGS drawflags=GRE::DRAWFLAG_None) |
| ERRVALUE | DrawIfAutoUpdate () |
| int | DrawIfNeeded () |
| ERRVALUE | DrawLayer (GRE_LAYER *layer, GRE::DRAWFLAGS drawflags=GRE::DRAWFLAG_None) |
| ERRVALUE | DrawLayerElement (GRE_LAYER *layer, ELEMTYPE ElemType, INT32 ElemNum, GRE::RENDERTARGET Target, GRE::DRAWFLAGS drawflags=GRE::DRAWFLAG_None) |
| ERRVALUE | DrawLayerElements (GRE_LAYER *layer, ELEMTYPE ElemType, const UINT8 *ElemSet, GRE::RENDERTARGET Target, GRE::DRAWFLAGS drawflags=GRE::DRAWFLAG_None) |
| ERRVALUE | DrawLayerHighlighted (GRE_LAYER *layer, GRE::DRAWFLAGS drawflags=GRE::DRAWFLAG_None) |
| void | DrawMargins (MGD::CONTEXT *gc) |
| 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 |
| DEPRECATED const COLOR & | GetActiveColor () const |
| GRE_TOOL * | GetActiveTool () const |
| bool | GetAutoRedrawSolid () const |
| DEPRECATED const COLOR & | GetBackgroundColor () const |
| const char * | GetBackgroundColorIniName () const |
| void | GetCanvasExtentsUsed (LRECT2D &extents, bool UseNext=false) const |
| bool | GetClipRegion (GRE_GROUP *group, REGION2D &ClipRegion) |
| const COLOR & | GetColor (COLORUSE coloruse) const |
| MDLGPARENT | GetDlgParent () const |
| Widget | GetDrawingArea () const |
| Widget | GetDrawingAreaForm () const |
| UINT32 | GetDrawingAreaHeight () const |
| UINT32 | GetDrawingAreaWidth () const |
| DEPRECATED MGD::CONTEXT * | GetDrawingContextScreen () const |
| MGD::DEVICE * | GetDrawingDevice () const |
| MGD::DEVICE * | GetDrawingDeviceMemory () const |
| MGD::DEVICE_X * | GetDrawingDeviceScreen () const |
| MGD::DEVICE_X32 * | GetDrawingDeviceViewInView () const |
| Pixmap | GetDrawingPixmap () const |
| bool | GetDrawWireframe3D () const |
| Widget | GetForm () const |
| const DRECT2D & | GetFullExtents () const |
| const GRE_GEOLOCKSETTINGS & | GetGeoLock () const |
| GRE::GROUPVIEW * | GetGroupView (const GRE_GROUP *group) const |
| DEPRECATED 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 (const GRE_LAYER *layer) const |
| 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 |
| 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 |
| INT16 | GetPadPixels () const |
| void | GetPixelSizeMM (DPOINT2D &pixelsize) const |
| double | GetPixelSizeMM () 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, GRE::HIGHLIGHTMODE HighlightMode=GRE::HIGHLIGHTMODE_NotSet) |
| 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 |
| bool | IsRedrawDisabled () const |
| void | LegendEnableRedraw (bool enable) |
| UINT8 | LegendGetShowMode () const |
| void | LegendHideAllLegends () |
| void | LegendRedraw (bool updatesizes=false) |
| void | LegendSetShowLayerTypeIcon (bool ShowLayerType) |
| void | LegendSetShowMode (UINT8 ShowMode) |
| void | LegendSetVisiblityIndicator (UINT8 VisInd) |
| void | LegendShowAllLegends () |
| void | NotifyDrawElementBegin (GRE_LAYER *layer, const RVC::ELEMENT &element) |
| void | NotifyDrawElementEnd (GRE_LAYER *layer, const RVC::ELEMENT &element) |
| void | NotifyExposure (const LRECT2D &rect) |
| RENDERBUFFER * | OverlayCreate (bool AddToFront=false) |
| void | OverlayDestroy (RENDERBUFFER *&pRenderBuffer) |
| ERRVALUE | PanToLayerElement (GRE_LAYER *layer, ELEMTYPE ElemType, INT32 ElemNum, GRE::DRAWFLAGS drawflags=GRE::DRAWFLAG_None) |
| void | ResetCancel () |
| ERRVALUE | Restore (const LRECT2D *rect=0, bool CopyMemory=true) |
| void | RestoreFromBuffers () |
| ERRVALUE | RestoreFromMemory (bool CopyMemory=false) |
| 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) |
| DEPRECATED void | SetActiveColor (const COLOR &color) |
| void | SetAutoRedrawSolid (bool AutoRedrawSolid) |
| DEPRECATED 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 | SetClipNone () |
| void | SetClipRect (const LRECT2D &cliprect) |
| void | SetColor (COLORUSE coloruse, const COLOR &color) |
| void | SetDrawingArea (Widget da) |
| void | SetDrawingAreaSize (INT32 width, INT32 height) |
| void | SetDrawingDevice (MGD::DEVICE *gdisp) |
| void | SetDrawWireframe3D (bool DrawWireframe) |
| void | SetEditCustomFunc (void(*EditCustomFunc)(GRE_VIEW *)) |
| void | SetGeoLock (const GRE_GEOLOCKSETTINGS &GeoLockSettings) |
| void | SetGeoLocked (bool GeoLocked=true, bool AutoScale=true) |
| DEPRECATED void | SetHighlightColor (const COLOR &color) |
| void | SetInputFocusTo () |
| 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 | 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) |
| 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) |
| ERRVALUE | TransLayerToView (GRE_LAYER *layer, const DPOINT2D *ipoints, DPOINT2D *opoints, int numpoints) |
| 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) |
| ERRVALUE | UpdateExtents () |
| void | UpdateLastPosn () |
| void | UpdateMessage (const MISTRING &string) const |
| int | UpdatePosition () |
| void | UpdateScriptUI () |
| void | UpdateSize () |
| void | UpdateTypeName () |
| bool | UseSeparateRenderDevices () const |
| int | ZoomToGroup (GRE_GROUP *group, bool redraw=true) |
| int | ZoomToGroupRect (GRE_GROUP *group, const DRECT2D &rect, bool redraw=true) |
| int | ZoomToLayer (GRE_LAYER *layer, bool redraw=true) |
| int | ZoomToLayerRect (GRE_LAYER *layer, const DRECT2D &rect, bool redraw=true) |
| ERRVALUE | ZoomToViewableRect (const DRECT2D &rect, bool redraw=true) |
| virtual | ~GRE_VIEW () |
Static Public Member Functions |
| bool | EditGlobalSettings (MDLGPARENT dlgparent) |
| GRE_VIEW * | FindNextOfGroup (const GRE_GROUP *group, GRE_VIEW *view=0) |
| GRE_VIEW * | FindNextOfLayer (const GRE_LAYER *layer, GRE_VIEW *view=0) |
| bool | GetDrawLayerOnUnhide () |
| int | GetGlobalAutoRedrawDelay () |
| const GLOBALOPTIONS & | GetGlobalOptions () |
| bool | GetRedrawOnAnyChange () |
| UINT8 | GetStereoMode () |
| double | GetStereoMonitorSeparation () |
| double | GetStereoOpticalSeparation () |
| const STEREOPARM & | GetStereoParm () |
| 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) |
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 () |