![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
Custom rendering handler to allow developers to specify specific rendering behaviour.
The handler is attached to the satellite and then whenever a satellite is drawn the custom rendering is used.
Public Member Functions | |
TSL2DCustomSatelliteHandler () | |
virtual | ~TSL2DCustomSatelliteHandler () |
virtual bool | render (TSLSatellite *satellite, TSLRenderingInterface *renderingInterface, TSLCoord &position)=0 |
TSLCustomSatelliteHandlerEnum | handleType () |
virtual bool | pick (TSLSatellite *satellite, const TSLEnvelope &extent)=0 |
![]() | |
TSLCustomSatelliteHandler () | |
virtual | ~TSLCustomSatelliteHandler () |
virtual TSLCustomSatelliteHandler * | clone () const |
virtual bool | tick (TSLSatellite *satellite, TSLTimeServer *s)=0 |
TSL2DCustomSatelliteHandler::TSL2DCustomSatelliteHandler | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
virtual |
Return the custom handle type.
Implements TSLCustomSatelliteHandler.
|
pure virtual |
Override this method to enable 2D picking on a satellite with custom rendering. This is not required with 3D picking since the picking mechanism is different.
This method is triggered only if the standard rendering of the satellite does not already intersect the specified extent.
satellite | Satellite potentially being picked |
extent | The extent being checked. If the custom rendering overlaps this extent then this method should return true. |
Return true if any custom rendering overlaps the extent, false otherwise.
|
pure virtual |
Custom rendering method.
satellite | the satellite to render |
renderingInterface | the rendering interface |
position | current position of satellite |