GRE Namespace Reference

Forward declaration. More...


Classes

struct  AUTOLABELPARMS
 Automatic labeling parameters. More...
class  BOUNDPARM
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_VIEWZOOM
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
 GEOMETRIC3D_ELEMENTS class describes 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 screen. More...
class  LABELPLACEMENT
class  LAYER
 Layer base class. More...
class  LAYER_CAD
 GRE layer class for viewing CAD spatial object. More...
class  LAYER_FORMULA
class  LAYER_IMAGE
 Image Layer base class. More...
class  LAYER_IMAGE_SPATMOD
 SPATMOD (image pipeline) layer class. More...
class  LAYER_LEGEND
class  LAYER_LEGEND2
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
class  LAYER_TEXT
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  LAYERVIEW
 Container for layer information retained for each view. More...
class  LAYERVIEW_GEOMETRIC
 Derived class supporting geometric element drawn sets. More...
class  LAYERVIEW_LABELED
 Derived class supporting label placement. 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  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...
struct  PIXALIZATION
struct  POINTPARMS
 Point/Node element parameters. More...
class  POINTSFIELD
struct  POLYPARMS
 Polygon/Area element parameters. More...
class  SCENE3D
 SCENE3D class describes view scene and all transformation beetween model and world and view and unit cube and screne. 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  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
struct  TRIANGLEINDEX
struct  TRIANGULATION
class  UTILS3D
 UTILS3D class contains supportive static methods. More...
class  VARIABLETRIANGULATION
class  VECTOR_GEOMETRIC3D
class  VIEW
class  VIEWABLE
 Base class for objects that can have "views" (GRE::LAYOUT, GRE::GROUP). More...
class  VIEWPOINT3D
class  VIEWSCRIPT
class  WIREFRAME
 Container for wireframe in memory. More...

Typedefs

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

Enumerations

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_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  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  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
}
enum  TRIANGLEMODE { TRIANGLEMODE_List = 0, TRIANGLEMODE_Fan = 1, TRIANGLEMODE_Strip = 2, TRIANGLEMODE_TIN = 3 }

Functions

 DEFINE_ENUM_OP_BITWISE (OBJECT::TYPE)
 DEFINE_ENUM_OP_BITWISE (LAYOUT::CREATEFLAGS)
 DEFINE_ENUM_OP_BITWISE (LAYER::TYPEDEFN::FLAGS)
 DEFINE_ENUM_OP_BITWISE (HYPERIDXMGR::FINDFLAGS)
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 DlgRenderToRaster (MDLGPARENT dlgparent, VIEWABLE *viewable)
ERRVALUE DlgRenderToSVG (MDLGPARENT dlgparent, VIEWABLE *viewable)
void ToolAddRecenter (GRE::VIEW *view, GRE::TOOL **rtool=0)
void ToolAddZoomBox (GRE::VIEW *view, GRE::TOOL **rtool=0)

Variables

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


Detailed Description

Forward declaration.

Typedef Documentation

typedef SIMPLE_ARRAY<GEOMETRIC3D_ELEMENTS*> GRE::GEOMETRIC3D_ELEMENTS_ARRAY

Definition at line 842 of file 3dgmelem.h.

typedef MILIST<MACROSCRIPT> GRE::MACROSCRIPTLIST

Definition at line 336 of file viewscript.h.

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

Definition at line 212 of file 3dutils.h.

typedef MILIST<TOOLSCRIPT> GRE::TOOLSCRIPTLIST

Definition at line 442 of file viewscript.h.

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

Definition at line 177 of file 3dutils.h.


Enumeration Type Documentation

enum GRE::DRAW3DMODE

< GENERATING_DOXYGEN_OUTPUT

Enumerator:
DRAW3DMODE_Texture 
DRAW3DMODE_Color 
DRAW3DMODE_Wireframe 
DRAW3DMODE_PointsField 
DRAW3DMODE_Bitmap 

Definition at line 105 of file 3dutils.h.

enum GRE::DRAWCONDITION

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.

Definition at line 244 of file base.h.

enum GRE::DRAWFLAGS

Drawing flags.

Enumerator:
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 251 of file base.h.

enum GRE::FINDFLAGS

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.

Definition at line 280 of file base.h.

enum GRE::HIGHLIGHTMODE

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.

Definition at line 310 of file base.h.

enum GRE::LISTPOS

Position in list for use in creation and reordering.

Enumerator:
LISTPOS_First 
LISTPOS_After 
LISTPOS_Before 
LISTPOS_Last 

Definition at line 236 of file base.h.

enum GRE::RENDERTARGET

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_GroupOverlay  Group overlay buffer.
RENDERTARGET_GroupAll  All group buffers.
RENDERTARGET_ViewMemory  View memory buffer.
RENDERTARGET_ViewScreen  View screen (unbuffered).

Definition at line 293 of file base.h.

enum GRE::TRIANGLEMODE

Enumerator:
TRIANGLEMODE_List 
TRIANGLEMODE_Fan 
TRIANGLEMODE_Strip 
TRIANGLEMODE_TIN 

Definition at line 113 of file 3dutils.h.


Function Documentation

GRE::DEFINE_ENUM_OP_BITWISE ( OBJECT::TYPE   ) 

GRE::DEFINE_ENUM_OP_BITWISE ( LAYOUT::CREATEFLAGS   ) 

GRE::DEFINE_ENUM_OP_BITWISE ( LAYER::TYPEDEFN::FLAGS   ) 

GRE::DEFINE_ENUM_OP_BITWISE ( HYPERIDXMGR::FINDFLAGS   ) 

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

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

Add 'recenter' tool.

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

Add 'zoom box' tool.


Variable Documentation

const UINT32 GRE::UICOLOR_TextDim = 0x00505050

Definition at line 320 of file base.h.

const UINT32 GRE::UICOLOR_TextEditable = 0x00800080

Definition at line 324 of file base.h.

const UINT32 GRE::UICOLOR_TextNormal = 0x00000000

Definition at line 319 of file base.h.

const UINT32 GRE::UICOLOR_TextNotInExtent = 0x00800000

Definition at line 322 of file base.h.

const UINT32 GRE::UICOLOR_TextNotVisibleAtScale = 0x00208020

Definition at line 321 of file base.h.

const UINT32 GRE::UICOLOR_TextNotYetRendered = 0x000000A0

Definition at line 323 of file base.h.


Generated on Thu Apr 26 04:13:51 2007 for TNTsdk by  doxygen 1.5.2