API Documentation
Loading...
Searching...
No Matches
ElevationService.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/SoftwareService.h>
4#include <NDEVR/UUID.h>
5#include <NDEVR/Polyline.h>
6#include <functional>
7namespace NDEVR
8{
9 class ProgressInfo;
10 /**--------------------------------------------------------------------------------------------------
11 \brief Used with ElevationService to request elevations over a polyline at set intervals
12 **/
18 /**--------------------------------------------------------------------------------------------------
19 \brief Stores options and recieves data for determining the elevation at given coordinates
20 **/
32
33 /**--------------------------------------------------------------------------------------------------
34 \brief For a given coordinate, determines the elevation at that coordinate.
35 **/
37 {
38 public:
39 virtual void postRequest(const ElevationRequest& request) = 0;
41 static void SetPrimaryService(ElevationService* elevation_service);
44 protected:
46
47 };
48}
#define NDEVR_DESIGN_API
Definition DLLInfo.h:55
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
For a given coordinate, determines the elevation at that coordinate.
Definition ElevationService.h:37
static ElevationService * PrimaryService()
static void SetPrimaryService(ElevationService *elevation_service)
static ElevationRequest ConvertToLatLon(const ElevationRequest &request)
virtual void postRequest(const ElevationRequest &request)=0
static Buffer< LineElevationRequest > SplitRequestsIfNeeded(const Buffer< LineElevationRequest > &requests, uint04 max_samples)
static ElevationService * s_primary_service
Definition ElevationService.h:45
A polyline which stores vertex information for many points along a given path.
Definition CoordinateProjectionManager.h:44
A light-weight base class for Log that allows processes to update, without the need for additional in...
Definition ProgressInfo.hpp:48
Software Services provide an interface for adding to or changing the software behavior via functional...
Definition SoftwareService.h:9
Software Service Managers take a Software service to modify the behavior of the software.
Definition SoftwareService.h:15
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60
Definition ACIColor.h:37
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
Stores options and recieves data for determining the elevation at given coordinates.
Definition ElevationService.h:22
UUID request_id
Definition ElevationService.h:24
UUID coordinate_plane_id
Definition ElevationService.h:25
Buffer< Vertex< 2, fltp08 > > elevation_locations
Definition ElevationService.h:26
Buffer< LineElevationRequest > elevation_polylines
Definition ElevationService.h:27
std::function< void(const ElevationRequest &request)> finished_callback
Definition ElevationService.h:30
Buffer< fltp08 > elevations
Definition ElevationService.h:28
Used with ElevationService to request elevations over a polyline at set intervals.
Definition ElevationService.h:14
Polyline< 2, fltp08 > polyline
Definition ElevationService.h:15
uint04 sample_count
Definition ElevationService.h:16