![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
The TSLTrackSymbol base class.
A TSLTrackSymbol defines the rendering for TSLTrack objects. A Track may contain multiple symbols, which are displayed at different view resolutions.
This class is reference counted internally to allow objects to be shared within the track manager SDK
A single TSLTrackSymbol may be used by multiple TSLTrack instances at a time. In this case the visualisation will be shared between the tracks, which will each hold a reference to the TSLTrackSymbol.
Public Types | |
enum | HeadingIndicatorStyle { HeadingIndicatorNone , HeadingIndicatorSimple , HeadingIndicatorFilled } |
Specifies the type of heading indicator to display. More... | |
enum | Type { PointSymbol , HistorySymbol } |
Specifies the type of a TSLTrackSymbol. More... | |
enum | SelectionBehaviour { SelectionBehaviourAdditional , SelectionBehaviourReplace } |
Public Member Functions | |
virtual TSLTrackSymbol * | clone () const =0 |
Create a clone of this symbol. | |
void | release () |
double | maximumResolution () const |
void | maximumResolution (double res) |
virtual TSLTrackSymbol::Type | type () const =0 |
Query the type of this symbol. | |
void | headingIndicatorLength (double length, TSLDimensionUnits unit) |
void | headingIndicatorVisible (bool visibility) |
double | headingIndicatorLength () const |
TSLDimensionUnits | headingIndicatorLengthUnit () const |
bool | headingIndicatorVisible () const |
Protected Member Functions | |
TSLTrackSymbol () | |
TSLTrackSymbol (const TSLTrackSymbol *other) | |
TSLTrackSymbol (const TSLTrackSymbol &other) | |
TSLTrackSymbol & | operator= (const TSLTrackSymbol &other) |
virtual | ~TSLTrackSymbol () |
void | operator delete (void *ptr) |
Specifies the type of heading indicator to display.
Specifies how the selection symbol of the TSLTrackSymbol should be displayed
The selection symbol will only be displayed if the track has been selected
enum TSLTrackSymbol::Type |
Specifies the type of a TSLTrackSymbol.
Enumerator | |
---|---|
PointSymbol | The symbol is a TSLTrackPointSymbol. |
HistorySymbol | The symbol is a TSLTrackHistorySymbol. |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
pure virtual |
Create a clone of this symbol.
Implemented in TSLTrackHistorySymbol, and TSLTrackPointSymbol.
double TSLTrackSymbol::headingIndicatorLength | ( | ) | const |
Query the symbol's heading indicator length.
void TSLTrackSymbol::headingIndicatorLength | ( | double | length, |
TSLDimensionUnits | unit ) |
Set the length of the heading indicator
length | Length of the heading indicator. |
unit | Unts of the heading indicator length. |
TSLDimensionUnits TSLTrackSymbol::headingIndicatorLengthUnit | ( | ) | const |
Query the symbol's heading indicator length unit.
bool TSLTrackSymbol::headingIndicatorVisible | ( | ) | const |
Query the symbol's heading indicators visibility.
void TSLTrackSymbol::headingIndicatorVisible | ( | bool | visibility | ) |
Set the visibility of the heading indicator
visibility | The visibility of this symbol's heading indicator |
double TSLTrackSymbol::maximumResolution | ( | ) | const |
Query the symbol's maximum display resolution, in Map Units per pixel.
void TSLTrackSymbol::maximumResolution | ( | double | res | ) |
Set the maximum display resolution this symbol will be drawn at, in map units per pixel.
res | The maximum resolution to display this symbol at. |
|
protected |
|
protected |
void TSLTrackSymbol::release | ( | ) |
Release ownership of this object
The object will be deleted once the application has called release and any references held by MapLink have been released
|
pure virtual |
Query the type of this symbol.
Implemented in TSLTrackHistorySymbol, and TSLTrackPointSymbol.