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

Detailed Description

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

 TSL3DCustomSatelliteHandler ()
 
virtual ~TSL3DCustomSatelliteHandler ()
 
virtual bool render (TSLSatellite *satellite, TSL3DRenderingInterface *renderingInterface, TSL3DCoord &position, bool visible, TSL3DDepthTest depthTest)=0
 
TSLCustomSatelliteHandlerEnum handleType ()
 
- Public Member Functions inherited from TSLCustomSatelliteHandler
 TSLCustomSatelliteHandler ()
 
virtual ~TSLCustomSatelliteHandler ()
 
virtual TSLCustomSatelliteHandlerclone () const
 
virtual bool tick (TSLSatellite *satellite, TSLTimeServer *s)=0
 

Constructor & Destructor Documentation

◆ TSL3DCustomSatelliteHandler()

TSL3DCustomSatelliteHandler::TSL3DCustomSatelliteHandler ( )

Default constructor.

◆ ~TSL3DCustomSatelliteHandler()

virtual TSL3DCustomSatelliteHandler::~TSL3DCustomSatelliteHandler ( )
virtual

Destructor.

Member Function Documentation

◆ handleType()

TSLCustomSatelliteHandlerEnum TSL3DCustomSatelliteHandler::handleType ( )
virtual

Return the custom handle type.

Implements TSLCustomSatelliteHandler.

◆ render()

virtual bool TSL3DCustomSatelliteHandler::render ( TSLSatellite * satellite,
TSL3DRenderingInterface * renderingInterface,
TSL3DCoord & position,
bool visible,
TSL3DDepthTest depthTest )
pure virtual

Custom rendering method.

NOTE : This method is used for both rendering and picking. Use the rendering Interface->getRenderingMode method to determine the reason for this method being called.

Parameters
satellitethe satellite to render
renderingInterfacethe rendering interface
positioncurrent position of satellite
visibletrue if the satellite would be visible or if the depthtest is none, false if beyond horizon
depthTestdepth test applied to this object
Note
position should be used as this represents the 'current' position of the satellite at this point in time.