NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
IDataSourceRadar Class Referenceabstract

Interface to the radar data specified by rays. More...

#include <data_sources_manager_interface.h>

Inheritance diagram for IDataSourceRadar:
IDataSourceBase

Public Member Functions

virtual SDKResult SetRadarImageParameters (SDKUInt32 total_rays_count, SDKUInt32 pixels_per_ray, double range_nm, const ISDKParametersSP &other_parameters) noexcept=0
 Set radar image parameters.

 
virtual SDKResult UpdateRadarImageData (double center_lon, double center_lat, double angle_deg, SDKUInt32 first_ray_index, SDKUInt32 rays_count, const SDKUInt8 *rays_data, SDKUInt32 ray_data_size) noexcept=0
 Updates radar position, orientation and rays data.
 
virtual SDKResult SetRadarOwnShipNav (double cog_deg, double sog_kn, double hdg_deg, double stw_kn) noexcept=0
 Sets the ownship navigation used by the sea-stabilized true trails to compute the tidal set/drift vector (COG/SOG - HDG/STW). The values are NOT part of the radar image parameters: they do not trigger a symbol rebuild and are simply cached for the graphic element to read on every radar data update. COG/HDG are in degrees, SOG/STW are in knots. A negative speed means "unknown" and makes the sea-stab degrade to the ground-stab for that scan (the trail origin O0 is not advanced). Call this together with UpdateRadarImageData() whenever the ownship nav changes (the radar host already feeds the ownship position there). No-op for the ground-stabilized mode and for the relative/off modes.
 
virtual SDKResult SDK_CALLTYPE SetRadarImageProperty (const SDKPropertyID &id, const SDKAny &value) noexcept=0
 Sets image property value.
 
virtual SDKResult SDK_CALLTYPE GetRadarImageProperty (const SDKPropertyID &id, SDKAny &value) const noexcept=0
 Retrieves image property value.
 
- Public Member Functions inherited from IDataSourceBase
virtual SDKResult SDK_CALLTYPE GetName (SDKString &name) const =0 throw ()
 Returns data source name.
 
virtual SDKResult SDK_CALLTYPE GetParameters (ISDKParametersSP &parameters) const =0 throw ()
 Returns data source parameters.
 

Detailed Description

Interface to the radar data specified by rays.


The documentation for this class was generated from the following file: