2#include <NDEVR/Model.h>
3#if NDEVR_GROUND_SURFACE
10 struct AerialImageRequest;
12 class DesignSelection;
20 GroundSurface(
const Model& model,
const void* lock_ptr =
nullptr);
21 void setupSurface(
const Bounds<2, fltp08>& size, fltp08 elevation);
25 void createFlatGeometry();
26 static constexpr const char* TypeName() {
return "ground_surface"; }
27 void setupMaterial(AerialImageMode mode, uint04 resolution,
const void* lock_ptr, ProgressInfo* progress);
28 void setupMaterialCoordinates();
29 void setupPositionCoordinates(fltp08 grid_spacing,
const void* lock_ptr, ProgressInfo* progress);
30 void createLinework(AerialImageMode mode, uint04 resolution,
bool apply_elevation,
bool auto_surface,
const void* lock_ptr, ProgressInfo* progress);
31 bool canCreateLinework()
const;
32 uint04 surfaceMaterialResolution()
const;
33 uint04 lineworkResolution()
const;
34 Model surfaceModel()
const;
35 Model lineworkModel()
const;
38 bool appliedLineworkElevation()
const;
39 bool hasSurfacedLinework()
const;
40 Bounds<2, fltp08> wgs84Bounds()
const;
41 AerialImageRequest createImageRequest(AerialImageMode mode, uint04 resolution);
42 static Model FeatureLayer(ArialFeatureList feature, Model& reference);
43 fltp08 gridSpacing()
const;
45 void setupElevationCoordinates(Vertex<2, uint04> grid_size,
const void* lock_ptr, ProgressInfo* progress);
46 void onLineworkImageFinished(
const MercatorImage& generated_image,
bool auto_surface,
bool apply_elevation, ProgressInfo* progress, uint04 resolution, AerialImageMode mode,
const void* lock_ptr);
47 void initialize(
const void* lock_ptr);
AerialImageMode
enum specifying what type of image to fetch. Options for terrain, satellite, or road views
Definition MercatorImageManager.h:16
ArialFeatureList
Contains a list of common features that may be provided by Aerial tile services.
Definition MercatorImageManager.h:28
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149