Class ElevationSource

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class ElevationSource : public navtk::geospatial::SpatialMapDataSource

This class is the interface for all sources of elevation data.

Derive from this class if you’re writing a class that reads or calculates elevation data. Each instance of this class should correspond to either a single path or no path (e.g. constant undulation model).

Subclassed by navtk::geospatial::GdalSource

Public Functions

virtual AspnMeasurementAltitudeReference get_output_vertical_reference_frame() const

Get the output vertical reference frame.

Returns

The current output frame set by the user.

virtual void set_output_vertical_reference_frame(AspnMeasurementAltitudeReference new_ref) = 0

Set the output vertical reference frame.

All values returned by lookup_datum will be with respect to this frame.

Parameters

new_ref – the new output vertical reference frame

Protected Attributes

AspnMeasurementAltitudeReference input_reference

Vertical reference frame of the input dataset.

AspnMeasurementAltitudeReference output_reference

Vertical reference frame of all outputted elevations.