base.h File Reference

<gre/base.h> Base GRE definitions More...

#include <mi32/stddefns.h>
#include <rvc/style.h>
#include <mi32/gremode.h>
#include <mi32/lablstyl.h>

Include dependency graph for base.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  AUTOLABELPARMS
 Automatic labeling parameters. More...
struct  D3POINTPARMS
 3D parameters for 3d points More...
struct  D3POLYPARMS
 3D parameters for 3d polygons More...
struct  DATATIPPARMS
 DataTip parameters. More...
struct  LABELPARMS
 Label/Text element parameters. More...
struct  LABELPARMS::LABELSTYLEPARMS
struct  LEGENDPARMS
 Parameters for LegendView associated with element. More...
struct  LINEPARMS
 Line element parameters. More...
struct  LINEPARMS::LINESTYLEPARMS
struct  POINTPARMS
 Point/Node element parameters. More...
struct  POINTPARMS::POINTSTYLEPARMS
struct  POLYPARMS
 Polygon/Area element parameters. More...
struct  POLYPARMS::POLYSTYLEPARMS
struct  SELECTPARMS
 Parameters needed for various element types Selection parameters for determining which elements to draw. More...
struct  STYLEPARMS
 Basic style parameters for element drawing. More...

Defines

#define GRE_GROUP_NAMELEN   64
#define GRE_MAXVIEWS   32
#define GRE_SERIAL_VERSION   3
#define LABELSELECT_AllDrawnElem   0x0001
#define LABELSELECT_IfFit   0x0002
#define LABELSELECT_None   0x0000
#define LABELTEXT_ByAttribute   0x0001
#define LABELTEXT_ByField   LABELTEXT_ByAttribute
#define LABELTEXT_ByQuery   LABELTEXT_ByScript
#define LABELTEXT_ByScript   0x0002
#define LABELTEXT_None   0x0000
#define MDISPCREATE_Group3D   0x00001000
#define MDISPCREATE_GroupNoAutoMatch   0x00002000
#define MDISPCREATE_GroupNoSetActive   0x00004000
#define MDISPCREATE_InsertAfter   MDISPLISTPOS_After
#define MDISPCREATE_InsertBefore   MDISPLISTPOS_Before
#define MDISPCREATE_InsertBeginning   MDISPLISTPOS_Beginning
#define MDISPCREATE_InsertEnd   MDISPLISTPOS_End
#define MDISPCREATE_LayerDispParmSet   0x00040000
#define MDISPCREATE_LayerEditable   0x00004000
#define MDISPCREATE_LayerIgnoreExtents   0x00010000
#define MDISPCREATE_LayerKeepOpen   0x00002000
#define MDISPCREATE_LayerNoAllowDelete   0x00080000
#define MDISPCREATE_LayerNoComputePos   0x00400000
#define MDISPCREATE_LayerNoControlPanel   0x00100000
#define MDISPCREATE_LayerNoGeoreference   0x00008000
#define MDISPCREATE_LayerNoPromptObject   0x00200000
#define MDISPCREATE_LayerNoSelNewObj   0x00001000
#define MDISPCREATE_LayerNoSetActive   0x00800000
#define MDISPCREATE_LayerNoShowInMgr   0x01000000
#define MDISPCREATE_LayerOnePerGroup   0x00020000
#define MDISPCREATE_LayerOpenCtrlPanel   0x02000000
#define MDISPCREATE_NoCallCreateCB   0x00000004
#define MDISPCREATE_Temporary   0x00000008
#define MDISPCREATE_View3D   0x02000000
#define MDISPCREATE_ViewAllowGeoLock   0x40000000
#define MDISPCREATE_ViewDestroyOnClose   0x00000200
#define MDISPCREATE_ViewDialogModal   0x20000000
#define MDISPCREATE_ViewHardcopy   0x04000000
#define MDISPCREATE_ViewLocator   0x01000000
#define MDISPCREATE_ViewNoCancelButton   0x00004000
#define MDISPCREATE_ViewNoCloseOption   0x00000100
#define MDISPCREATE_ViewNoDftAddIcons   0x00002000
#define MDISPCREATE_ViewNoDftDrawIcons   0x00100000
#define MDISPCREATE_ViewNoDftViewIcons   0x00200000
#define MDISPCREATE_ViewNoIconBar   0x00080000
#define MDISPCREATE_ViewNoLegendView   0x00000800
#define MDISPCREATE_ViewNoRedrawButton   0x00010000
#define MDISPCREATE_ViewNoScalePosLine   0x00400000
#define MDISPCREATE_ViewNoScrollbars   0x00800000
#define MDISPCREATE_ViewNoSelectTool   0x00000400
#define MDISPCREATE_ViewNoSkipButton   0x00008000
#define MDISPCREATE_ViewNoStatusLine   0x00040000
#define MDISPCREATE_ViewNoStdTools   0x00001000
#define MDISPCREATE_ViewNoToolBoxTool   0x00020000
#define MDISPCREATE_ViewStereoLeft   0x08000000
#define MDISPCREATE_ViewStereoRight   0x10000000
#define MDISPLISTPOS_After   0x00000001
#define MDISPLISTPOS_Before   0x00000002
#define MDISPLISTPOS_Beginning   0x00000003
#define MDISPLISTPOS_End   0x00000000
#define MDISPLISTPOS_Mask   0x00000003

Enumerations

enum  GRE_FIND_FLAGS {
  GRE_FIND_ViewCoords = 0x0000, GRE_FIND_DisplayCoords = 0x0001, GRE_FIND_LayerCoords = 0x0002, GRE_FIND_UseClosest = 0x0004,
  GRE_FIND_NoSingleLayer = 0x0008, GRE_FIND_No3D = 0x0010, GRE_FIND_SearchDrawnSet = 0x0020, GRE_FIND_MapCoords = 0x0040
}
enum  GRE_OBJMGRITEM { GRE_OBJMGRITEM_Layer = 0, GRE_OBJMGRITEM_Component = 1, GRE_OBJMGRITEM_Table = 2, GRE_OBJMGRITEM_RawForm = 3 }
enum  GRE_OBJTYPE {
  GRE_OBJTYPE_None = 0, GRE_OBJTYPE_System = 0x01, GRE_OBJTYPE_Layout = 0x02, GRE_OBJTYPE_Group = 0x04,
  GRE_OBJTYPE_Layer = 0x08, GRE_OBJTYPE_View = 0x10, GRE_OBJTYPE_All = 0xFF
}

Functions

 DEFINE_ENUM_OP_BITWISE (GRE_FIND_FLAGS)
 DEFINE_ENUM_OP_BITWISE (GRE_OBJTYPE)


Detailed Description

<gre/base.h> Base GRE definitions

Definition in file base.h.


Define Documentation

#define GRE_GROUP_NAMELEN   64
 

Definition at line 110 of file base.h.

#define GRE_MAXVIEWS   32
 

Maximum number of views per viewable object.

Definition at line 109 of file base.h.

#define GRE_SERIAL_VERSION   3
 

Definition at line 138 of file base.h.

#define LABELSELECT_AllDrawnElem   0x0001
 

Show labels for all "drawn" elements.

Definition at line 204 of file base.h.

#define LABELSELECT_IfFit   0x0002
 

If label fits inside/alongside element.

Definition at line 205 of file base.h.

#define LABELSELECT_None   0x0000
 

Definition at line 203 of file base.h.

#define LABELTEXT_ByAttribute   0x0001
 

Definition at line 208 of file base.h.

#define LABELTEXT_ByField   LABELTEXT_ByAttribute
 

Definition at line 209 of file base.h.

#define LABELTEXT_ByQuery   LABELTEXT_ByScript
 

Definition at line 211 of file base.h.

#define LABELTEXT_ByScript   0x0002
 

Definition at line 210 of file base.h.

#define LABELTEXT_None   0x0000
 

Definition at line 207 of file base.h.

#define MDISPCREATE_Group3D   0x00001000
 

Group is 3-D.

Definition at line 172 of file base.h.

#define MDISPCREATE_GroupNoAutoMatch   0x00002000
 

Don't default to automatch any layers.

Definition at line 173 of file base.h.

#define MDISPCREATE_GroupNoSetActive   0x00004000
 

Don't make newly-created group "active".

Definition at line 174 of file base.h.

#define MDISPCREATE_InsertAfter   MDISPLISTPOS_After
 

Definition at line 148 of file base.h.

#define MDISPCREATE_InsertBefore   MDISPLISTPOS_Before
 

Definition at line 149 of file base.h.

#define MDISPCREATE_InsertBeginning   MDISPLISTPOS_Beginning
 

Definition at line 150 of file base.h.

#define MDISPCREATE_InsertEnd   MDISPLISTPOS_End
 

Flags for all object types.

Definition at line 147 of file base.h.

#define MDISPCREATE_LayerDispParmSet   0x00040000
 

Dispparm values have already been set.

Definition at line 162 of file base.h.

#define MDISPCREATE_LayerEditable   0x00004000
 

Set if creating layer to be edited.

Definition at line 158 of file base.h.

#define MDISPCREATE_LayerIgnoreExtents   0x00010000
 

Ignore layer extents in group.

Definition at line 160 of file base.h.

#define MDISPCREATE_LayerKeepOpen   0x00002000
 

Set if object should remain open until layer is destroyed.

Definition at line 157 of file base.h.

#define MDISPCREATE_LayerNoAllowDelete   0x00080000
 

Don't allow user to delete layer.

Definition at line 163 of file base.h.

#define MDISPCREATE_LayerNoComputePos   0x00400000
 

Don't call ComputeLayerPositions() when adding new layer.

Definition at line 166 of file base.h.

#define MDISPCREATE_LayerNoControlPanel   0x00100000
 

Don't allow control panel for layer.

Definition at line 164 of file base.h.

#define MDISPCREATE_LayerNoGeoreference   0x00008000
 

Set if no georeference info should be read for layer.

Definition at line 159 of file base.h.

#define MDISPCREATE_LayerNoPromptObject   0x00200000
 

Don't prompt user for object even if don't have one.

Definition at line 165 of file base.h.

#define MDISPCREATE_LayerNoSelNewObj   0x00001000
 

Don't allow user to select new object(s) via CtrlPanel.

Definition at line 156 of file base.h.

#define MDISPCREATE_LayerNoSetActive   0x00800000
 

Don't make newly-created layer "active".

Definition at line 167 of file base.h.

#define MDISPCREATE_LayerNoShowInMgr   0x01000000
 

Don't show this layer in layer manager.

Definition at line 168 of file base.h.

#define MDISPCREATE_LayerOnePerGroup   0x00020000
 

Create layers one per group (MdispLayerCreateMulti).

Definition at line 161 of file base.h.

#define MDISPCREATE_LayerOpenCtrlPanel   0x02000000
 

Open control panel for layer.

Definition at line 169 of file base.h.

#define MDISPCREATE_NoCallCreateCB   0x00000004
 

Don't call callback list when object created.

Definition at line 152 of file base.h.

#define MDISPCREATE_Temporary   0x00000008
 

Object is temporary.

Definition at line 153 of file base.h.

#define MDISPCREATE_View3D   0x02000000
 

View is 3D.

Definition at line 194 of file base.h.

#define MDISPCREATE_ViewAllowGeoLock   0x40000000
 

Allow GeoLocking.

Definition at line 199 of file base.h.

#define MDISPCREATE_ViewDestroyOnClose   0x00000200
 

Destroy view when View/Close selected.

Definition at line 178 of file base.h.

#define MDISPCREATE_ViewDialogModal   0x20000000
 

View is contained in modal dialog.

Definition at line 198 of file base.h.

#define MDISPCREATE_ViewHardcopy   0x04000000
 

Create "hardcopy" view.

Definition at line 195 of file base.h.

#define MDISPCREATE_ViewLocator   0x01000000
 

Create locator view.

Definition at line 193 of file base.h.

#define MDISPCREATE_ViewNoCancelButton   0x00004000
 

Don't put "Cancel" button at bottom of window.

Definition at line 183 of file base.h.

#define MDISPCREATE_ViewNoCloseOption   0x00000100
 

Don't include "Close" option on view menu.

Definition at line 177 of file base.h.

#define MDISPCREATE_ViewNoDftAddIcons   0x00002000
 

Don't put default "add" icon(s) on toolbar.

Definition at line 182 of file base.h.

#define MDISPCREATE_ViewNoDftDrawIcons   0x00100000
 

Don't create default "draw" icons when creating window.

Definition at line 189 of file base.h.

#define MDISPCREATE_ViewNoDftViewIcons   0x00200000
 

Don't create default "view" icons when creating window.

Definition at line 190 of file base.h.

#define MDISPCREATE_ViewNoIconBar   0x00080000
 

Don't create iconbar.

Definition at line 188 of file base.h.

#define MDISPCREATE_ViewNoLegendView   0x00000800
 

Don't create LegendView.

Definition at line 180 of file base.h.

#define MDISPCREATE_ViewNoRedrawButton   0x00010000
 

Don't put "Redraw" button at bottom of window.

Definition at line 185 of file base.h.

#define MDISPCREATE_ViewNoScalePosLine   0x00400000
 

Don't create zoom/scale/position line at bottom of view window.

Definition at line 191 of file base.h.

#define MDISPCREATE_ViewNoScrollbars   0x00800000
 

Don't create scroll bars.

Definition at line 192 of file base.h.

#define MDISPCREATE_ViewNoSelectTool   0x00000400
 

Don't add "Select" tool.

Definition at line 179 of file base.h.

#define MDISPCREATE_ViewNoSkipButton   0x00008000
 

Don't put "Skip" button at bottom of window.

Definition at line 184 of file base.h.

#define MDISPCREATE_ViewNoStatusLine   0x00040000
 

Don't create "status" line.

Definition at line 187 of file base.h.

#define MDISPCREATE_ViewNoStdTools   0x00001000
 

Don't add any standard tools.

Definition at line 181 of file base.h.

#define MDISPCREATE_ViewNoToolBoxTool   0x00020000
 

Don't add "ToolBox" tool.

Definition at line 186 of file base.h.

#define MDISPCREATE_ViewStereoLeft   0x08000000
 

Create "left" stereo view.

Definition at line 196 of file base.h.

#define MDISPCREATE_ViewStereoRight   0x10000000
 

Create "right" stereo view.

Definition at line 197 of file base.h.

#define MDISPLISTPOS_After   0x00000001
 

Definition at line 141 of file base.h.

#define MDISPLISTPOS_Before   0x00000002
 

Definition at line 142 of file base.h.

#define MDISPLISTPOS_Beginning   0x00000003
 

Definition at line 143 of file base.h.

#define MDISPLISTPOS_End   0x00000000
 

Definition at line 140 of file base.h.

#define MDISPLISTPOS_Mask   0x00000003
 

Definition at line 144 of file base.h.


Enumeration Type Documentation

enum GRE_FIND_FLAGS
 

Enumeration values:
GRE_FIND_ViewCoords  Point given in "view" coordinates.
GRE_FIND_DisplayCoords  Point given in "display" coordinates.
GRE_FIND_LayerCoords  Point given in "layer" (object) coordinates.
GRE_FIND_UseClosest  Return closest if no other found.
GRE_FIND_NoSingleLayer  Don't check single-layer groups.
GRE_FIND_No3D  Don't check 3-D groups.
GRE_FIND_SearchDrawnSet  Only search the "drawn" element set.
GRE_FIND_MapCoords  Point given in "map" coordinates.

Definition at line 122 of file base.h.

enum GRE_OBJMGRITEM
 

Item type in "object manager" list.

Enumeration values:
GRE_OBJMGRITEM_Layer 
GRE_OBJMGRITEM_Component 
GRE_OBJMGRITEM_Table 
GRE_OBJMGRITEM_RawForm 

Definition at line 114 of file base.h.

enum GRE_OBJTYPE
 

GRE object types.

Enumeration values:
GRE_OBJTYPE_None 
GRE_OBJTYPE_System 
GRE_OBJTYPE_Layout 
GRE_OBJTYPE_Group 
GRE_OBJTYPE_Layer 
GRE_OBJTYPE_View 
GRE_OBJTYPE_All 

Definition at line 98 of file base.h.


Function Documentation

DEFINE_ENUM_OP_BITWISE GRE_FIND_FLAGS   ) 
 

DEFINE_ENUM_OP_BITWISE GRE_OBJTYPE   ) 
 


Generated on Tue Dec 14 13:18:54 2004 for TNTsdk by  doxygen 1.3.8-20040913