view.h File Reference

<gre/view.h> GRE VIEW classes More...

#include <mgui/oxttctrl.h>
#include <mi32/grtool.h>
#include <gre/geolock.h>
#include <gre/3dscene.h>
#include <gre/layerview.h>
#include <map>
#include <mi32/stdafx.h>
#include <gre/viewable.h>
#include <mi32/grtree.h>

Include dependency graph for view.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

class  GRE_TOOL
 Base class for tools attached to view. More...
class  GRE_VIEW
class  GRE_VIEW::GLOBALOPTIONS
 Options which apply to all views in current process. More...
class  GRE_VIEW::SAVESETTINGS
class  GRE_VIEW::VIEWPOSN
 Position of "view" relative to "display". More...

Defines

#define GRE_MaxPrevViews   10
#define LEGENDVIEW_SHOW_Left   2
#define LEGENDVIEW_SHOW_None   1
#define LEGENDVIEW_SHOW_NotSet   0
#define LEGENDVIEW_SHOW_Right   3
#define MDISPICONVIEW_ViewDefault   0x000030FF
#define MDISPICONVIEW_ViewFull   0x00000001
#define MDISPICONVIEW_ViewGeoLock   0x00001000
#define MDISPICONVIEW_ViewLocator   0x00000100
#define MDISPICONVIEW_ViewPrevious   0x00000002
#define MDISPICONVIEW_ViewPrevZoom   0x00000004
#define MDISPICONVIEW_ViewSnapshot   0x00000200
#define MDISPICONVIEW_ViewZoom1X   0x00000020
#define MDISPICONVIEW_ViewZoom2X   0x00000400
#define MDISPICONVIEW_ViewZoom3X   0x00000800
#define MDISPICONVIEW_ViewZoomIn   0x00000008
#define MDISPICONVIEW_ViewZoomOut   0x00000010
#define MDISPICONVIEW_ViewZoomToGroup   0x00000040
#define MDISPICONVIEW_ViewZoomToLayer   0x00000080
#define MDISPICONVIEW_ViewZoomToLoc   0x00002000

Enumerations

enum  GRE_PROJACCUR { GRE_PROJACCUR_Affine = 1, GRE_PROJACCUR_Exact = 2, GRE_PROJACCUR_Auto = 3 }
enum  VIEWFLAGS {
  VIEWFLAG_None = 0, VIEWFLAG_Locator = 0x00000001, VIEWFLAG_3D = 0x00000002, VIEWFLAG_ForceOneToOne = 0x00000004,
  VIEWFLAG_ScaleOneToOne = 0x00000008, VIEWFLAG_AllowDiffZoom = 0x00000010, VIEWFLAG_Hardcopy = 0x00000020, VIEWFLAG_DisableHotKeys = 0x00000040,
  VIEWFLAG_NoDrawLayers = 0x00000080, VIEWFLAG_NoDestroyShell = 0x00000100, VIEWFLAG_DidAttach = 0x00000200, VIEWFLAG_DialogModal = 0x00000400,
  VIEWFLAG_AllowGeoLock = 0x00000800, VIEWFLAG_NoCloseOption = 0x00001000, VIEWFLAG_DestroyOnClose = 0x00002000, VIEWFLAG_NoSetPixmapBG = 0x00004000,
  VIEWFLAG_NoSetPrevViewPos = 0x00008000, VIEWFLAG_DisableDataTips = 0x00010000, VIEWFLAG_NoRenderSeparate = 0x00020000, VIEWFLAG_AutoPanGPS = 0x00040000,
  VIEWFLAG_NoBlankScreen = 0x00080000, VIEWFLAG_NoEditColorHighlight = 0x00100000, VIEWFLAG_NoFillBackground = 0x00200000, VIEWFLAG_AllowPanOffEdge = 0x00400000,
  VIEWFLAG_NoShowTrackingCursor = 0x00800000, VIEWFLAG_NoLegendView = 0x01000000, VIEWFLAG_AlwaysTestCancel = 0x02000000, VIEWFLAG_NoDrawOtherViews = 0x04000000,
  VIEWFLAG_NoShowInLocator = 0x08000000, VIEWFLAG_SaveMask = (VIEWFLAG_AllowDiffZoom)
}

Functions

 DEFINE_ENUM_OP_BITWISE (VIEWFLAGS)
void GRE_ToolAddViewInView (GRE_VIEW *view, GRE_TOOL **rtool=0)
void GRE_ToolAddZoomSimple (GRE_VIEW *view, GRE_TOOL **rtool=0)


Detailed Description

<gre/view.h> GRE VIEW classes

Definition in file view.h.


Define Documentation

#define GRE_MaxPrevViews   10
 

Maximum number of "previous views" to retain.

Definition at line 351 of file view.h.

#define LEGENDVIEW_SHOW_Left   2
 

Definition at line 372 of file view.h.

#define LEGENDVIEW_SHOW_None   1
 

Definition at line 371 of file view.h.

#define LEGENDVIEW_SHOW_NotSet   0
 

Definition at line 370 of file view.h.

#define LEGENDVIEW_SHOW_Right   3
 

Definition at line 373 of file view.h.

#define MDISPICONVIEW_ViewDefault   0x000030FF
 

Definition at line 368 of file view.h.

#define MDISPICONVIEW_ViewFull   0x00000001
 

Flags for VIEW::GetIconItemView() and VIEW::AddDftViewIcons().

Definition at line 354 of file view.h.

#define MDISPICONVIEW_ViewGeoLock   0x00001000
 

Definition at line 366 of file view.h.

#define MDISPICONVIEW_ViewLocator   0x00000100
 

Definition at line 362 of file view.h.

#define MDISPICONVIEW_ViewPrevious   0x00000002
 

Definition at line 355 of file view.h.

#define MDISPICONVIEW_ViewPrevZoom   0x00000004
 

Definition at line 356 of file view.h.

#define MDISPICONVIEW_ViewSnapshot   0x00000200
 

Definition at line 363 of file view.h.

#define MDISPICONVIEW_ViewZoom1X   0x00000020
 

Definition at line 359 of file view.h.

#define MDISPICONVIEW_ViewZoom2X   0x00000400
 

Definition at line 364 of file view.h.

#define MDISPICONVIEW_ViewZoom3X   0x00000800
 

Definition at line 365 of file view.h.

#define MDISPICONVIEW_ViewZoomIn   0x00000008
 

Definition at line 357 of file view.h.

#define MDISPICONVIEW_ViewZoomOut   0x00000010
 

Definition at line 358 of file view.h.

#define MDISPICONVIEW_ViewZoomToGroup   0x00000040
 

Definition at line 360 of file view.h.

#define MDISPICONVIEW_ViewZoomToLayer   0x00000080
 

Definition at line 361 of file view.h.

#define MDISPICONVIEW_ViewZoomToLoc   0x00002000
 

Definition at line 367 of file view.h.


Enumeration Type Documentation

enum GRE_PROJACCUR
 

Enumeration values:
GRE_PROJACCUR_Affine  Always use affine transformation to approximate.
GRE_PROJACCUR_Exact  Perform exact projection transformation (slowest for all object types).
GRE_PROJACCUR_Auto  Do automatic determination between affine and exact.

Definition at line 310 of file view.h.

enum VIEWFLAGS
 

Enumeration values:
VIEWFLAG_None 
VIEWFLAG_Locator  Locator view.
VIEWFLAG_3D  View is 3D.
VIEWFLAG_ForceOneToOne  Force zoom so first raster shown at 1 cell/pixel.
VIEWFLAG_ScaleOneToOne  Set zoom so first raster shown at 1 cell/pixel.
VIEWFLAG_AllowDiffZoom  Allow different X/Y zooming.
VIEWFLAG_Hardcopy  Hardcopy view.
VIEWFLAG_DisableHotKeys  Disable hot keys for view window.
VIEWFLAG_NoDrawLayers  Don't draw any layers in view.
VIEWFLAG_NoDestroyShell  Don't destroy Shell containing view when view destroyed.
VIEWFLAG_DidAttach  Widget attachment done when view was created.
VIEWFLAG_DialogModal  View dialog is modal.
VIEWFLAG_AllowGeoLock  Allow GeoLocking.
VIEWFLAG_NoCloseOption  Don't include View/Close menu option.
VIEWFLAG_DestroyOnClose  Destroy view when user selects View/Close.
VIEWFLAG_NoSetPixmapBG  Don't set backgroundPixmap for DrawingArea.
VIEWFLAG_NoSetPrevViewPos  Don't set "previous view position" when draw.
VIEWFLAG_DisableDataTips  Disable datatips for this view.
VIEWFLAG_NoRenderSeparate  Don't render to separate memory devices.
VIEWFLAG_AutoPanGPS  Auto-pan view to GPS if available.
VIEWFLAG_NoBlankScreen  Don't blank screen while drawing view.
VIEWFLAG_NoEditColorHighlight  Don't allow editing of selected/active colors.
VIEWFLAG_NoFillBackground  Don't fill background before rendering, used for raster.
VIEWFLAG_AllowPanOffEdge  Allow panning off extent of viewable object.
VIEWFLAG_NoShowTrackingCursor  Don't display "tracking" cursor in this view.
VIEWFLAG_NoLegendView  Don't create LegendView.
VIEWFLAG_AlwaysTestCancel  Test for cancel from status even if not drawing.
VIEWFLAG_NoDrawOtherViews  Don't draw other views when this view is drawn.
VIEWFLAG_NoShowInLocator  Don't show this view in locator tool.
VIEWFLAG_SaveMask 

Definition at line 316 of file view.h.


Function Documentation

DEFINE_ENUM_OP_BITWISE VIEWFLAGS   ) 
 

void GRE_ToolAddViewInView GRE_VIEW view,
GRE_TOOL **  rtool = 0
 

INC_GRE_VIEW_H.

void GRE_ToolAddZoomSimple GRE_VIEW view,
GRE_TOOL **  rtool = 0
 

Add simple 'zoom in' tool.


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