GRE_LAYER_SURFACE Class Reference

#include <gre/lrsurface.h>

Inheritance diagram for GRE_LAYER_SURFACE:

Inheritance graph
[legend]
List of all members.

Public Types

enum  RENDERING_MODE { RENDERING_MODE_None = -1, RENDERING_MODE_VariableTriangulation = 0, RENDERING_MODE_PiecewiseTIN = 1, RENDERING_MODE_FlatTriangulation = 2 }

Public Member Functions

const DISPPARMGetDispParm () const
ERRVALUE GetPointsZ (const TRANS2D_MAPGEN &PtoS, POLYLINE &PolyLine, double dftz)
int GetPointsZ (const TRANS2D_MAPGEN &PtoS, DPOINT3D *points, INT32 NumPoints, double dftz)
int GetPointsZ (const TRANSPARM &PtoS, DPOINT3D *points, INT32 NumPoints, double dftz)
GRE::TERRAINGetTerrain ()
 GRE_LAYER_SURFACE (GRE_GROUP *group, CREATEFLAGS createflags=CREATEFLAG_None, GRE::LISTPOS listpos=GRE::LISTPOS_Last, GRE_LAYER *reflayer=0)
virtual int OpenObject (UINT32 filemode=RVCFILE_ReadLock, MDLGPARENT dlgparent=0)
ERRVALUE SetDispParm (const DISPPARM &dispparm)
virtual ~GRE_LAYER_SURFACE ()

Static Public Member Functions

void RegisterType ()

Protected Attributes

DISPPARM m_dispparm

Member Enumeration Documentation

enum GRE_LAYER_SURFACE::RENDERING_MODE
 

Enumeration values:
RENDERING_MODE_None 
RENDERING_MODE_VariableTriangulation 
RENDERING_MODE_PiecewiseTIN 
RENDERING_MODE_FlatTriangulation 

Definition at line 42 of file lrsurface.h.


Constructor & Destructor Documentation

GRE_LAYER_SURFACE::GRE_LAYER_SURFACE GRE_GROUP group,
CREATEFLAGS  createflags = CREATEFLAG_None,
GRE::LISTPOS  listpos = GRE::LISTPOS_Last,
GRE_LAYER reflayer = 0
[explicit]
 

Construct layer and insert into list.

Parameters:
group  Group to contain layer
createflags  Creation flags
listpos  Position in list
reflayer  Reference layer for insertion

virtual GRE_LAYER_SURFACE::~GRE_LAYER_SURFACE  )  [virtual]
 


Member Function Documentation

const DISPPARM& GRE_LAYER_SURFACE::GetDispParm  )  const [inline]
 

Retrieve layer-specific display parameters.

Definition at line 122 of file lrsurface.h.

ERRVALUE GRE_LAYER_SURFACE::GetPointsZ const TRANS2D_MAPGEN PtoS,
POLYLINE PolyLine,
double  dftz
 

Get Z coordinates for set of points.

This method is used mainly in 3D rendering and measurement to obtain the Z coordinates of one or more points in some other map projection or layer coordinate system.

Parameters:
PtoS  Transformation from point to surface object coordinates
PolyLine  Points to obtain Z values for
dftz  Default Z value for off-surface points

int GRE_LAYER_SURFACE::GetPointsZ const TRANS2D_MAPGEN PtoS,
DPOINT3D points,
INT32  NumPoints,
double  dftz
[inline]
 

Parameters:
PtoS  Transformation from point to surface object coordinates
points  Points to obtain Z values for
NumPoints  Number of points
dftz  Default Z value for off-surface points

Definition at line 135 of file lrsurface.h.

int GRE_LAYER_SURFACE::GetPointsZ const TRANSPARM PtoS,
DPOINT3D points,
INT32  NumPoints,
double  dftz
 

Get Z coordinates for set of points.

This method is used mainly in 3D rendering and measurement to obtain the Z coordinates of one or more points in some other map projection or layer coordinate system.

Parameters:
PtoS  Transformation from point to surface object coordinates
points  Points to obtain Z values for
NumPoints  Number of points
dftz  Default Z value for off-surface points

GRE::TERRAIN* GRE_LAYER_SURFACE::GetTerrain  )  [inline]
 

Definition at line 162 of file lrsurface.h.

virtual int GRE_LAYER_SURFACE::OpenObject UINT32  filemode = RVCFILE_ReadLock,
MDLGPARENT  dlgparent = 0
[virtual]
 

Open object(s) for this layer.

Returns:
TRUE if was opened, FALSE if open already, < 0 if error
Parameters:
filemode  RVC file access mode
dlgparent  Parent for dialog

Reimplemented from GRE_LAYER.

void GRE_LAYER_SURFACE::RegisterType  )  [static]
 

Register this layer type.

ERRVALUE GRE_LAYER_SURFACE::SetDispParm const DISPPARM dispparm  ) 
 

Set layer-specific display parameters.

This is the recommended method for changing how an existing layer is to be rendered. Validation will be performed on the specified parameters and adjustments made to the layer's copy if necessary. Use of this method usually results in a ChangeBegin / ChangeEnd message pair, and will also generate a ChangeObject message if the spatial object used in the layer is changed.

Parameters:
dispparm  Parameters to set


Member Data Documentation

DISPPARM GRE_LAYER_SURFACE::m_dispparm [protected]
 

Layer-specific display parameters.

Definition at line 167 of file lrsurface.h.


The documentation for this class was generated from the following file:
Generated on Wed May 31 15:28:37 2006 for TNTsdk by  doxygen 1.3.8-20040913