GRE Namespace Reference

Namespaces

namespace  UI

Classes

struct  AUTOLABELPARMS
 Automatic labeling parameters. More...
class  BOUNDPARM
class  CAD_GEOMETRIC3D
class  CLIPPING3D
 CLIPPING3D class. More...
class  CONTROLLER
 Base class for 3D terrain controller. More...
class  CTRL_TREEVIEW
 When using this class do not use the ID methods or values from MGUI::CTRL_TREE as the ID is managed by CTRL_TREEVIEW and does not refer to any externally accessible object. More...
struct  DATATIPPARMS
 DataTip parameters. More...
class  DLG_ACTIVEELEMENTINFO
 GRE Active Element Information dialog. More...
class  DLG_DATATIPSETTINGS
 Dialog to specify DataTip settings for layer. More...
class  DLG_LAYERMGR
 GRE Layer Manager dialog. More...
class  DLG_MARKBYQUERY
class  DLG_MASKEDIT
 Class to create a dialog for editing a raster mask. More...
class  DLG_VIEWSTEREO2D
class  DLG_VIEWZOOM
class  DRAWINGCONTEXT3D
 Provide common methods to draw in 3D view. More...
struct  EDGEINDEX
class  ELEMSAMPLE_DC
 Drawing Context for Element Samples. More...
struct  EXTRUDEDPOINTPARMS
 Parameters for extruded 3d points. More...
struct  EXTRUDEDPOLYGONPARMS
 Parameters for extruded 3d polygons. More...
class  FLATTRIANGULATION
 Flat triangulation terrain model. More...
class  FORMULATEXTURE
class  GEOLOCKSETTINGS
 Settings for geo-locking, used by GRE_VIEW. More...
class  GEOMETRIC3D
 Base class for 3D geometric models. More...
class  GEOMETRIC3D_BUILDER
class  GEOMETRIC3D_ELEMENTS
 Base container class of geometric elements. More...
class  GROUP
class  GROUPVIEW
 Container for layer information retained for each view. More...
class  HYPERIDXMGR
class  HYPERLINK
class  HYPERSHAPE
struct  INDEX
class  LABELATTACHMENT
struct  LABELPARMS
 Label/Text element parameters. More...
class  LABELPLACE
 Class for keeping track of where a label is on the display. More...
class  LABELPLACEMENT
class  LAYER
 Layer base class. More...
class  LAYER_ARCIMS
 Raster Layer class. More...
class  LAYER_BINGMAPS
 Tileset Layer class. More...
class  LAYER_CAD
 GRE layer class for viewing CAD spatial object. More...
class  LAYER_FORMULA
class  LAYER_GENERIC
 Generic layer that uses delegates to perform actions. More...
class  LAYER_IMAGE
 Image Layer base class. More...
class  LAYER_IMAGE_SPATMOD
 SPATMOD (image pipeline) layer class. More...
class  LAYER_KML
class  LAYER_LEGEND
class  LAYER_LEGEND2
class  LAYER_LIDAR
 GRE layer class for viewing LIDAR objects. More...
class  LAYER_MAPGRID
 GRE layer class for viewing Map Grid. More...
class  LAYER_PINMAP
class  LAYER_RASTER
 Raster Layer class. More...
class  LAYER_REGION
class  LAYER_SCALEBAR
 GRE "scale bar" layer. More...
class  LAYER_SCRIPT
class  LAYER_SHAPE
 GRE layer class for viewing Shape spatial object. More...
class  LAYER_SKETCH
class  LAYER_SURFACE
 Surface layer, used to drape other layers for 3D / stereo. More...
class  LAYER_TEXT
class  LAYER_TILESET
 Tileset Layer class. More...
class  LAYER_TIN
 GRE layer class for viewing TIN (Triangulated Irregular Network) spatial object. More...
class  LAYER_VECTOR
 GRE layer class for viewing Vector spatial object. More...
class  LAYER_WMS
 Raster Layer class. More...
class  LAYERDC
 Layer drawing context. More...
class  LAYERSECTION
 Container for layer information retained for a section of layer. More...
class  LAYERSECTION_GEOMETRIC
 Layer section supporting geometric element drawn sets. More...
class  LAYERSECTION_LABELED
 Layer section supporting label placement. More...
class  LAYERVIEW
 Container for layer information retained for each view. More...
class  LAYOUT
class  LEGEND
 Legend base class. More...
class  LEGEND_COLORSAMPLE
 Color-Sample legend subclass. More...
class  LEGEND_COLORSCALE
 Color-Scale legend subclass. More...
class  LEGEND_IMAGESAMPLE
 Image Sample legend subclass. More...
class  LEGEND_LINE
 Line Feature legend subclass. More...
class  LEGEND_POINT
 Point Feature legend subclass. More...
class  LEGEND_POLYGON
 Polygon/Area Feature legend subclass. More...
struct  LEGENDPARMS
 Parameters for LegendView associated with element. More...
struct  LINEPARMS
 Line element parameters. More...
class  MACROSCRIPT
class  MACROSCRIPTLIST
class  MSG
 Message container. More...
class  MSG_EXTRACTED
class  MSG_VIEWEXPOSE
class  OBJECT
 Base class for other GRE "spatial" objects. More...
class  PIECEWISETIN
 Sparce triangulation terrain model. More...
class  PINMAP_GEOMETRIC3D
struct  PIXALIZATION
struct  POINTPARMS
 Point/Node element parameters. More...
class  POINTSFIELD
struct  POLYPARMS
 Polygon/Area element parameters. More...
class  RENDERTOTILESET
 Rendering to tileset. More...
class  SCENE3D
 SCENE3D class describes view scene and all transformation between model and world and view and unit cube and screen. More...
class  SCREENPLANE
 SCREENPLANE class describes plane in screen space in homogenius coordinates. More...
class  SCRIPTCONTEXT_DRAW
class  SCRIPTCONTEXT_LABEL
class  SCRIPTCONTEXT_STYLE
struct  SELECTPARMS
 Selection parameters for determining which elements to draw. More...
class  SHAPE_GEOMETRIC3D
class  SIMPLECONTROLLER
 Simple implementation of 3D terrain controller. More...
class  SIMPLERASTER
struct  STYLEPARMS
 Basic style parameters for element drawing. More...
class  SYSTEM
 GRE "system" container object. More...
class  TERRAIN
 Base class for 3D terrain models. More...
class  TEXTURE
 Base class for 3D texture models. More...
class  TEXTUREFILTER
 TEXTUREFILTER class provides several texture filter algorithms. More...
class  TINTERRAIN
 TIN terrain model. More...
class  TOOL
 Base class for tools attached to view. More...
class  TOOL_SML
 Script Tool class definition. More...
class  TOOLSCRIPT
class  TOOLSCRIPTLIST
struct  TRIANGLEINDEX
struct  TRIANGULATION
class  UTILS3D
 UTILS3D class contains supportive static methods. More...
class  VARIABLETRIANGULATION
class  VECTOR_GEOMETRIC3D
class  VIEW
class  VIEW_LEGACY
class  VIEW_LEGACY_SAVESETTINGS
class  VIEWABLE
 Base class for objects that can have "views" (GRE::LAYOUT, GRE::GROUP). More...
class  VIEWCOMMON
 Options which apply to all views in current process. More...
class  VIEWPLACE
 Simple container for specifying "place" being viewed. More...
class  VIEWPOINT3D
class  VIEWPOS
 Position of "view" relative to "device". More...
class  VIEWSCRIPT
class  WIREFRAME
 Container for wireframe in memory. More...

Typedefs

typedef SIMPLE_ARRAY
< GEOMETRIC3D_ELEMENTS * > 
GEOMETRIC3D_ELEMENTS_ARRAY
typedef MILIST< LABELPLACELABELPLACELIST
typedef std::vector< const
PIXALIZATION * > 
PIXALIZATIONVECTOR
typedef std::vector< const
TRIANGULATION * > 
TRIANGULATIONVECTOR

Enumerations

enum  DISPFLAGS {
  DISPFLAG_None = 0x00000000, DISPFLAG_ExcludeFromGroupExtents = 0x00000004, DISPFLAG_WarpToGeorefModel = 0x00000100, DISPFLAG_UsesTransparency = 0x00000200,
  DISPFLAG_NoDrawWireframe = 0x00000400, DISPFLAG_MayUseTransparency = 0x00000800, DISPFLAG_Antialias = 0x00001000, DISPFLAG_HintThinLines = 0x00002000,
  DISPFLAG_EnableMultiPassRender = 0x00004000, DISPFLAG_NoMergeLegendDups = 0x00008000, DISPFLAG_NoDrawLabels = 0x40000000, DISPFLAG_DrawLabelsOnly = 0x80000000,
  DISPFLAG_VectDrawNodes = 0x00010000, DISPFLAG_VectLinesFirst = 0x00020000, DISPFLAG_VectNoFillPoly = 0x00040000, DISPFLAG_VectNoFillHighlighted = 0x00080000,
  DISPFLAG_TINEdgesFirst = 0x00020000, DISPFLAG_TINNoFillTri = 0x00040000, DISPFLAG_RastNullTransp = 0x00010000, DISPFLAG_RastSkipOddLines = 0x00020000,
  DISPFLAG_RastSkipEvenLines = 0x00040000, DISPFLAG_RastDoBlendMask = 0x00080000, DISPFLAG_RastBlackTransp = 0x00100000, DISPFLAG_RastHyperspectLossy = 0x00400000,
  DISPFLAG_RastWhiteTransp = 0x00800000, DISPFLAG_RastLinesBetweenCells = 0x01000000, DISPFLAG_RastLabelsInCells = 0x02000000, DISPFLAG_SurfProjOffEdge = 0x00010000,
  DISPFLAG_FormulaNullTransp = 0x00010000, DISPFLAG_FormulaSkipOddLines = 0x00020000, DISPFLAG_FormulaSkipEvenLines = 0x00040000
}
enum  DRAW3DMODE {
  DRAW3DMODE_Texture = 0, DRAW3DMODE_Color = 1, DRAW3DMODE_Wireframe = 2, DRAW3DMODE_PointsField = 3,
  DRAW3DMODE_Bitmap = 4
}
enum  DRAWCONDITION { DRAWCONDITION_Always, DRAWCONDITION_IfNeeded, DRAWCONDITION_IfAutoUpdate }
enum  DRAWFLAGS {
  DRAWFLAG_None = 0x00000000, DRAWFLAG_ViewInView = 0x00000001, DRAWFLAG_OnlyHighlighted = 0x00000002, DRAWFLAG_AllElements = 0x00000004,
  DRAWFLAG_RequestRemote = 0x00000008, 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_NoSetStyle = 0x00000800, DRAWFLAG_AllNonLocViews = 0x00001000, DRAWFLAG_NoReportDone = 0x00002000,
  DRAWFLAG_NoMessage = 0x00004000, DRAWFLAG_Wireframe = 0x00008000, DRAWFLAG_NoResumeTool = 0x00010000, DRAWFLAG_NoNotifyDrawElement = 0x00020000,
  DRAWFLAG_NoBlankScreen = 0x00040000, DRAWFLAG_NoCheckColorLock = 0x00080000, 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  FINDFLAGS {
  FINDFLAG_ViewCoords = 0x0000, FINDFLAG_DisplayCoords = 0x0001, FINDFLAG_LayerCoords = 0x0002, FINDFLAG_UseClosest = 0x0004,
  FINDFLAG_NoSingleLayer = 0x0008, FINDFLAG_No3D = 0x0010, FINDFLAG_SearchDrawnSet = 0x0020, FINDFLAG_MapCoords = 0x0040
}
enum  HIGHLIGHTMODE {
  HIGHLIGHTMODE_NotSet = 0, HIGHLIGHTMODE_Replace = 1, HIGHLIGHTMODE_Add = 2, HIGHLIGHTMODE_Subtract = 3,
  HIGHLIGHTMODE_Toggle = 4
}
enum  LAYERDRAWFLAGS {
  LAYERDRAWFLAG_None = 0x0000, LAYERDRAWFLAG_Clip = 0x0002, LAYERDRAWFLAG_NoClipToGroup = 0x0004, LAYERDRAWFLAG_SaveToTemplate = 0x0008,
  LAYERDRAWFLAG_MaskAll = 0xFFFF
}
enum  LAYERFLAGS {
  LAYERFLAG_None = 0x00000000, LAYERFLAG_NoSelNewObj = 0x00000010, LAYERFLAG_HiliteColorSet = 0x00000040, LAYERFLAG_DataTipIgnoreDrawnSet = 0x00000080,
  LAYERFLAG_NoInvalidateViews = 0x00000100, LAYERFLAG_3D = 0x00000200, LAYERFLAG_KeepOpen = 0x00020000, LAYERFLAG_Editable = 0x00040000,
  LAYERFLAG_CanShowInLocator = 0x00100000, LAYERFLAG_NoGeoreference = 0x00080000, LAYERFLAG_NoDrawActiveElem = 0x01000000, LAYERFLAG_NoShowInLayerMgr = 0x02000000,
  LAYERFLAG_NoAllowHide = 0x04000000, LAYERFLAG_NoAllowDelete = 0x08000000, LAYERFLAG_Temporary = 0x10000000, LAYERFLAG_MaskAll = 0xFFFFFFFF
}
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_GroupAll = 0x0070, RENDERTARGET_ViewMemory = 0x1000, RENDERTARGET_ViewScreen = 0x8000
}
enum  TRIANGLEMODE { TRIANGLEMODE_List = 0, TRIANGLEMODE_Fan = 1, TRIANGLEMODE_Strip = 2, TRIANGLEMODE_TIN = 3 }
enum  VIEW_LEGACY_COORDSOURCE {
  VIEW_LEGACY_COORDSOURCE_None, VIEW_LEGACY_COORDSOURCE_Mouse, VIEW_LEGACY_COORDSOURCE_ViewCenter, VIEW_LEGACY_COORDSOURCE_Entered,
  VIEW_LEGACY_COORDSOURCE_GPS, VIEW_LEGACY_COORDSOURCE_COUNT
}
enum  VISIBLEVIEW {
  VISIBLEVIEW_None = 0, VISIBLEVIEW_All = 0xFFFFFFFF, VISIBLEVIEW_AllNonLocator = 0xFFFFFFFE, VISIBLEVIEW_Locator = 0x00000001,
  VISIBLEVIEW_Hardcopy = 0x80000000, VISIBLEVIEW_AllNonHardcopy = 0x7FFFFFFF
}

Functions

ERRVALUE DlgEditLayoutSettings (MDLGPARENT dlgparent, LAYOUT *layout)
bool DlgEditMacroScriptList (MDLGPARENT dlgparent, MACROSCRIPTLIST &ScriptList, GRE::VIEWABLE *viewable, GRE::VIEW *view=0)
int DlgEditScaleRanges (MDLGPARENT dlgparent, VIEWABLE *viewable)
bool DlgEditToolScriptList (MDLGPARENT dlgparent, TOOLSCRIPTLIST &ScriptList, GRE::VIEWABLE *viewable, GRE::VIEW *view=0)
ERRVALUE DlgRenderToKML (MDLGPARENT dlgparent, VIEWABLE *viewable)
ERRVALUE DlgRenderToPDF (MDLGPARENT dlgparent, VIEWABLE *viewable)
ERRVALUE DlgRenderToRaster (MDLGPARENT dlgparent, VIEWABLE *viewable)
ERRVALUE DlgRenderToSVG (MDLGPARENT dlgparent, VIEWABLE *viewable)
ERRVALUE DlgRenderToTileset (MDLGPARENT dlgparent, VIEWABLE *viewable)
ERRVALUE GenerateStyleTableFromScript (MDLGPARENT dlgparent, const RVC::OBJITEM &ObjItemGeometric, const RVC::OBJITEM &ObjItemStyleSrc, const POLYSTYLE &BaseStyle, ELEMTYPE ElemType, const MISTRING &ScriptStr, RVC::OBJITEM &ObjItemTable)
ERRVALUE GenerateStyleTableFromScript (MDLGPARENT dlgparent, const RVC::OBJITEM &ObjItemGeometric, const RVC::OBJITEM &ObjItemStyleSrc, const LINESTYLE &BaseStyle, ELEMTYPE ElemType, const MISTRING &ScriptStr, RVC::OBJITEM &ObjItemTable)
ERRVALUE GenerateStyleTableFromScript (MDLGPARENT dlgparent, const RVC::OBJITEM &ObjItemGeometric, const RVC::OBJITEM &ObjItemStyleSrc, const POINTSTYLE &BaseStyle, ELEMTYPE ElemType, const MISTRING &ScriptStr, RVC::OBJITEM &ObjItemTable)
bool operator!= (const VIEWPLACE &lhs, const VIEWPLACE &rhs)
bool operator== (const VIEWPLACE &lhs, const VIEWPLACE &rhs)
void SML_InstallToolFunctions (SML::CONTEXT *context)
void ToolAddRecenter (GRE::VIEW_LEGACY *view, GRE::TOOL **rtool=0)
void ToolAddZoomBox (GRE::VIEW_LEGACY *view, GRE::TOOL **rtool=0)

Variables

const UINT32 UICOLOR_TextDim = 0x00505050
const UINT32 UICOLOR_TextEditable = 0x00800080
const UINT32 UICOLOR_TextExcludedFromGroupExtent = 0x000050A0
const UINT32 UICOLOR_TextHasHighlightedElements = 0x00FF00FF
const UINT32 UICOLOR_TextNormal = 0x00000000
const UINT32 UICOLOR_TextNotInExtent = 0x00800000
const UINT32 UICOLOR_TextNotVisibleAtScale = 0x00208020
const UINT32 UICOLOR_TextNotYetRendered = 0x000000A0

Typedef Documentation

typedef std::vector<const PIXALIZATION*> GRE::PIXALIZATIONVECTOR
typedef std::vector<const TRIANGULATION*> GRE::TRIANGULATIONVECTOR

Enumeration Type Documentation

Flags stored in xxxxDISPPARM.dispflags.

Enumerator:
DISPFLAG_None 
DISPFLAG_ExcludeFromGroupExtents 

Exclude layer from group extents.

DISPFLAG_WarpToGeorefModel 

Warp to model specified with georeference.

DISPFLAG_UsesTransparency 

Uses transparency effects.

DISPFLAG_NoDrawWireframe 

Don't draw layer in wireframe mode.

DISPFLAG_MayUseTransparency 

Use of transparency unknown, assume it does until first time draw.

DISPFLAG_Antialias 

Draw Antialiased.

DISPFLAG_HintThinLines 

Imply thin lines via transparency.

DISPFLAG_EnableMultiPassRender 

Enable multipass rendering for styles.

DISPFLAG_NoMergeLegendDups 

Don't combine duplicate styles in legend.

DISPFLAG_NoDrawLabels 

Don't draw labels.

DISPFLAG_DrawLabelsOnly 

Only draw labels.

DISPFLAG_VectDrawNodes 

Draw nodes for vector object.

DISPFLAG_VectLinesFirst 

Draw vector lines before polygons.

DISPFLAG_VectNoFillPoly 

Disable polygon filling.

DISPFLAG_VectNoFillHighlighted 

Disable polygon filling when highlighted.

DISPFLAG_TINEdgesFirst 

Draw TIN edges before triangles.

DISPFLAG_TINNoFillTri 

Don't fill TIN triangles.

DISPFLAG_RastNullTransp 

Make "null" cells transparent.

DISPFLAG_RastSkipOddLines 

Skip odd screen lines (for special rendering).

DISPFLAG_RastSkipEvenLines 

Skip even screen lines (for special rendering).

DISPFLAG_RastDoBlendMask 

Do mask transparency blending if possible.

DISPFLAG_RastBlackTransp 

Make "black" cells transparent.

DISPFLAG_RastHyperspectLossy 

Display hyperspectral in fast-lossy mode.

DISPFLAG_RastWhiteTransp 

Make "white" cells transparent.

DISPFLAG_RastLinesBetweenCells 

Show lines between cells when zoom in.

DISPFLAG_RastLabelsInCells 

Show labels in cells when zoom in.

DISPFLAG_SurfProjOffEdge 

Project data off edge of surface.

DISPFLAG_FormulaNullTransp 

Make "null" cells transparent.

DISPFLAG_FormulaSkipOddLines 

Skip odd screen lines (for 3Dmax glasses).

DISPFLAG_FormulaSkipEvenLines 

Skip even screen lines (for 3Dmax glasses).

Enumerator:
DRAW3DMODE_Texture 
DRAW3DMODE_Color 
DRAW3DMODE_Wireframe 
DRAW3DMODE_PointsField 
DRAW3DMODE_Bitmap 

Condition for redrawing views.

Enumerator:
DRAWCONDITION_Always 

Always draw.

DRAWCONDITION_IfNeeded 

Only draw if has changed.

DRAWCONDITION_IfAutoUpdate 

Only draw if auto-update preference is on and has changed.

Drawing flags.

Enumerator:
DRAWFLAG_None 
DRAWFLAG_ViewInView 

Draw to view-in-view buffer.

DRAWFLAG_OnlyHighlighted 

Only draw 'highlighted' elements.

DRAWFLAG_AllElements 

All elements are being drawn.

DRAWFLAG_RequestRemote 

Requesting remote (web, etc) object.

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_NoSetStyle 

Don't need to set style when drawing element.

DRAWFLAG_AllNonLocViews 

Draw all non-locator views.

DRAWFLAG_NoReportDone 

Don't display message when done drawing.

DRAWFLAG_NoMessage 

Don't display messages while drawing.

DRAWFLAG_Wireframe 

Only draw wireframes.

DRAWFLAG_NoResumeTool 

Don't "resume" tool after drawing view.

DRAWFLAG_NoNotifyDrawElement 

Don't call NotifyDrawElementBegin/End.

DRAWFLAG_NoBlankScreen 

Don't "blank" screen when start drawing view.

DRAWFLAG_NoCheckColorLock 

Don't do colorlock check when drawing element.

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.

Flags for "find" methods.

Enumerator:
FINDFLAG_ViewCoords 

Point given in "view" coordinates.

FINDFLAG_DisplayCoords 

Point given in "display" coordinates.

FINDFLAG_LayerCoords 

Point given in "layer" (object) coordinates.

FINDFLAG_UseClosest 

Return closest if no other found.

FINDFLAG_NoSingleLayer 

Don't check single-layer groups.

FINDFLAG_No3D 

Don't check 3-D groups.

FINDFLAG_SearchDrawnSet 

Only search the "drawn" element set.

FINDFLAG_MapCoords 

Point given in "map" coordinates.

Mode for highlighing elements.

Enumerator:
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.

Enumerator:
LAYERDRAWFLAG_None 

No flags.

LAYERDRAWFLAG_Clip 

Clip layer.

LAYERDRAWFLAG_NoClipToGroup 

Don't clip layer to group.

LAYERDRAWFLAG_SaveToTemplate 

Save layer as-is to template.

LAYERDRAWFLAG_MaskAll 

Mask for setting all flags.

Enumerator:
LAYERFLAG_None 

No flags.

LAYERFLAG_NoSelNewObj 

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

LAYERFLAG_HiliteColorSet 

Separate highlight color has been set for layer.

LAYERFLAG_DataTipIgnoreDrawnSet 

Ignore DrawnSet when searching for DataTip element.

LAYERFLAG_NoInvalidateViews 

Don't allow invalidation of render buffers.

LAYERFLAG_3D 

Layer is fully 3-D, no "surface" required.

LAYERFLAG_KeepOpen 

Set if object should remain open until layer is destroyed.

LAYERFLAG_Editable 

Set if layer can be edited.

LAYERFLAG_CanShowInLocator 

Set if can show this layer in the Locator window.

LAYERFLAG_NoGeoreference 

Set if no georeference info should be read for layer.

LAYERFLAG_NoDrawActiveElem 

Don't draw "active" element.

LAYERFLAG_NoShowInLayerMgr 

Don't show in layer manager, must also set LAYERFLAG_Temporary.

LAYERFLAG_NoAllowHide 

Don't allow user to hide layer.

LAYERFLAG_NoAllowDelete 

Don't allow user to delete layer.

LAYERFLAG_Temporary 

Layer is temporary, cannot save in layout.

LAYERFLAG_MaskAll 

Mask for setting all flags.

Position in list for use in creation and reordering.

Enumerator:
LISTPOS_First 
LISTPOS_After 
LISTPOS_Before 
LISTPOS_Last 

Targets for rendering individual elements.

Enumerator:
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_GroupAll 

All group buffers.

RENDERTARGET_ViewMemory 

View memory buffer.

RENDERTARGET_ViewScreen 

View screen (unbuffered).

Enumerator:
TRIANGLEMODE_List 
TRIANGLEMODE_Fan 
TRIANGLEMODE_Strip 
TRIANGLEMODE_TIN 
Enumerator:
VIEW_LEGACY_COORDSOURCE_None 
VIEW_LEGACY_COORDSOURCE_Mouse 
VIEW_LEGACY_COORDSOURCE_ViewCenter 
VIEW_LEGACY_COORDSOURCE_Entered 
VIEW_LEGACY_COORDSOURCE_GPS 
VIEW_LEGACY_COORDSOURCE_COUNT 

View visibility bits and masks.

Enumerator:
VISIBLEVIEW_None 
VISIBLEVIEW_All 
VISIBLEVIEW_AllNonLocator 
VISIBLEVIEW_Locator 
VISIBLEVIEW_Hardcopy 
VISIBLEVIEW_AllNonHardcopy 

Function Documentation

ERRVALUE GRE::DlgEditLayoutSettings ( MDLGPARENT  dlgparent,
LAYOUT *  layout 
)

Dialog to edit layout properties/settings.

Parameters:
dlgparent Parent for dialog
layout Layout to edit settings for
bool GRE::DlgEditMacroScriptList ( MDLGPARENT  dlgparent,
MACROSCRIPTLIST &  ScriptList,
GRE::VIEWABLE viewable,
GRE::VIEW view = 0 
)

Dialog to edit list of MacroScripts for specified viewable and optional view.

Returns:
true if changed, false if not.
int GRE::DlgEditScaleRanges ( MDLGPARENT  dlgparent,
VIEWABLE *  viewable 
)

Dialog to edit scale ranges for items in viewable.

Returns:
TRUE if any changes, FALSE if not, < 0 if error or cancel
Parameters:
dlgparent Parent for dialog
viewable Viewable
bool GRE::DlgEditToolScriptList ( MDLGPARENT  dlgparent,
TOOLSCRIPTLIST &  ScriptList,
GRE::VIEWABLE viewable,
GRE::VIEW view = 0 
)

Dialog to edit list of ToolScripts for specified viewable and optional view.

Returns:
true if changed, false if not.
ERRVALUE GRE::DlgRenderToKML ( MDLGPARENT  dlgparent,
VIEWABLE *  viewable 
)

Dialog to render viewable to KML for Google Earth.

Parameters:
dlgparent Parent for dialog
viewable Viewable to render
ERRVALUE GRE::DlgRenderToPDF ( MDLGPARENT  dlgparent,
VIEWABLE *  viewable 
)

Dialog to render viewable to PDF for Acrobat.

Parameters:
dlgparent Parent for dialog
viewable Viewable to render
ERRVALUE GRE::DlgRenderToRaster ( MDLGPARENT  dlgparent,
VIEWABLE *  viewable 
)

Dialog to render viewable to raster.

Parameters:
dlgparent Parent for dialog
viewable Viewable to render
ERRVALUE GRE::DlgRenderToSVG ( MDLGPARENT  dlgparent,
VIEWABLE *  viewable 
)

Dialog to render viewable to SVG.

Parameters:
dlgparent Parent for dialog
viewable Viewable to render
ERRVALUE GRE::DlgRenderToTileset ( MDLGPARENT  dlgparent,
VIEWABLE *  viewable 
)

Dialog to render viewable to tileset.

Parameters:
dlgparent Parent for dialog
viewable Viewable to render
ERRVALUE GRE::GenerateStyleTableFromScript ( MDLGPARENT  dlgparent,
const RVC::OBJITEM ObjItemGeometric,
const RVC::OBJITEM ObjItemStyleSrc,
const POLYSTYLE BaseStyle,
ELEMTYPE  ElemType,
const MISTRING ScriptStr,
RVC::OBJITEM ObjItemTable 
)

Generate style assignment table from script using POLYSTYLE.

ERRVALUE GRE::GenerateStyleTableFromScript ( MDLGPARENT  dlgparent,
const RVC::OBJITEM ObjItemGeometric,
const RVC::OBJITEM ObjItemStyleSrc,
const LINESTYLE BaseStyle,
ELEMTYPE  ElemType,
const MISTRING ScriptStr,
RVC::OBJITEM ObjItemTable 
)

Generate style assignment table from script using LINESTYLE.

ERRVALUE GRE::GenerateStyleTableFromScript ( MDLGPARENT  dlgparent,
const RVC::OBJITEM ObjItemGeometric,
const RVC::OBJITEM ObjItemStyleSrc,
const POINTSTYLE BaseStyle,
ELEMTYPE  ElemType,
const MISTRING ScriptStr,
RVC::OBJITEM ObjItemTable 
)

Generate style assignment table from script using POINTSTYLE.

bool GRE::operator!= ( const VIEWPLACE &  lhs,
const VIEWPLACE &  rhs 
) [inline]
bool GRE::operator== ( const VIEWPLACE &  lhs,
const VIEWPLACE &  rhs 
) [inline]
void GRE::SML_InstallToolFunctions ( SML::CONTEXT context  ) 

Install "view tool" functions.

void GRE::ToolAddRecenter ( GRE::VIEW_LEGACY view,
GRE::TOOL **  rtool = 0 
)

Add 'recenter' tool.

void GRE::ToolAddZoomBox ( GRE::VIEW_LEGACY view,
GRE::TOOL **  rtool = 0 
)

Add 'zoom box' tool.


Variable Documentation

const UINT32 GRE::UICOLOR_TextDim = 0x00505050
const UINT32 GRE::UICOLOR_TextEditable = 0x00800080
const UINT32 GRE::UICOLOR_TextNormal = 0x00000000

Generated on Sun Oct 7 21:34:05 2012 for TNTsdk 2012 by  doxygen 1.6.1