|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
28 #ifndef DW_POINTCLOUDPROCESSING_DEPTHMAPCREATOR_DEPTHMAPCREATOR_H_
29 #define DW_POINTCLOUDPROCESSING_DEPTHMAPCREATOR_DEPTHMAPCREATOR_H_
33 #include <dw/pointcloudprocessing/pointcloud/PointCloud.h>
34 #include <dw/sensors/lidar/Lidar.h>
272 #endif // DW_POINTCLOUDPROCESSING_DEPTHMAPCREATOR_DEPTHMAPCREATOR_H_
Defines point cloud depth map creator parameters.
DW_API_PUBLIC dwStatus dwDepthMapCreator_reset(dwDepthMapCreatorHandle_t depthMapCreatorHandle)
Reset depth map creator.
DW_API_PUBLIC dwStatus dwDepthMapCreator_bindOutputPointCloud(dwPointCloud *const pointCloud, dwDepthMapCreatorHandle_t depthMapCreatorHandle)
Binds output point cloud (alternative output buffer)
const struct dwDepthMapCreatorObject * dwConstDepthMapCreatorHandle_t
Defines point cloud data structure.
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const const dwContextHandle_t ctx
DW_API_PUBLIC dwStatus dwDepthMapCreator_release(dwDepthMapCreatorHandle_t depthMapCreatorHandle)
Release depth map creator.
DW_API_PUBLIC dwStatus dwDepthMapCreator_setCUDAStream(cudaStream_t stream, dwDepthMapCreatorHandle_t depthMapCreatorHandle)
Set CUDA stream of depth map creator.
DW_API_PUBLIC dwStatus dwDepthMapCreator_getDefaultParams(dwDepthMapCreatorParams *const params, dwLidarProperties const *const lidarProps)
Get default depth map creator parameters.
Defines depth map common properties.
float32_t const * horizontalAnglesRad
List of depth map horizontal angles, size matches width. Optional, can be NULL.
DW_API_PUBLIC dwStatus dwDepthMapCreator_getCUDAStream(cudaStream_t *stream, dwConstDepthMapCreatorHandle_t depthMapCreatorHandle)
Get CUDA stream of depth map creator.
@ DW_DEPTHMAPCREATOR_PROCESS_PASS_TYPE_SECOND_CPU_SYNC
This processing pass type includes only CPU synchronous pass This is a second processing step of the ...
DW_API_PUBLIC dwStatus dwDepthMapCreator_bindInput(dwPointCloud const *const pointCloud, dwDepthMapCreatorHandle_t depthMapCreatorHandle)
Binds input point cloud to depth map creator.
struct dwDepthMapCreatorObject * dwDepthMapCreatorHandle_t
dwVector2f distanceRange
Distance range to accept the point.
float float32_t
Specifies POD types.
@ DW_DEPTHMAP_CREATOR_PASS_PROCESS_GPU_ASYNC
struct dwDepthMapObject * dwDepthMapHandle_t
Handle representing the DepthMap interface.
@ DW_DEPTHMAPCREATOR_PROCESS_PASS_TYPE_FIRST_GPU_ASYNC
This processing pass type includes only GPU asynchronous pass This is a first processing step of the ...
@ DW_DEPTHMAP_CREATOR_PASS_PROCESS_CPU
Defines the properties of the lidar.
uint32_t maxInputPoints
Maximum number of points in input point cloud.
float32_t const * verticalAnglesRad
List of depth map vertical angles, size matches height. Optional, can be NULL.
struct dwContextObject * dwContextHandle_t
Context handle.
DW_API_PUBLIC dwStatus dwDepthMapCreator_bindOutputDepthMap(dwDepthMapHandle_t depthMapHandle, dwDepthMapCreatorHandle_t depthMapCreatorHandle)
Binds output depth map.
@ DW_DEPTHMAPCREATOR_PROCESS_PASS_TYPE_COMPLETE_SYNC
This processing pass type includes both GPU and CPU passes.
@ DW_DEPTHMAPCREATOR_PROCESS_PASS_TYPE_COUNT
The last possible type value which defines a valid range of types.
DW_API_PUBLIC dwStatus dwDepthMapCreator_initialize(dwDepthMapCreatorHandle_t *const depthMapCreatorHandle, dwDepthMapCreatorParams const *const params, dwContextHandle_t ctx)
Initialize the module.
dwStatus
Status definition.
dwDepthMapProperties depthMapProps
Common depth map properties.
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const params
dwVector2f verticalFOV
Vertical angle rage. Should be a part of [-pi/2, pi/2].
DW_API_PUBLIC dwStatus dwDepthMapCreator_process(dwDepthMapCreatorProcessPassType const passType, dwDepthMapCreatorHandle_t depthMapCreatorHandle)
Organize input point cloud to output depth map.
dwVector2f horizontalFOV
Horizontal angle range defined with two angles from [-pi,pi] interval in CCW order.
dwDepthMapCreatorProcessPassType
Defines depth map creation processing pass type.
Defines a two-element single-precision floating-point vector.