#include <gls_map_grid.h>
|
enum | EGridReference { GRID_LAT_LON,
GRID_UTM,
GRID_MGRS,
GRID_UTM_SINGLE
} |
|
typedef DisplayObject | BaseClass |
|
|
| GlsMapGrid (bool generateInstance=false) |
|
virtual | ~GlsMapGrid () |
|
virtual void | SetAvailableAttributes (unsigned int value) |
|
virtual DisplayObject * | CloneObject (bool generateNames=false) |
|
virtual void | CopyProperties (DisplayObject *src) |
|
virtual InterfaceListType * | GetCppInterfaceDescription (InterfaceListType *addToThisList=NULL) |
|
virtual void | GetCppInterfaceDescriptionFree (InterfaceListType *array) |
|
virtual void | PreDraw (const OpenGLMatrices &parentMatrices, Culler &culler) |
|
virtual void | Draw (void) |
|
virtual DisplayObject * | Pick3D (const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices) |
|
virtual DisplayObject * | handle (DisplayEvent *ev) |
|
virtual void | SetValue (int spec, va_list &args) |
|
GlsMapView * | GetMapView () |
|
void | SetColor (const glsColor &value) |
|
glsColor | GetColor () |
|
EGridReference | GetGridReference () const |
|
void | SetDisplayGeoLatLon (double gridLevel) |
|
void | SetDisplayUTM (double gridScale) |
|
void | SetDisplayUTM (double gridScale, int zoneNumber, char latitudeBandLetter) |
|
|
static DisplayObject * | CreateInstance () |
|
|
void | DrawGeoLatLon () |
|
void | DrawGeoLatLonTransverseMercator () |
|
void | DrawUTM () |
|
void | DrawUTM (int zone, int latZoneIndex) |
|
|
DisplayObject * | _defaultPathGeometry |
|
EGridReference | _referenceSystem |
|
double | _scale |
|
int | _UTMdrawZone |
|
int | _UTMdrawLatBand |
|
disti::GlsMapGrid::GlsMapGrid |
( |
bool |
generateInstance = false | ) |
|
Create a new GlsMapGrid.
- Parameters
-
generateInstance | Whether or not to generate an instance name for this inputdevice |
disti::GlsMapGrid::~GlsMapGrid |
( |
| ) |
|
|
virtual |
void disti::GlsMapGrid::DrawGeoLatLon |
( |
| ) |
|
|
protected |
EGridReference disti::GlsMapGrid::GetGridReference |
( |
| ) |
const |
|
inline |
Get the current grid reference
- Returns
- pointer to the GlsMapView that the symbology will use for rendering or NULL if not found.
void disti::GlsMapGrid::SetColor |
( |
const glsColor & |
value | ) |
|
Set the default color for the lines
- Parameters
-
value | color of the line in RGBA |
void disti::GlsMapGrid::SetDisplayGeoLatLon |
( |
double |
gridLevel | ) |
|
Set Display Geo Lat/Lon
- Parameters
-
gridLevel | is from 1.0 arc-seconds to 20.0 degrees |
void disti::GlsMapGrid::SetDisplayUTM |
( |
double |
gridScale | ) |
|
Set Display in UTM (Universal Transverse Mercator) with a given grid scale (from 10m to 100,000 m) /param gridScale scale of the grid from 10m to 100,000m
void disti::GlsMapGrid::SetDisplayUTM |
( |
double |
gridScale, |
|
|
int |
zoneNumber, |
|
|
char |
latitudeBandLetter |
|
) |
| |
Set Display in UTM (Universal Transverse Mercator) over the specified zone and band with a given grid scale (from 10m to 100,000 m) /param gridScale scale of the grid from 10m to 100,000m /param zoneNumber zone to set the display in from 1 to 60 /param latitudeBandLetter latitude to display
The documentation for this class was generated from the following files:
- gls_map_grid.h
- gls_map_grid.cpp