|
virtual const void | GetSymbolsInRegion (GlsMapSymbology *symbology, const GeoRect ®ion, IconIDList &icons, PathIDList &paths) |
|
virtual DisplayObject * | GetIconGeometry (IconID iconID, GlsMapSymbology *symbology) |
|
virtual void | GetIconLocation (IconID iconID, GeoCoord &location) |
|
virtual DisplayObject * | GetPathGeometry (PathID pathID, GlsMapSymbology *symbology) |
|
virtual long | GetPathPointCount (PathID pathID) |
|
virtual void | GetPathPointLocation (PathID pathID, long point, GeoCoord &locationOut) |
|
virtual void | SetupIconForRendering (GlsMapSymbology *, IconID iconID, DisplayObject *iconGeometry) |
|
virtual void | SetupPathForRendering (GlsMapSymbology *, PathID pathID, DisplayObject *iconGeometry) |
|
virtual void | PostDraw (disti::GlsMapView *view, disti::GlsMapSymbology *symbology) |
|
virtual bool | IconIsVisible (IconT *icon) |
|
virtual bool | PathIsVisible (PathT *path) |
|
virtual IconID | AddIcon (const GeoCoord &location, int geometryIndex) |
|
virtual IconT * | GetIcon (IconID iconID) |
|
virtual unsigned int | GetIconCount () |
|
virtual void | UpdateIcon (IconID iconID, GeoCoord &location) |
|
virtual void | UpdateIcon (IconID iconID, GeoCoord &location, int geometryIndex) |
|
virtual PathID | AddPath () |
|
virtual PathT * | GetPath (PathID pathID) |
|
virtual unsigned int | GetPathCount () |
|
virtual void | RemoveIcon (IconID iconID) |
|
virtual void | RemovePath (PathID pathID) |
|
virtual void | RemoveAllIcons () |
|
virtual void | RemoveAllPaths () |
|
| GlsMapSymbologyDataSource () |
|
virtual | ~GlsMapSymbologyDataSource () |
|
virtual void | SetupIconForRendering (disti::GlsMapSymbology *symbology, IconID iconID, disti::DisplayObject *iconGeometry)=0 |
|
virtual void | SetupPathForRendering (disti::GlsMapSymbology *symbology, PathID pathID, disti::DisplayObject *pathGeometry)=0 |
|
|
IconID | GetNextIconID () |
|
int | FindIconByID (IconID id) |
|
PathID | GetNextPathID () |
|
int | FindPathByID (PathID id) |
|
|
DynamicArray< IconT, false > | _iconArray |
|
DynamicArray< IconID > | _iconIDArray |
|
IconID | _nextIconID |
|
DynamicArray< PathT, false > | _pathArray |
|
DynamicArray< PathID > | _pathIDArray |
|
PathID | _nextPathID |
|
|
typedef long | IconID |
|
typedef long | PathID |
|
typedef DynamicArray< IconID > | IconIDList |
|
typedef DynamicArray< PathID > | PathIDList |
|
template<class IconT, class PathT>
Add an icon to the data source
- Parameters
-
location | The location of the new icon |
geometryIndex | The geometry index to use for drawing. (-1 indicates do not draw) |
- Returns
- the IconID for the new icon
template<class IconT, class PathT>
Add a path to the data source Call GetPath() with the returned PathID to access the new path and add/modify points in the path.
- See also
- GetPath
- Returns
- the PathID of the new path
template<class IconT, class PathT>
Access an icon in the data source
- Parameters
-
iconID | IconID of the desired icon |
- Returns
- Pointer to the given icon, or NULL if not found
template<class IconT, class PathT>
- Returns
- The number of icons in the data source
template<class IconT, class PathT>
Access a path in the data source
- Parameters
-
pathID | PathID of the desired path |
- Returns
- Pointer to the given path, or NULL if not found
template<class IconT, class PathT>
- Returns
- The number of paths in the data source
template<class IconT, class PathT>
Derived classes can override this method to disable drawing of certain icon types.
template<class IconT, class PathT>
Derived classes can override this method to disable drawing of certain path types.
template<class IconT, class PathT>
Updates the given icon if it exists
- Parameters
-
iconID | The identifier of the icon to update |
location | The new location of the icon |
template<class IconT, class PathT>
Updates the given icon if it exists
- Parameters
-
iconID | The identifier of the icon to update |
location | The new location of the icon |
geometryIndex | The geometry index to use for drawing. |
The documentation for this class was generated from the following file:
- gls_map_symbology_basic_data_source.h