layer.h File Reference

GRE::LAYER class definition. More...

#include <gre/elemsearch.h>
#include <gre/3dwireframe.h>
#include <gre/mfctreeview.h>
#include <mi32/grtree.h>
#include <rvc/element.h>
#include <mi32/rvcparms.h>
#include <mi32/dbedit.h>
#include <gre/objectbase.h>
#include <gre/viewable.h>

Include dependency graph for layer.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
namespace  RVC

Classes

class  GRE_LAYER
 Layer base class. More...
class  GRE_LAYER::COMPINFO
 Layer component information. More...
class  GRE_LAYER::COMPINFO::TABLEINFO
class  GRE_LAYER::DISPPARM
 Shared display parameters common to most layer types. More...
class  GRE_LAYER::FILTER
 Filter for whether to include layer in an operation. More...
class  GRE_LAYER::FILTER_EXCLUDE
 Convenience filter for excluding a single specific layer from an operation. More...
class  GRE_LAYER::GLOBALOPTIONS
 Container for global layer options. More...
class  GRE_LAYER::OBJMGRFORM
 Form for layer in "object manager". More...
class  GRE_LAYER::RAWELEMFORM
 End of GRE_LAYER::OBJMGRFORM. More...
class  GRE_LAYER::TYPEDEFN
 Layer type definition structure. More...
class  GRE::LAYERVIEW
 Container for layer information retained for each view. More...

Defines

#define GRE_MAXLAYERTYPES   32
#define LAYERTYPE_CAD   GRE_LAYER::TYPE_CAD
#define LAYERTYPE_DBPinmap   GRE_LAYER::TYPE_DBPinmap
#define LAYERTYPE_Formula   GRE_LAYER::TYPE_Formula
#define LAYERTYPE_Legend   GRE_LAYER::TYPE_Legend
#define LAYERTYPE_Legend2   GRE_LAYER::TYPE_Legend2
#define LAYERTYPE_MapGrid   GRE_LAYER::TYPE_MapGrid
#define LAYERTYPE_Raster   GRE_LAYER::TYPE_Raster
#define LAYERTYPE_Region   GRE_LAYER::TYPE_Region
#define LAYERTYPE_ScaleBar   GRE_LAYER::TYPE_ScaleBar
#define LAYERTYPE_Sketch   GRE_LAYER::TYPE_Sketch
#define LAYERTYPE_SML   GRE_LAYER::TYPE_Script
#define LAYERTYPE_Surface   GRE_LAYER::TYPE_Surface
#define LAYERTYPE_Text   GRE_LAYER::TYPE_Text
#define LAYERTYPE_TIN   GRE_LAYER::TYPE_TIN
#define LAYERTYPE_Vector   GRE_LAYER::TYPE_Vector
#define NUMLAYERTYPES   GRE_LAYER::TYPE_NEXT

Enumerations

enum  DISPFLAGS {
  DISPFLAG_None = 0x00000000, DISPFLAG_SaveDrawnSetOBS = 0x00000001, DISPFLAG_KeepOpenOBS = 0x00000002, DISPFLAG_UseTempFile = 0x00000004,
  DISPFLAG_EditObjectOBS = 0x00000008, DISPFLAG_NoDrawLabels = 0x40000000, DISPFLAG_DrawLabelsOnly = 0x80000000, DISPFLAG_WarpToGeorefModel = 0x00000100,
  DISPFLAG_UsesTransparency = 0x00000200, DISPFLAG_NoDrawWireframe = 0x00000400, DISPFLAG_MayUseTransparency = 0x00000800, DISPFLAG_Antialias = 0x00001000,
  DISPFLAG_HintThinLines = 0x00002000, 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_RastHyperspectLossy = 0x00400000,
  DISPFLAG_SurfProjOffEdge = 0x00010000, DISPFLAG_FormulaNullTransp = 0x00010000, DISPFLAG_FormulaSkipOddLines = 0x00020000, DISPFLAG_FormulaSkipEvenLines = 0x00040000
}
enum  LAYERDRAWFLAGS {
  LAYERDRAWFLAG_None = 0x0000, LAYERDRAWFLAG_Clip = 0x0002, LAYERDRAWFLAG_NoClipToGroup = 0x0004, LAYERDRAWFLAG_SaveToTemplate = 0x0008,
  LAYERDRAWFLAG_EditInTNTserver = 0x0010, LAYERDRAWFLAG_MaskAll = 0xFFFF
}
enum  LAYERFLAGS {
  LAYERFLAG_None = 0x00000000, LAYERFLAG_NoSelNewObj = 0x00000010, LAYERFLAG_HiliteColorSet = 0x00000040, LAYERFLAG_3D = 0x00000200,
  LAYERFLAG_KeepOpen = 0x00020000, LAYERFLAG_Editable = 0x00040000, LAYERFLAG_CanShowInLocator = 0x00100000, LAYERFLAG_IgnoreExtents = 0x00400000,
  LAYERFLAG_NoGeoreference = 0x00080000, LAYERFLAG_NoDrawActiveElem = 0x01000000, LAYERFLAG_NoShowInLayerMgr = 0x02000000, LAYERFLAG_NoAllowHide = 0x04000000,
  LAYERFLAG_NoAllowDelete = 0x08000000, LAYERFLAG_Temporary = 0x10000000, LAYERFLAG_MaskAll = 0xFFFFFFFF
}

Functions

 DEFINE_ENUM_OP_BITWISE (LAYERFLAGS)
 DEFINE_ENUM_OP_BITWISE (LAYERDRAWFLAGS)
 DEFINE_ENUM_OP_BITWISE (DISPFLAGS)
 DEFINE_ENUM_OPERATORS (GRE_LAYER::TYPEDEFN::FLAGS)


Detailed Description

GRE::LAYER class definition.

Definition in file layer.h.


Define Documentation

#define GRE_MAXLAYERTYPES   32
 

Definition at line 314 of file layer.h.

#define LAYERTYPE_CAD   GRE_LAYER::TYPE_CAD
 

Definition at line 2100 of file layer.h.

#define LAYERTYPE_DBPinmap   GRE_LAYER::TYPE_DBPinmap
 

Definition at line 2101 of file layer.h.

#define LAYERTYPE_Formula   GRE_LAYER::TYPE_Formula
 

Definition at line 2112 of file layer.h.

#define LAYERTYPE_Legend   GRE_LAYER::TYPE_Legend
 

Definition at line 2105 of file layer.h.

#define LAYERTYPE_Legend2   GRE_LAYER::TYPE_Legend2
 

Definition at line 2106 of file layer.h.

#define LAYERTYPE_MapGrid   GRE_LAYER::TYPE_MapGrid
 

Definition at line 2102 of file layer.h.

#define LAYERTYPE_Raster   GRE_LAYER::TYPE_Raster
 

Definition at line 2098 of file layer.h.

#define LAYERTYPE_Region   GRE_LAYER::TYPE_Region
 

Definition at line 2109 of file layer.h.

#define LAYERTYPE_ScaleBar   GRE_LAYER::TYPE_ScaleBar
 

Definition at line 2103 of file layer.h.

#define LAYERTYPE_Sketch   GRE_LAYER::TYPE_Sketch
 

Definition at line 2108 of file layer.h.

#define LAYERTYPE_SML   GRE_LAYER::TYPE_Script
 

Definition at line 2111 of file layer.h.

#define LAYERTYPE_Surface   GRE_LAYER::TYPE_Surface
 

Definition at line 2110 of file layer.h.

#define LAYERTYPE_Text   GRE_LAYER::TYPE_Text
 

Definition at line 2104 of file layer.h.

#define LAYERTYPE_TIN   GRE_LAYER::TYPE_TIN
 

Definition at line 2107 of file layer.h.

#define LAYERTYPE_Vector   GRE_LAYER::TYPE_Vector
 

Definition at line 2099 of file layer.h.

#define NUMLAYERTYPES   GRE_LAYER::TYPE_NEXT
 

Definition at line 2113 of file layer.h.


Enumeration Type Documentation

enum DISPFLAGS
 

Flags stored in xxxxDISPPARM.dispflags.

Enumeration values:
DISPFLAG_None 
DISPFLAG_SaveDrawnSetOBS  OBSOLETE, DO NOT USE, retain def so can read old dispparms.
DISPFLAG_KeepOpenOBS  OBSOLETE, DO NOT USE, retain so can read old dispparms.
DISPFLAG_UseTempFile  Object is in a temporary file.
DISPFLAG_EditObjectOBS  OBSOLETE, DO NOT USE, retain so can read old dispparms.
DISPFLAG_NoDrawLabels  Don't draw labels.
DISPFLAG_DrawLabelsOnly  Only draw labels.
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_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 3Dmax glasses).
DISPFLAG_RastSkipEvenLines  Skip even screen lines (for 3Dmax glasses).
DISPFLAG_RastDoBlendMask  Do mask transparency blending if possible.
DISPFLAG_RastHyperspectLossy  Display hyperspectral in fast-lossy mode.
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).

Definition at line 240 of file layer.h.

enum LAYERDRAWFLAGS
 

Enumeration values:
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_EditInTNTserver  Allow layer to be edited in TNTserver.
LAYERDRAWFLAG_MaskAll  Mask for setting all flags.

Definition at line 280 of file layer.h.

enum LAYERFLAGS
 

Enumeration values:
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_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_IgnoreExtents  Ignore this layer when determining group extents.
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.

Definition at line 293 of file layer.h.


Function Documentation

DEFINE_ENUM_OP_BITWISE LAYERFLAGS   ) 
 

DEFINE_ENUM_OP_BITWISE LAYERDRAWFLAGS   ) 
 

DEFINE_ENUM_OP_BITWISE DISPFLAGS   ) 
 

DEFINE_ENUM_OPERATORS GRE_LAYER::TYPEDEFN::FLAGS   ) 
 


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