MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLPickResultTrackGraphic Class Reference
Inheritance diagram for TSLPickResultTrackGraphic:

Detailed Description

This class represents a single result from a pick method call on a Drawing Surface.

It may not be created or destroyed by the user.

The results may be invalided by the next draw call to the Drawing Surface.

Public Member Functions

TSLTrackGraphicgetGraphic () const
 
TSLTrack::TrackID getGraphicID () const
 
- Public Member Functions inherited from TSLPickResult
TSLPickResultEnum queryType () const
 
const char * getDataLayer () const
 

Static Public Member Functions

static const TSLPickResultTrackGraphicisType (const TSLPickResult *result)
 

Member Function Documentation

◆ getGraphic()

TSLTrackGraphic * TSLPickResultTrackGraphic::getGraphic ( ) const

Gets the track graphic that was picked.

Returns
track graphic that has been picked.

◆ getGraphicID()

TSLTrack::TrackID TSLPickResultTrackGraphic::getGraphicID ( ) const

Gets the Graphic ID of the track that was picked.

Returns
Graphic ID of the track that has been picked.

◆ isType()

static const TSLPickResultTrackGraphic * TSLPickResultTrackGraphic::isType ( const TSLPickResult * result)
static

Checks to see if the pick result is of this type and if so, returns a pointer to the object of the correct type.

Parameters
resultResult to query type of.
Returns
A pointer to the result of the correct type or NULL if the result is not of this type.