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.

Namespaces

namespace  GRE

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 AUTOLABELOPTM_Fast   0x01
#define AUTOLABELOPTM_Full   0x02
#define AUTOLABELOPTM_HideOverlap   0x04
#define AUTOLABELOPTM_None   0x00
#define AUTOLABELPRIORITY_AllSame   0
#define AUTOLABELPRIORITY_ByField   1
#define AUTOLABELPRIORITY_ByScript   2
#define GRE_GROUP_NAMELEN   64
#define GRE_MAXVIEWS   32
#define GRE_SERIAL_VERSION   3
#define LABELPOSN_Default   0
#define LABELPOSN_PointAboveCenter   2
#define LABELPOSN_PointAboveLeft   1
#define LABELPOSN_PointAboveRight   3
#define LABELPOSN_PointBelowCenter   8
#define LABELPOSN_PointBelowLeft   7
#define LABELPOSN_PointBelowRight   9
#define LABELPOSN_PointCenter   5
#define LABELPOSN_PointCenterLeft   4
#define LABELPOSN_PointCenterRight   6
#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 MDISPSELECT_AutoOpenActiveLayer   0x0004
#define MDISPSELECT_AutoOpenDefaultLayer   0x0002
#define MDISPSELECT_AutoOpenTable   0x0008
#define MDISPSELECT_DisplayCoords   0x0001
#define MDISPSELECT_ViewCoords   0x0000
#define MDISPVISIBLE_AllViews   0xFFFFFFFF
#define MDISPVISIBLE_Hardcopy   0x80000000
#define MDISPVISIBLE_Locator   0x00000001

Enumerations

enum  DRAWCONDITION { DRAWCONDITION_Always, DRAWCONDITION_IfNeeded, DRAWCONDITION_IfAutoUpdate }
enum  DRAWFLAGS {
  DRAWFLAG_None = 0x00000000, DRAWFLAG_ViewInView = 0x00000001, DRAWFLAG_OnlyHighlighted = 0x00000002, DRAWFLAG_Erase = 0x00000010,
  DRAWFLAG_ForceDraw = 0x00000020, DRAWFLAG_UpdateSearchTree = 0x00000040, DRAWFLAG_UpdateScreen = 0x00000080, DRAWFLAG_NoUpdateScreen = 0x00000100,
  DRAWFLAG_NoHighlighting = 0x00000200, DRAWFLAG_UpdateBuffers = 0x00000400, DRAWFLAG_SelectChanged = DRAWFLAG_UpdateBuffers, DRAWFLAG_AllNonLocViews = 0x00001000,
  DRAWFLAG_NoMessage = 0x00004000, DRAWFLAG_Wireframe = 0x00008000, DRAWFLAG_NoResumeTool = 0x00010000, DRAWFLAG_NoBlankScreen = 0x00040000,
  DRAWFLAG_NoCallbacks = 0x00400000, DRAWFLAG_CheckDrawnSet = 0x00800000, DRAWFLAG_ReduceSpeckle3D = 0x01000000, DRAWFLAG_UseDataTipColor = 0x02000000,
  DRAWFLAG_UseHighlightColor = 0x04000000, DRAWFLAG_UseActiveColor = 0x08000000, DRAWFLAG_NoCheckVisible = 0x10000000, DRAWFLAG_LabelPlacementPass = 0x20000000
}
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
}
enum  HIGHLIGHTMODE {
  HIGHLIGHTMODE_NotSet = 0, HIGHLIGHTMODE_Replace = 1, HIGHLIGHTMODE_Add = 2, HIGHLIGHTMODE_Subtract = 3,
  HIGHLIGHTMODE_Toggle = 4
}
enum  LISTPOS { LISTPOS_First = 0, LISTPOS_After = 1, LISTPOS_Before = 2, LISTPOS_Last = 3 }
enum  RENDERTARGET {
  RENDERTARGET_None = 0x0000, RENDERTARGET_LayerNormal = 0x0001, RENDERTARGET_LayerHighlight = 0x0002, RENDERTARGET_LayerLabel = 0x0004,
  RENDERTARGET_LayerAll = 0x0007, RENDERTARGET_Group = 0x0010, RENDERTARGET_GroupActiveElems = 0x0020, RENDERTARGET_GroupMatte = 0x0040,
  RENDERTARGET_GroupOverlay = 0x0080, RENDERTARGET_GroupAll = 0x00F0, RENDERTARGET_ViewMemory = 0x1000, RENDERTARGET_ViewScreen = 0x8000
}

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 AUTOLABELOPTM_Fast   0x01
 

Definition at line 313 of file base.h.

#define AUTOLABELOPTM_Full   0x02
 

Definition at line 314 of file base.h.

#define AUTOLABELOPTM_HideOverlap   0x04
 

Definition at line 315 of file base.h.

#define AUTOLABELOPTM_None   0x00
 

Definition at line 312 of file base.h.

#define AUTOLABELPRIORITY_AllSame   0
 

Definition at line 317 of file base.h.

#define AUTOLABELPRIORITY_ByField   1
 

Definition at line 318 of file base.h.

#define AUTOLABELPRIORITY_ByScript   2
 

Definition at line 319 of file base.h.

#define GRE_GROUP_NAMELEN   64
 

Definition at line 173 of file base.h.

#define GRE_MAXVIEWS   32
 

Maximum number of views per viewable object.

Definition at line 172 of file base.h.

#define GRE_SERIAL_VERSION   3
 

Definition at line 201 of file base.h.

#define LABELPOSN_Default   0
 

Definition at line 300 of file base.h.

#define LABELPOSN_PointAboveCenter   2
 

Definition at line 303 of file base.h.

#define LABELPOSN_PointAboveLeft   1
 

Definition at line 302 of file base.h.

#define LABELPOSN_PointAboveRight   3
 

Definition at line 304 of file base.h.

#define LABELPOSN_PointBelowCenter   8
 

Definition at line 309 of file base.h.

#define LABELPOSN_PointBelowLeft   7
 

Definition at line 308 of file base.h.

#define LABELPOSN_PointBelowRight   9
 

Definition at line 310 of file base.h.

#define LABELPOSN_PointCenter   5
 

Definition at line 306 of file base.h.

#define LABELPOSN_PointCenterLeft   4
 

Definition at line 305 of file base.h.

#define LABELPOSN_PointCenterRight   6
 

Definition at line 307 of file base.h.

#define LABELSELECT_AllDrawnElem   0x0001
 

Show labels for all "drawn" elements.

Definition at line 291 of file base.h.

#define LABELSELECT_IfFit   0x0002
 

If label fits inside/alongside element.

Definition at line 292 of file base.h.

#define LABELSELECT_None   0x0000
 

Definition at line 290 of file base.h.

#define LABELTEXT_ByAttribute   0x0001
 

Definition at line 295 of file base.h.

#define LABELTEXT_ByField   LABELTEXT_ByAttribute
 

Definition at line 296 of file base.h.

#define LABELTEXT_ByQuery   LABELTEXT_ByScript
 

Definition at line 298 of file base.h.

#define LABELTEXT_ByScript   0x0002
 

Definition at line 297 of file base.h.

#define LABELTEXT_None   0x0000
 

Definition at line 294 of file base.h.

#define MDISPSELECT_AutoOpenActiveLayer   0x0004
 

Automatically make "active" layer elements selectable.

Definition at line 281 of file base.h.

#define MDISPSELECT_AutoOpenDefaultLayer   0x0002
 

Automatically make "default" layer elements selectable.

Definition at line 280 of file base.h.

#define MDISPSELECT_AutoOpenTable   0x0008
 

Automatically open table(s) for selectable element types.

Definition at line 282 of file base.h.

#define MDISPSELECT_DisplayCoords   0x0001
 

Point(s) in "display" coordinates.

Definition at line 279 of file base.h.

#define MDISPSELECT_ViewCoords   0x0000
 

Point(s) in "view" coordinates.

Definition at line 278 of file base.h.

#define MDISPVISIBLE_AllViews   0xFFFFFFFF
 

Definition at line 284 of file base.h.

#define MDISPVISIBLE_Hardcopy   0x80000000
 

Definition at line 286 of file base.h.

#define MDISPVISIBLE_Locator   0x00000001
 

Definition at line 285 of file base.h.


Enumeration Type Documentation

enum DRAWCONDITION
 

Condition for redrawing views.

Enumeration values:
DRAWCONDITION_Always  Always draw.
DRAWCONDITION_IfNeeded  Only draw if has changed.
DRAWCONDITION_IfAutoUpdate  Only draw if auto-update preference is on and has changed.

Definition at line 214 of file base.h.

enum DRAWFLAGS
 

Drawing flags.

Enumeration values:
DRAWFLAG_None 
DRAWFLAG_ViewInView  Draw to view-in-view buffer.
DRAWFLAG_OnlyHighlighted  Only draw 'highlighted' elements.
DRAWFLAG_Erase  Erase elements (for GRE_VIEW::DrawLayerElement/s).
DRAWFLAG_ForceDraw  Force all specified elements to draw even if not "selected".
DRAWFLAG_UpdateSearchTree  Update search tree when drawing even if in tree already.
DRAWFLAG_UpdateScreen  Refresh screen after drawing.
DRAWFLAG_NoUpdateScreen  Disable screen refresh after drawing.
DRAWFLAG_NoHighlighting  Draw elements without highlighting.
DRAWFLAG_UpdateBuffers  Update render buffers.
DRAWFLAG_SelectChanged 
DRAWFLAG_AllNonLocViews  Draw all non-locator views.
DRAWFLAG_NoMessage  Don't display messages while drawing.
DRAWFLAG_Wireframe  Only draw wireframes.
DRAWFLAG_NoResumeTool  Don't "resume" tool after drawing view.
DRAWFLAG_NoBlankScreen  Don't "blank" screen when start drawing view.
DRAWFLAG_NoCallbacks  Don't invoke callback lists while drawing.
DRAWFLAG_CheckDrawnSet  Check "drawn" set for highlighting.
DRAWFLAG_ReduceSpeckle3D  Perform 3D background speckle reduction.
DRAWFLAG_UseDataTipColor  Draw in 'datatip element' color.
DRAWFLAG_UseHighlightColor  Draw elements in "highlight" color.
DRAWFLAG_UseActiveColor  Draw element in "active" color.
DRAWFLAG_NoCheckVisible  Don't check visiblity of layer/group in view.
DRAWFLAG_LabelPlacementPass  Internal use: 2nd pass to render just labels.

Definition at line 221 of file base.h.

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 185 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 177 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 161 of file base.h.

enum HIGHLIGHTMODE
 

Mode for highlighing elements.

Enumeration values:
HIGHLIGHTMODE_NotSet  Not set, use parent's setting.
HIGHLIGHTMODE_Replace  Replace selected set with elements provided.
HIGHLIGHTMODE_Add  Add elements provided to selected set.
HIGHLIGHTMODE_Subtract  Subtract elements from selected set.
HIGHLIGHTMODE_Toggle  Toggle selection status of elements.

Definition at line 267 of file base.h.

enum LISTPOS
 

Position in list for use in creation and reordering.

Enumeration values:
LISTPOS_First 
LISTPOS_After 
LISTPOS_Before 
LISTPOS_Last 

Definition at line 206 of file base.h.

enum RENDERTARGET
 

Targets for rendering individual elements.

Enumeration values:
RENDERTARGET_None 
RENDERTARGET_LayerNormal  Layer buffer for unhighlighted elements.
RENDERTARGET_LayerHighlight  Layer buffer for highlighted elements.
RENDERTARGET_LayerLabel  Layer buffer for labels.
RENDERTARGET_LayerAll  All layer buffers.
RENDERTARGET_Group  Group combined buffer.
RENDERTARGET_GroupActiveElems  Group 'active elements' buffer.
RENDERTARGET_GroupMatte  Group matte buffer.
RENDERTARGET_GroupOverlay  Group overlay buffer.
RENDERTARGET_GroupAll  All group buffers.
RENDERTARGET_ViewMemory  View memory buffer.
RENDERTARGET_ViewScreen  View screen (unbuffered).

Definition at line 250 of file base.h.


Function Documentation

DEFINE_ENUM_OP_BITWISE GRE_FIND_FLAGS   ) 
 

DEFINE_ENUM_OP_BITWISE GRE_OBJTYPE   ) 
 


Generated on Wed May 31 15:27:28 2006 for TNTsdk by  doxygen 1.3.8-20040913