Mdisp Functions

:Associate with "Mdisp Functions" More...

Functions

void GRE_ToolAddPlacement (GRE_VIEW *)
int Mdisp3dGroupViewPtOpen (Widget, GRE_GROUP *)
void MdispDrawCleanup (GRE_LAYERDC *)
Widget MdispElementDataTipFormCreate (Widget, const RVC::OBJITEM &, ELEMTYPE, DATATIPPARMS *, UINT32, Arg *, int)
Widget MdispElementDataTipFormCreate (Widget, const MIUNICODE *, INT32, ELEMTYPE, DATATIPPARMS *, UINT32, Arg *, int)
void MdispElementDataTipFormUpdate (Widget, const RVC::OBJITEM &, int, int)
void MdispElementDataTipFormUpdate (Widget, const MIUNICODE *, INT32, int, int)
int MdispElementDataTipInit (void)
void MdispElementDataTipSetFields (Widget, GRE_LAYER *)
int MdispElementDataTipSetTableField (GRE_LAYER *, int component, const MIUNICODE *, const MIUNICODE *)
int MdispElementDataTipSetVisible (GRE_LAYER *, int component, UINT8)
int MdispExamineRawRaster (GRE_LAYER *)
const MENUITEMMdispGPSGetMenuItem (GRE_VIEW *)
int MdispGPSSetSymbolVisible (MGPS::SOURCE *, GRE_VIEW *, bool visible=true)
int MdispGroupControlDialogOpen (MDLGPARENT, GRE_GROUP *, UINT32 flags=0)
int MdispLayerCoordInfoCreate (Widget, GRE_LAYER *)
double MdispLayerGetViewMapScale (void *layer)
int MdispLayerMetadataOpen (MDLGPARENT, GRE_LAYER *)
ERRVALUE MdispLayerSelect (Widget dlgparent, GRE_LAYOUT *layout, GRE_LAYER **layer, ELEMTYPE *ElemType)
ERRVALUE MdispLayerSelect (Widget dlgparent, GRE_GROUP *group, GRE_LAYER **layer, ELEMTYPE *ElemType)
void MdispLocatorCreate (GRE_VIEW *, UINT32)
void MdispLocatorRaise (GRE_VIEW *)
void MdispLocatorUpdate (GRE_VIEW *)
int MdispRastCorrOpen (Widget, GRE_LAYER *)
bool MdispRastHistHasOpenViews (void)
int MdispRastHistOpen (MDLGPARENT, GRE_LAYER *)
int MdispRastHistSetRegion (const REGION2D &region)
int MdispRegionGenerateFromLayer (Widget, GRE_VIEW *, GRE_LAYER *, UINT32, RGNELEMLIST *, INT32, UINT32)
int MdispRegionGenerateFromTool (Widget, GRE_VIEW *, UINT32, ELEMTYPE, void *, INT32, const TRANS2D_MAPGEN &, const GRE_LAYERDC &, UINT32)
int MdispRenderToRaster (Widget, GRE_VIEWABLE *)
Widget MdispSelectAddActionButtons (Widget, GRE_OBJECT *, Arg *, int)
Widget MdispSelectAddModeButtons (Widget, GRE_OBJECT *, Arg *, int)
int MdispSelectFromPoint (GRE_VIEW *, const DPOINT2D *, UINT32)
BUTTONITEMMdispSelectGetActionButtons (GRE_OBJECT *)
BUTTONITEMMdispSelectGetModeButtons (GRE_OBJECT *)
int MdispSelectSetupLayer (GRE_LAYER *, UINT32)
int MdispSelectSetupViewGroup (GRE_VIEW *, GRE_GROUP *, UINT32)
int MdispToolAdd (GRE_VIEW *view, MDISPTOOL *tool, const char *toolname, const char *iconname, const char *icongroup, const char *helpcode, int(*Init)(MDISPTOOL), int(*Stop)(MDISPTOOL), int(*Activate)(MDISPTOOL), int(*Deactivate)(MDISPTOOL), int(*Suspend)(MDISPTOOL), int(*Resume)(MDISPTOOL))
int MdispToolAdd (GRE_VIEW *view, MDISPTOOL *tool, const char *toolname, const char *iconname, const char *icongroup, const char *helpcode, ICID icidmenu, ICID icidicon, int(*Init)(MDISPTOOL), int(*Stop)(MDISPTOOL), int(*Activate)(MDISPTOOL), int(*Deactivate)(MDISPTOOL), int(*Suspend)(MDISPTOOL), int(*Resume)(MDISPTOOL))
int MdispToolAddExamRast (GRE_VIEW *, MDISPTOOL *)
int MdispToolAddHyperIndex (GRE_VIEW *, MDISPTOOL *)
int MdispToolAddHyperIndexLinker (GRE_VIEW *, MDISPTOOL *)
int MdispToolAddLocator (GRE_VIEW *, MDISPTOOL *)
int MdispToolAddPlacement (GRE_VIEW *, MDISPTOOL *)
int MdispToolAddRegionDraw (GRE_VIEW *, MDISPTOOL *)
int MdispToolAddRoute (GRE_VIEW *, MDISPTOOL *)
int MdispToolAddSelectPoint (GRE_VIEW *, MDISPTOOL *)
int MdispToolAddSlideView (GRE_VIEW *, MDISPTOOL *)
int MdispToolAddToolBox (GRE_VIEW *, MDISPTOOL *, UINT32)
int MdispToolAddTrace (GRE_VIEW *, MDISPTOOL *)
int MdispToolAddViewPos3D (GRE_VIEW *, MDISPTOOL *)
int MdispToolAddZoomBox (GRE_VIEW *, MDISPTOOL *)
int MdispToolEditGlobalOptions (Widget)
int MdispToolGenericAdd (GRE_VIEW *view, MDISPTOOL *tool, const char *toolname, const char *iconname, const char *icongroup, const char *helpcode, MXTHANDLE(CreateMxTool)(UINT32, void *), UINT32 flags)
int MdispToolGenericAdd (GRE_VIEW *view, MDISPTOOL *tool, const char *toolname, const char *iconname, const char *icongroup, const char *helpcode, ICID icidmenu, ICID icidicon, MXTHANDLE(CreateMxTool)(UINT32, void *), UINT32 flags)
MXTHANDLE MdispToolGenericGetMxtHandle (MDISPTOOL)
void MdispToolHyperIndexAddToolBarIcons (GRE_VIEW *, UINT32)
const BUTTONITEMMdispToolHyperIndexGetToolBarIconItems (GRE_VIEW *, SIMPLE_ARRAY< BUTTONITEM > &)
void MdispView3dAddIcons (GRE_VIEW *, UINT32)
void MdispView3dAddSimpleViewPointControls (GRE_VIEW *, UINT32)
void MdispView3dControlsOpen (GRE_VIEW *)
int MdispView3dGetControlsHandle (GRE_VIEW *, MXDHANDLE *)
DEPRECATED ERRVALUE MdispViewCreate (GRE_VIEWABLE *viewable, Widget pwidget, Arg *arglist, int argcount, int iwidth, int iheight, const char *sizefield, GRE_VIEW **newview, GRE_VIEW::CREATEFLAGS createflags=GRE_VIEW::CREATEFLAG_None)
int Mdispxd3dControlAddCallback (MXDHANDLE, void(*)(MxdAnyCallbackStruct *, void *), void *, UINT32)
int Mdispxd3dControlClose (MXDHANDLE)
int Mdispxd3dControlCreate (Widget, MXDHANDLE *, char *, int, GRE_VIEWPOINT3D *, UINT32)
int Mdispxd3dControlDestroy (MXDHANDLE)
int Mdispxd3dControlIsOpen (MXDHANDLE)
int Mdispxd3dControlOpen (MXDHANDLE)
int Mdispxd3dControlRemoveCallback (MXDHANDLE, void(*)(MxdAnyCallbackStruct *, void *), void *, UINT32)
int Mdispxd3dControlSetTitle (MXDHANDLE, const MIUNICODE *)
int Mdispxd3dControlUpdate (MXDHANDLE)
int MdispxdLayerManagerAddCallback (MXDHANDLE, void(*)(MxdAnyCallbackStruct *, void *), void *, UINT32)
int MdispxdLayerManagerClose (MXDHANDLE)
int MdispxdLayerManagerCreate (Widget, MXDHANDLE *, char *, int, GRE_GROUP *group, UINT32)
int MdispxdLayerManagerDestroy (MXDHANDLE)
int MdispxdLayerManagerIsOpen (MXDHANDLE)
int MdispxdLayerManagerOpen (MXDHANDLE)
int MdispxdLayerManagerRemoveCallback (MXDHANDLE, void(*)(MxdAnyCallbackStruct *, void *), void *, UINT32)
int MdispxdLayerManagerSetTitle (MXDHANDLE, const MIUNICODE *)
int MdispxdLayoutManagerClose (MXDHANDLE)
int MdispxdLayoutManagerCreate (Widget, MXDHANDLE *, GRE_LAYOUT *layout)
int MdispxdLayoutManagerDestroy (MXDHANDLE)
bool MdispxdLayoutManagerIsOpen (MXDHANDLE)
int MdispxdLayoutManagerOpen (MXDHANDLE)
void MdispxdLayoutManagerSetTitle (MXDHANDLE, const MISTRING &)

Detailed Description

:Associate with "Mdisp Functions"


Function Documentation

void GRE_ToolAddPlacement GRE_VIEW  ) 
 

int Mdisp3dGroupViewPtOpen Widget  ,
GRE_GROUP
 

C Linkage.

void MdispDrawCleanup GRE_LAYERDC  ) 
 

Widget MdispElementDataTipFormCreate Widget  ,
const RVC::OBJITEM ,
ELEMTYPE  ,
DATATIPPARMS ,
UINT32  ,
Arg *  ,
int 
 

Widget MdispElementDataTipFormCreate Widget  ,
const MIUNICODE ,
INT32  ,
ELEMTYPE  ,
DATATIPPARMS ,
UINT32  ,
Arg *  ,
int 
 

void MdispElementDataTipFormUpdate Widget  ,
const RVC::OBJITEM ,
int  ,
int 
 

void MdispElementDataTipFormUpdate Widget  ,
const MIUNICODE ,
INT32  ,
int  ,
int 
 

int MdispElementDataTipInit void   ) 
 

void MdispElementDataTipSetFields Widget  ,
GRE_LAYER
 

int MdispElementDataTipSetTableField GRE_LAYER ,
int  component,
const MIUNICODE ,
const MIUNICODE
 

int MdispElementDataTipSetVisible GRE_LAYER ,
int  component,
UINT8 
 

int MdispExamineRawRaster GRE_LAYER  ) 
 

const MENUITEM* MdispGPSGetMenuItem GRE_VIEW  ) 
 

GPS.

int MdispGPSSetSymbolVisible MGPS::SOURCE ,
GRE_VIEW ,
bool  visible = true
 

int MdispGroupControlDialogOpen MDLGPARENT  ,
GRE_GROUP ,
UINT32  flags = 0
 

int MdispLayerCoordInfoCreate Widget  ,
GRE_LAYER
 

Layer.

double MdispLayerGetViewMapScale void *  layer  ) 
 

int MdispLayerMetadataOpen MDLGPARENT  ,
GRE_LAYER
 

ERRVALUE MdispLayerSelect Widget  dlgparent,
GRE_LAYOUT layout,
GRE_LAYER **  layer,
ELEMTYPE ElemType
 

Popup a dialog to let user select a GRE_LAYER and possibly element type.

There are two versions of this function, one taking a GRE_LAYOUT to select from and one taking a GRE_GROUP to select from.

Currently this function is hard-coded to only allow the selection of layers for which there are possible legend items. If needed, the function could be expanded to take a filter function to make it more generic.

ERRVALUE MdispLayerSelect Widget  dlgparent,
GRE_GROUP group,
GRE_LAYER **  layer,
ELEMTYPE ElemType
 

Popup a dialog to let user select a GRE_LAYER and possibly element type.

There are two versions of this function, one taking a GRE_LAYOUT to select from and one taking a GRE_GROUP to select from. The full documenttation is with the other one.

void MdispLocatorCreate GRE_VIEW ,
UINT32 
 

Locator.

void MdispLocatorRaise GRE_VIEW  ) 
 

void MdispLocatorUpdate GRE_VIEW  ) 
 

int MdispRastCorrOpen Widget  ,
GRE_LAYER
 

bool MdispRastHistHasOpenViews void   ) 
 

int MdispRastHistOpen MDLGPARENT  ,
GRE_LAYER
 

int MdispRastHistSetRegion const REGION2D region  ) 
 

int MdispRegionGenerateFromLayer Widget  ,
GRE_VIEW ,
GRE_LAYER ,
UINT32  ,
RGNELEMLIST ,
INT32  ,
UINT32 
 

int MdispRegionGenerateFromTool Widget  ,
GRE_VIEW ,
UINT32  ,
ELEMTYPE  ,
void *  ,
INT32  ,
const TRANS2D_MAPGEN ,
const GRE_LAYERDC ,
UINT32 
 

int MdispRenderToRaster Widget  ,
GRE_VIEWABLE
 

Widget MdispSelectAddActionButtons Widget  ,
GRE_OBJECT ,
Arg *  ,
int 
 

Select.

Widget MdispSelectAddModeButtons Widget  ,
GRE_OBJECT ,
Arg *  ,
int 
 

int MdispSelectFromPoint GRE_VIEW ,
const DPOINT2D ,
UINT32 
 

BUTTONITEM* MdispSelectGetActionButtons GRE_OBJECT  ) 
 

BUTTONITEM* MdispSelectGetModeButtons GRE_OBJECT  ) 
 

int MdispSelectSetupLayer GRE_LAYER ,
UINT32 
 

int MdispSelectSetupViewGroup GRE_VIEW ,
GRE_GROUP ,
UINT32 
 

int MdispToolAdd GRE_VIEW view,
MDISPTOOL *  tool,
const char *  toolname,
const char *  iconname,
const char *  icongroup,
const char *  helpcode,
int(*  Init)(MDISPTOOL),
int(*  Stop)(MDISPTOOL),
int(*  Activate)(MDISPTOOL),
int(*  Deactivate)(MDISPTOOL),
int(*  Suspend)(MDISPTOOL),
int(*  Resume)(MDISPTOOL)
[inline]
 

Definition at line 1386 of file mdisp.h.

int MdispToolAdd GRE_VIEW view,
MDISPTOOL *  tool,
const char *  toolname,
const char *  iconname,
const char *  icongroup,
const char *  helpcode,
ICID  icidmenu,
ICID  icidicon,
int(*  Init)(MDISPTOOL),
int(*  Stop)(MDISPTOOL),
int(*  Activate)(MDISPTOOL),
int(*  Deactivate)(MDISPTOOL),
int(*  Suspend)(MDISPTOOL),
int(*  Resume)(MDISPTOOL)
 

int MdispToolAddExamRast GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolAddHyperIndex GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolAddHyperIndexLinker GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolAddLocator GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolAddPlacement GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolAddRegionDraw GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolAddRoute GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolAddSelectPoint GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolAddSlideView GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolAddToolBox GRE_VIEW ,
MDISPTOOL *  ,
UINT32 
 

int MdispToolAddTrace GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolAddViewPos3D GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolAddZoomBox GRE_VIEW ,
MDISPTOOL * 
 

int MdispToolEditGlobalOptions Widget   ) 
 

int MdispToolGenericAdd GRE_VIEW view,
MDISPTOOL *  tool,
const char *  toolname,
const char *  iconname,
const char *  icongroup,
const char *  helpcode,
MXTHANDLE(CreateMxTool  )(UINT32, void *),
UINT32  flags
[inline]
 

Definition at line 1391 of file mdisp.h.

int MdispToolGenericAdd GRE_VIEW view,
MDISPTOOL *  tool,
const char *  toolname,
const char *  iconname,
const char *  icongroup,
const char *  helpcode,
ICID  icidmenu,
ICID  icidicon,
MXTHANDLE(CreateMxTool  )(UINT32, void *),
UINT32  flags
 

MXTHANDLE MdispToolGenericGetMxtHandle MDISPTOOL   ) 
 

void MdispToolHyperIndexAddToolBarIcons GRE_VIEW ,
UINT32 
 

const BUTTONITEM* MdispToolHyperIndexGetToolBarIconItems GRE_VIEW ,
SIMPLE_ARRAY< BUTTONITEM > & 
 

void MdispView3dAddIcons GRE_VIEW ,
UINT32 
 

View3d.

void MdispView3dAddSimpleViewPointControls GRE_VIEW ,
UINT32 
 

void MdispView3dControlsOpen GRE_VIEW  ) 
 

int MdispView3dGetControlsHandle GRE_VIEW ,
MXDHANDLE
 

DEPRECATED ERRVALUE MdispViewCreate GRE_VIEWABLE viewable,
Widget  pwidget,
Arg *  arglist,
int  argcount,
int  iwidth,
int  iheight,
const char *  sizefield,
GRE_VIEW **  newview,
GRE_VIEW::CREATEFLAGS  createflags = GRE_VIEW::CREATEFLAG_None
[inline]
 

Deprecated:
Use new operator and GRE_VIEW::CreateX.

Definition at line 1398 of file mdisp.h.

int Mdispxd3dControlAddCallback MXDHANDLE  ,
void(*  )(MxdAnyCallbackStruct *, void *),
void *  ,
UINT32 
 

int Mdispxd3dControlClose MXDHANDLE   ) 
 

int Mdispxd3dControlCreate Widget  ,
MXDHANDLE ,
char *  ,
int  ,
GRE_VIEWPOINT3D ,
UINT32 
 

int Mdispxd3dControlDestroy MXDHANDLE   ) 
 

int Mdispxd3dControlIsOpen MXDHANDLE   ) 
 

int Mdispxd3dControlOpen MXDHANDLE   ) 
 

int Mdispxd3dControlRemoveCallback MXDHANDLE  ,
void(*  )(MxdAnyCallbackStruct *, void *),
void *  ,
UINT32 
 

int Mdispxd3dControlSetTitle MXDHANDLE  ,
const MIUNICODE
 

int Mdispxd3dControlUpdate MXDHANDLE   ) 
 

int MdispxdLayerManagerAddCallback MXDHANDLE  ,
void(*  )(MxdAnyCallbackStruct *, void *),
void *  ,
UINT32 
 

int MdispxdLayerManagerClose MXDHANDLE   )