#include <gre/lrsurface.h>
Inheritance diagram for GRE::LAYER_SURFACE:

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 DISPPARM & | GetDispParm () 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::TERRAIN * | GetTerrain () |
| LAYER_SURFACE (GRE::GROUP *group, CREATEFLAGS createflags=CREATEFLAG_None, GRE::LISTPOS listpos=GRE::LISTPOS_Last, LAYER *reflayer=0) | |
| virtual int | OpenObject (UINT32 filemode=RVCFILE_ReadLock, MDLGPARENT dlgparent=0) |
| ERRVALUE | SetDispParm (const DISPPARM &dispparm) |
| virtual | ~LAYER_SURFACE () |
Static Public Member Functions | |
| static void | RegisterType () |
Protected Attributes | |
| DISPPARM | m_dispparm |
Classes | |
| class | DISPPARM |
Definition at line 43 of file lrsurface.h.
| RENDERING_MODE_None | |
| RENDERING_MODE_VariableTriangulation | |
| RENDERING_MODE_PiecewiseTIN | |
| RENDERING_MODE_FlatTriangulation |
Definition at line 46 of file lrsurface.h.
| GRE::LAYER_SURFACE::LAYER_SURFACE | ( | GRE::GROUP * | group, | |
| CREATEFLAGS | createflags = CREATEFLAG_None, |
|||
| GRE::LISTPOS | listpos = GRE::LISTPOS_Last, |
|||
| LAYER * | reflayer = 0 | |||
| ) | [explicit] |
Construct layer and insert into list.
| group | Group to contain layer |
| createflags | Creation flags |
| listpos | Position in list |
| reflayer | Reference layer for insertion |
| virtual GRE::LAYER_SURFACE::~LAYER_SURFACE | ( | ) | [virtual] |
| const DISPPARM& GRE::LAYER_SURFACE::GetDispParm | ( | ) | const [inline] |
| 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.
| 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] |
| 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 139 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.
| 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 166 of file lrsurface.h.
| virtual int GRE::LAYER_SURFACE::OpenObject | ( | UINT32 | filemode = RVCFILE_ReadLock, |
|
| MDLGPARENT | dlgparent = 0 | |||
| ) | [virtual] |
Open object(s) for this layer.
| filemode | RVC file access mode |
| dlgparent | Parent for dialog |
Reimplemented from GRE::LAYER.
| static void GRE::LAYER_SURFACE::RegisterType | ( | ) | [static] |
Register this layer type.
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.
| dispparm | Parameters to set |
DISPPARM GRE::LAYER_SURFACE::m_dispparm [protected] |
1.5.2