QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
Viewer3DMapProvider Class Referenceabstract

#include <Viewer3DMapProvider.h>

Inheritance diagram for Viewer3DMapProvider:
Collaboration diagram for Viewer3DMapProvider:

Signals

void gpsRefChanged (QGeoCoordinate newGpsRef, bool isRefSet)
void mapChanged ()

Public Member Functions

 Viewer3DMapProvider (QObject *parent=nullptr)
virtual bool mapLoaded () const =0
virtual QGeoCoordinate gpsRef () const =0
virtual std::pair< QGeoCoordinate, QGeoCoordinate > mapBoundingBox () const =0

Detailed Description

Definition at line 9 of file Viewer3DMapProvider.h.

Constructor & Destructor Documentation

◆ Viewer3DMapProvider()

Viewer3DMapProvider::Viewer3DMapProvider ( QObject * parent = nullptr)
inlineexplicit

Definition at line 18 of file Viewer3DMapProvider.h.

Referenced by OsmParser::OsmParser().

Member Function Documentation

◆ gpsRef()

virtual QGeoCoordinate Viewer3DMapProvider::gpsRef ( ) const
pure virtual

Implemented in OsmParser.

◆ gpsRefChanged

void Viewer3DMapProvider::gpsRefChanged ( QGeoCoordinate newGpsRef,
bool isRefSet )
signal

◆ mapBoundingBox()

virtual std::pair< QGeoCoordinate, QGeoCoordinate > Viewer3DMapProvider::mapBoundingBox ( ) const
pure virtual

Returns the {southwest, northeast} corners of the loaded map region. Implementations must return ordered bounds (min lat/lon <= max lat/lon); regions crossing the antimeridian (±180° longitude) are not supported.

Implemented in OsmParser.

◆ mapChanged

◆ mapLoaded()

virtual bool Viewer3DMapProvider::mapLoaded ( ) const
pure virtual

Implemented in OsmParser.


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