31 #ifndef DW_MAPS_CONTENTLAYERS_H_ 32 #define DW_MAPS_CONTENTLAYERS_H_ 67 #define DW_MAPS_CONTENT_LAYER_ID_MAX_LENGTH 256 180 size_t maxSegmentsPerLayout,
206 dwMapsContentSliceHandle_t contentSliceHandle);
222 dwMapsContentSliceHandle_t contentSliceHandle);
242 size_t junctionViewBytes,
244 dwMapsContentSliceHandle_t contentSliceHandle);
266 uint32_t componentId,
267 dwMapsContentSliceHandle_t contentSliceHandle);
281 dwMapsContentSliceHandle_t contentSliceHandle);
301 #endif // DW_MAPS_CONTENTLAYERS_H_ DW_API_PUBLIC dwStatus dwMapsContentLayer_getType(dwMapsContentLayerType *contentLayerType, dwConstMapsContentLayerHandle_t contentLayerHandle)
Get the type of the content layer.
Defined by layers/ImageLayer.h.
DW_API_PUBLIC dwStatus dwMapsContentSlice_initializePointCloudLayerView(dwConstMapsPointCloudLayerViewHandle_t *pointCloudLayerViewHandle, dwConstMapsContentLayerHandle_t pointCloudLayer, dwMapsContentSliceHandle_t contentSliceHandle)
Get local view of a point cloud layer in the content slice.
struct dwMapsImageLayerViewObject const * dwConstMapsImageLayerViewHandle_t
DW_API_PUBLIC dwStatus dwMapsContentLayer_getId(dwMapsContentLayerId *id, dwConstMapsContentLayerHandle_t contentLayerHandle)
Get the human-readable identifier for the layer.
struct dwMapsContentLayerObject const * dwConstMapsContentLayerHandle_t
Forward declaration of content layer handle.
DW_API_PUBLIC dwStatus dwMapsContentSlice_updateAsync(dwMapsContentUpdateToken *updateToken, dwConstMapsLocalLayoutHandle_t localLayoutHandle, uint32_t componentId, dwMapsContentSliceHandle_t contentSliceHandle)
Updates sliced content layers with the specified local layout and component ID.
DW_API_PUBLIC dwStatus dwMapsContentSlice_initializeImageLayerView(dwConstMapsImageLayerViewHandle_t *imageLayerViewHandle, dwConstMapsContentLayerHandle_t imageLayerHandle, dwMapsContentSliceHandle_t contentSliceHandle)
Get local view of an image layer in the content slice.
struct dwMapsContentSliceObject * dwMapsContentSliceHandle_t
DW_API_PUBLIC dwStatus dwMapsContentSlice_release(dwMapsContentSliceHandle_t contentSliceHandle)
Release content slice handle.
Defined by layers/PointCloudLayer.h.
char dwMapsContentLayerId[DW_MAPS_CONTENT_LAYER_ID_MAX_LENGTH]
Human-readable identifier for a content layer.
uint64_t dwMapsContentUpdateToken
Token for completion of a content slice update.
dwStatus
Status definition.
struct dwMapsJunctionLayerViewObject * dwMapsJunctionLayerViewHandle_t
dwMapsContentLayerType
Types of content layers which may be available in a map.
DW_API_PUBLIC dwStatus dwMapsContentSlice_tryCompleteUpdate(dwMapsContentUpdateToken updateToken, dwMapsContentSliceHandle_t contentSliceHandle)
Attempts to complete an asynchronous sliced content update with the provided token.
Defined by layers/JunctionLayer.h.
#define DW_MAPS_CONTENT_LAYER_ID_MAX_LENGTH
Maximum length of a content layer name including NULL terminator.
struct dwMapProviderObject * dwMapProviderHandle_t
struct dwMapsContentSliceObject const * dwConstMapsContentSliceHandle_t
Caller-provided buffer for content layers.
struct dwMapsLocalLayoutObject const * dwConstMapsLocalLayoutHandle_t
struct dwMapsPointCloudLayerViewObject const * dwConstMapsPointCloudLayerViewHandle_t
DW_API_PUBLIC dwStatus dwMapsContentSlice_initializeJunctionLayerView(dwMapsJunctionLayerViewHandle_t *junctionLayerViewHandle, size_t junctionViewBytes, dwConstMapsContentLayerHandle_t junctionLayerHandle, dwMapsContentSliceHandle_t contentSliceHandle)
Create a local view of a junction layer in the content slice.
Content layer has unknown type.
DW_API_PUBLIC dwStatus dwMapsContentSlice_initialize(dwMapsContentSliceHandle_t *contentSliceHandle, const dwMapsContentLayerBuffer *layers, size_t maxSegmentsPerLayout, dwMapProviderHandle_t providerHandle)
Creates a new content slice, which efficiently loads and serves layered content transformed into a ca...