40 #ifndef INCLUDED_GLSMAPGRID_H
41 #define INCLUDED_GLSMAPGRID_H
49 #if( defined( GLSGEN_EXPORT_GLSMAPGRID ) || defined( GLSGEN_IMPORT_GLSMAPGRID ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
50 && defined( _MSC_VER )
51 # if defined( GLSGEN_EXPORT_GLSMAPGRID ) || defined( GLS_EXPORT_GENERATED )
52 # define GLSGEN_GLSMAPGRID_EXPORT __declspec( dllexport )
54 # define GLSGEN_GLSMAPGRID_EXPORT __declspec( dllimport )
57 # define GLSGEN_GLSMAPGRID_EXPORT
61 #define LIB_BASE_NAME "gls_map_toolkit"
73 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
76 friend class GlsMapGridEditor;
81 GLSGEN_GLSMAPGRID_EXPORT
GlsMapGrid(
bool generateInstance =
false );
86 static GLSGEN_GLSMAPGRID_EXPORT
DisplayObject* CreateInstance();
100 virtual GLSGEN_GLSMAPGRID_EXPORT
void Draw(
void );
103 const Vector& logicalCoords,
105 const Vector& directionVector,
111 virtual GLSGEN_GLSMAPGRID_EXPORT
void SetValue(
int spec, va_list& args );
156 void SetDisplayUTM(
double gridScale,
int zoneNumber,
char latitudeBandLetter );
163 EGridReference _referenceSystem;
169 void DrawGeoLatLon();
170 void DrawGeoLatLonTransverseMercator();
172 void DrawUTM(
int zone,
int latZoneIndex );
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:436
Definition: dynamic_array.h:66
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:471
virtual void SetValue(int spec, va_list &args)
virtual void SetAvailableAttributes(unsigned int value)
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices)
The GlsMapView is a special group that controls the map view parameters. It contains all of the objec...
Definition: gls_map_view.h:86
Utility classes for GL Studio Map toolkit.
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
void SetDisplayGeoLatLon(double gridLevel)
virtual void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler)
The disti::DisplayObject class and global enumerations.
virtual DisplayObject * CloneObject(bool generateNames=false)
The standard Mouse and keyboard events and event structures.
void SetColor(const glsColor &value)
A customizable object that allows the user to display a map grid that can be configured to measure in...
Definition: gls_map_grid.h:70
virtual DisplayObject * handle(DisplayEvent *ev)
Definition: gls_color.h:53
GlsMapView * GetMapView()
Definition: gls_map_grid.h:119
GlsMapView * GetParentMapView(DisplayObject *obj)
Definition: gls_map_view.h:290
void SetDisplayUTM(double gridScale)
The disti::GlsMapView class.
virtual void CopyProperties(DisplayObject *src)
Definition: bmpimage.h:46
EGridReference GetGridReference() const
Definition: gls_map_grid.h:139
GlsMapGrid(bool generateInstance=false)