DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

ContentLayers.h File Reference

Go to the source code of this file.

Macros

#define DW_MAPS_CONTENT_LAYER_ID_MAX_LENGTH   256
 Maximum length of a content layer name including NULL terminator. More...
 

Typedefs

typedef struct dwMapsContentSliceObject const * dwConstMapsContentSliceHandle_t
 
typedef struct dwMapsImageLayerViewObject const * dwConstMapsImageLayerViewHandle_t
 
typedef struct dwMapsLaneChannelLayerViewObject const * dwConstMapsLaneChannelLayerViewHandle_t
 
typedef struct dwMapsLaneDividerLayerViewObject const * dwConstMapsLaneDividerLayerViewHandle_t
 
typedef struct dwMapsPointCloudLayerViewObject const * dwConstMapsPointCloudLayerViewHandle_t
 
typedef struct dwMapsPoleLayerViewObject const * dwConstMapsPoleLayerViewHandle_t
 
typedef struct dwMapsRoadMarkingLayerViewObject const * dwConstMapsRoadMarkingLayerViewHandle_t
 
typedef char dwMapsContentLayerId[DW_MAPS_CONTENT_LAYER_ID_MAX_LENGTH]
 Human-readable identifier for a content layer. More...
 
typedef struct dwMapsContentSliceObject * dwMapsContentSliceHandle_t
 
typedef uint64_t dwMapsContentUpdateToken
 Token for completion of a content slice update. More...
 
typedef struct dwMapsJunctionLayerViewObject * dwMapsJunctionLayerViewHandle_t
 

Enumerations

enum  dwMapsContentLayerType {
  DW_MAPS_CONTENT_LAYER_TYPE_UNKNOWN = 0,
  DW_MAPS_CONTENT_LAYER_TYPE_IMAGES = 1,
  DW_MAPS_CONTENT_LAYER_TYPE_POINT_CLOUD = 2
}
 Types of content layers which may be available in a map. More...
 

Functions

DW_API_PUBLIC dwStatus dwMapsContentLayer_getId (dwMapsContentLayerId *id, dwConstMapsContentLayerHandle_t contentLayerHandle)
 Get the human-readable identifier for the layer. More...
 
DW_API_PUBLIC dwStatus dwMapsContentLayer_getType (dwMapsContentLayerType *contentLayerType, dwConstMapsContentLayerHandle_t contentLayerHandle)
 Get the type of the content layer. More...
 
DW_API_PUBLIC dwStatus dwMapsContentSlice_initialize (dwMapsContentSliceHandle_t *contentSliceHandle, size_t memoryInBytes, size_t maxSegmentsPerLayout, dwMapProviderHandle_t providerHandle)
 Creates a new content slice, which efficiently loads and serves layered content transformed into a caller-defined local coordinate system. More...
 
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. More...
 
DW_API_PUBLIC dwStatus dwMapsContentSlice_initializeJunctionLayerView (dwMapsJunctionLayerViewHandle_t *junctionLayerViewHandle, dwConstMapsContentLayerHandle_t junctionLayerHandle, dwMapsContentSliceHandle_t contentSliceHandle)
 Create a local view of a junction layer in the content slice. More...
 
DW_API_PUBLIC dwStatus dwMapsContentSlice_initializeLaneChannelLayerView (dwConstMapsLaneChannelLayerViewHandle_t *laneChannelLayerViewHandle, dwConstMapsContentLayerHandle_t laneChannelLayerHandle, dwMapsContentSliceHandle_t contentSliceHandle)
 Create a local view of the lane channel layer in the content slice. More...
 
DW_API_PUBLIC dwStatus dwMapsContentSlice_initializeLaneDividerLayerView (dwConstMapsLaneDividerLayerViewHandle_t *laneDividerLayerViewHandle, dwConstMapsContentLayerHandle_t laneDividerLayerHandle, dwMapsContentSliceHandle_t contentSliceHandle)
 Create a local view of the lane divider layer in the content slice. More...
 
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. More...
 
DW_API_PUBLIC dwStatus dwMapsContentSlice_initializePoleLayerView (dwConstMapsPoleLayerViewHandle_t *poleLayerViewHandle, dwConstMapsContentLayerHandle_t poleLayerHandle, dwMapsContentSliceHandle_t contentSliceHandle)
 Create a local view of the pole layer in the content slice. More...
 
DW_API_PUBLIC dwStatus dwMapsContentSlice_initializeRoadMarkingLayerView (dwConstMapsRoadMarkingLayerViewHandle_t *roadMarkingLayerViewHandle, dwConstMapsContentLayerHandle_t roadMarkingLayerHandle, dwMapsContentSliceHandle_t contentSliceHandle)
 Create a local view of the road marking layer in the content slice. More...
 
DW_API_PUBLIC dwStatus dwMapsContentSlice_release (dwMapsContentSliceHandle_t contentSliceHandle)
 Release content slice handle. More...
 
DW_API_PUBLIC dwStatus dwMapsContentSlice_tryCompleteUpdate (dwMapsContentUpdateToken updateToken, dwMapsContentSliceHandle_t contentSliceHandle)
 Attempts to complete an asynchronous sliced content update with the provided token. More...
 
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. More...