Cesium for Unreal 2.13.2
Loading...
Searching...
No Matches
CesiumWebMapServiceRasterOverlay.h
Go to the documentation of this file.
1// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
3#pragma once
4
6#include "Components/ActorComponent.h"
7#include "CoreMinimal.h"
8#include "CesiumWebMapServiceRasterOverlay.generated.h"
9
10/**
11 * A raster overlay that directly accesses a Web Map Service (WMS) server.
12 * https://www.ogc.org/standards/wms
13 */
14UCLASS(ClassGroup = Cesium, meta = (BlueprintSpawnableComponent))
15class CESIUMRUNTIME_API UCesiumWebMapServiceRasterOverlay
16 : public UCesiumRasterOverlay {
17 GENERATED_BODY()
18
19public:
20 /**
21 * The base url of the Web Map Service (WMS).
22 * e.g.
23 * https://services.ga.gov.au/gis/services/NM_Culture_and_Infrastructure/MapServer/WMSServer
24 */
25 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
26 FString BaseUrl;
27
28 /**
29 * Comma-separated layer names to request from the server.
30 */
31 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
32 FString Layers;
33
34 /**
35 * Image width
36 */
37 UPROPERTY(
38 EditAnywhere,
39 BlueprintReadWrite,
40 Category = "Cesium",
41 meta = (ClampMin = 64, ClampMax = 2048))
42 int32 TileWidth = 256;
43
44 /**
45 * Image height
46 */
47 UPROPERTY(
48 EditAnywhere,
49 BlueprintReadWrite,
50 Category = "Cesium",
51 meta = (ClampMin = 64, ClampMax = 2048))
52 int32 TileHeight = 256;
53
54 /**
55 * Minimum zoom level.
56 *
57 * Take care when specifying this that the number of tiles at the minimum
58 * level is small, such as four or less. A larger number is likely to
59 * result in rendering problems.
60 */
61 UPROPERTY(
62 EditAnywhere,
63 BlueprintReadWrite,
64 Category = "Cesium",
65 meta = (ClampMin = 0))
66 int32 MinimumLevel = 0;
67
68 /**
69 * Maximum zoom level.
70 */
71 UPROPERTY(
72 EditAnywhere,
73 BlueprintReadWrite,
74 Category = "Cesium",
75 meta = (ClampMin = 0))
76 int32 MaximumLevel = 14;
77
78 /**
79 * HTTP headers to be attached to each request made for this raster overlay.
80 */
81 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
82 TMap<FString, FString> RequestHeaders;
83
84protected:
85 virtual std::unique_ptr<CesiumRasterOverlays::RasterOverlay> CreateOverlay(
86 const CesiumRasterOverlays::RasterOverlayOptions& options = {}) override;
87};
A quadtree pyramid of 2D raster images meant to be draped over a Cesium 3D Tileset.
A raster overlay that directly accesses a Web Map Service (WMS) server.
STL namespace.