DriveWorks SDK Reference
5.14.77 Release
For Test and Development only

PointCloudRangeImageCreator.h
Go to the documentation of this file.
1
2//
3// Notice
4// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
5// NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
6// THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
7// MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
8//
9// NVIDIA CORPORATION & AFFILIATES assumes no responsibility for the consequences of use of such
10// information or for any infringement of patents or other rights of third parties that may
11// result from its use. No license is granted by implication or otherwise under any patent
12// or patent rights of NVIDIA CORPORATION & AFFILIATES. No third party distribution is allowed unless
13// expressly authorized by NVIDIA. Details are subject to change without notice.
14// This code supersedes and replaces all information previously supplied.
15// NVIDIA CORPORATION & AFFILIATES products are not authorized for use as critical
16// components in life support devices or systems without express written approval of
17// NVIDIA CORPORATION & AFFILIATES.
18//
19// SPDX-FileCopyrightText: Copyright (c) 2018-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
20// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
21//
22// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
23// property and proprietary rights in and to this material, related
24// documentation and any modifications thereto. Any use, reproduction,
25// disclosure or distribution of this material and related documentation
26// without an express license agreement from NVIDIA CORPORATION or
27// its affiliates is strictly prohibited.
28//
30
47#ifndef DW_POINTCLOUDPROCESSING_POINTCLOUDRANGEIMAGECREATOR_H_
48#define DW_POINTCLOUDPROCESSING_POINTCLOUDRANGEIMAGECREATOR_H_
49
50#include <dw/core/base/Types.h>
53#include <dw/image/Image.h>
54
55#ifdef __cplusplus
56extern "C" {
57#endif
58
59typedef struct dwPointCloudRangeImageCreatorObject* dwPointCloudRangeImageCreatorHandle_t;
60typedef const struct dwPointCloudRangeImageCreatorObject* dwConstPointCloudRangeImageCreatorHandle_t;
61
63typedef enum {
68
72typedef struct
73{
76
81
84
88typedef struct
89{
91 uint32_t maxInputPoints;
92 uint32_t width;
93 uint32_t height;
98
112 dwPointCloudRangeImageCreatorParams const* const params,
113 dwContextHandle_t const ctx);
114
125
136
147
161
174
188
233
246
248// DEPRECATED API FUNCTIONS
249
262DW_DEPRECATED("dwPointCloudRangeImageCreator_initialize() is renamed / deprecated and will be removed in the next major release,"
263 " use dwPCRangeImageCreator_initialize() instead")
264// coverity[misra_c_2012_rule_5_1_violation] Deprecated API
266 dwPointCloudRangeImageCreatorParams const* const params,
267 dwContextHandle_t const ctx);
268
278DW_DEPRECATED("dwPointCloudRangeImageCreator_reset() is renamed / deprecated and will be removed in the next major release,"
279 " use dwPCRangeImageCreator_reset() instead")
280// coverity[misra_c_2012_rule_5_1_violation] Deprecated API
282
292DW_DEPRECATED("dwPointCloudRangeImageCreator_release() is renamed / deprecated and will be removed in the next major release,"
293 " use dwPCRangeImageCreator_release() instead")
294// coverity[misra_c_2012_rule_5_1_violation] Deprecated API
296
306DW_DEPRECATED("dwPointCloudRangeImageCreator_getDefaultParams() is renamed / deprecated and will be removed in the next major release,"
308// coverity[misra_c_2012_rule_5_1_violation] Deprecated API
310
322DW_DEPRECATED("dwPointCloudRangeImageCreator_getCUDAStream() is renamed / deprecated and will be removed in the next major release,"
324// coverity[misra_c_2012_rule_5_1_violation] Deprecated API
327
338DW_DEPRECATED("dwPointCloudRangeImageCreator_setCUDAStream() is renamed / deprecated and will be removed in the next major release,"
340// coverity[misra_c_2012_rule_5_1_violation] Deprecated API
343
355DW_DEPRECATED("dwPointCloudRangeImageCreator_getImageProperties() is renamed / deprecated and will be removed in the next major release,"
357// coverity[misra_c_2012_rule_5_1_violation] Deprecated API
360
372DW_DEPRECATED("dwPointCloudRangeImageCreator_bindInput() is renamed / deprecated and will be removed in the next major release,"
373 " use dwPCRangeImageCreator_bindInput() instead")
374// coverity[misra_c_2012_rule_5_1_violation] Deprecated API
389DW_DEPRECATED("dwPointCloudRangeImageCreator_bindOutput() is renamed / deprecated and will be removed in the next major release,"
390 " use dwPCRangeImageCreator_bindOutput() instead")
391// coverity[misra_c_2012_rule_5_1_violation] Deprecated API
409DW_DEPRECATED("dwPointCloudRangeImageCreator_bindOutputPointCloud() is renamed / deprecated and will be removed in the next major release,"
411// coverity[misra_c_2012_rule_5_1_violation] Deprecated API
414
426DW_DEPRECATED("dwPointCloudRangeImageCreator_process() is renamed / deprecated and will be removed in the next major release,"
427 " use dwPCRangeImageCreator_process() instead")
428// coverity[misra_c_2012_rule_5_1_violation] Deprecated API
430
431#ifdef __cplusplus
432}
433#endif
435#endif // DW_POINTCLOUDPROCESSING_POINTCLOUDRANGEIMAGECREATOR_H_
NVIDIA DriveWorks API: Core Methods
dwStatus
Status definition.
Definition: ErrorDefs.h:45
Data structure representing an oriented bounding box in the local object coordinate frame The box is ...
NVIDIA DriveWorks API: Point Cloud Processing
NVIDIA DriveWorks API: Core Types
float float32_t
Specifies POD types.
Definition: BasicTypes.h:59
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:86
#define DW_DEPRECATED(msg)
Definition: Exports.h:66
#define DW_API_PUBLIC
Definition: Exports.h:54
dwMemoryType
Memory type definitions.
Definition: TypesExtra.h:146
struct dwImageObject * dwImageHandle_t
Definition: Image.h:110
Defines the properties of the image.
Definition: Image.h:485
Defines point cloud data structure.
Definition: PointCloud.h:99
dwMemoryType memoryType
Memory type, CUDA or CPU.
float32_t minElevationRadians
Mimimum pitch angle.
dwTransformation3f transformation
Transformation applied to input points, if 0, identity will be used.
dwPointCloudRangeImageType type
Range image type.
dwOrientedBoundingBox3f orientedBoundingBox
Bounding box identifying clipping planes.
uint32_t maxInputPoints
Maximum number of point in input point cloud.
float32_t maxElevationRadians
Maximum pitch angle.
dwPointCloudRangeImageClippingParams clippingParams
Clipping parameters.
DW_API_PUBLIC dwStatus dwPCRangeImageCreator_release(dwPointCloudRangeImageCreatorHandle_t const obj)
Releases range image creator.
DW_API_PUBLIC dwStatus dwPCRangeImageCreator_getDefaultParams(dwPointCloudRangeImageCreatorParams *const params)
Gets default range image creator parameters.
DW_API_PUBLIC dwStatus dwPointCloudRangeImageCreator_bindOutput(dwImageHandle_t const image, dwPointCloudRangeImageCreatorHandle_t const obj)
Binds output range image to range image creator.
DW_API_PUBLIC dwStatus dwPCRangeImageCreator_getImageProperties(dwImageProperties *const imageProperties, dwConstPointCloudRangeImageCreatorHandle_t const obj)
Get properties of an image to bind as an output.
const struct dwPointCloudRangeImageCreatorObject * dwConstPointCloudRangeImageCreatorHandle_t
DW_API_PUBLIC dwStatus dwPointCloudRangeImageCreator_process(dwPointCloudRangeImageCreatorHandle_t const obj)
Organizes input point cloud and projects on the spherical coordinate to form a range image.
DW_API_PUBLIC dwStatus dwPCRangeImageCreator_bindInput(dwPointCloud const *const pointCloud, dwPointCloudRangeImageCreatorHandle_t const obj)
Binds input point cloud to range image creator.
DW_API_PUBLIC dwStatus dwPCRangeImageCreator_getCUDAStream(cudaStream_t *const stream, dwConstPointCloudRangeImageCreatorHandle_t const obj)
Gets CUDA stream of range image creator.
DW_API_PUBLIC dwStatus dwPointCloudRangeImageCreator_reset(dwPointCloudRangeImageCreatorHandle_t const obj)
Resets range image creator.
DW_API_PUBLIC dwStatus dwPointCloudRangeImageCreator_bindInput(dwPointCloud const *const pointCloud, dwPointCloudRangeImageCreatorHandle_t const obj)
Binds input point cloud to range image creator.
DW_API_PUBLIC dwStatus dwPointCloudRangeImageCreator_getCUDAStream(cudaStream_t *const stream, dwConstPointCloudRangeImageCreatorHandle_t const obj)
Gets CUDA stream of range image creator.
DW_API_PUBLIC dwStatus dwPointCloudRangeImageCreator_release(dwPointCloudRangeImageCreatorHandle_t const obj)
Releases range image creator.
struct dwPointCloudRangeImageCreatorObject * dwPointCloudRangeImageCreatorHandle_t
DW_API_PUBLIC dwStatus dwPCRangeImageCreator_bindOutput(dwImageHandle_t const image, dwPointCloudRangeImageCreatorHandle_t const obj)
Binds output range image to range image creator.
DW_API_PUBLIC dwStatus dwPCRangeImageCreator_setCUDAStream(cudaStream_t const stream, dwPointCloudRangeImageCreatorHandle_t const obj)
Sets CUDA stream of range image creator.
DW_API_PUBLIC dwStatus dwPointCloudRangeImageCreator_getDefaultParams(dwPointCloudRangeImageCreatorParams *const params)
Gets default range image creator parameters.
DW_API_PUBLIC dwStatus dwPointCloudRangeImageCreator_setCUDAStream(cudaStream_t const stream, dwPointCloudRangeImageCreatorHandle_t const obj)
Sets CUDA stream of range image creator.
DW_API_PUBLIC dwStatus dwPointCloudRangeImageCreator_getImageProperties(dwImageProperties *const imageProperties, dwConstPointCloudRangeImageCreatorHandle_t const obj)
Get properties of an image to bind as an output.
DW_API_PUBLIC dwStatus dwPointCloudRangeImageCreator_bindOutputPointCloud(dwPointCloud *const pointCloud, dwPointCloudRangeImageCreatorHandle_t const obj)
Binds output point cloud to range image creator.
dwPointCloudRangeImageType
Definition of the image type of Lidar cylindrical projection image.
DW_API_PUBLIC dwStatus dwPointCloudRangeImageCreator_initialize(dwPointCloudRangeImageCreatorHandle_t *const obj, dwPointCloudRangeImageCreatorParams const *const params, dwContextHandle_t const ctx)
Initializes range image creator.
DW_API_PUBLIC dwStatus dwPCRangeImageCreator_bindPointCloudOutput(dwPointCloud *const pointCloud, dwPointCloudRangeImageCreatorHandle_t const obj)
Binds output point cloud to range image creator.
DW_API_PUBLIC dwStatus dwPCRangeImageCreator_process(dwPointCloudRangeImageCreatorHandle_t const obj)
Organizes input point cloud and projects on the spherical coordinate to form a range image.
DW_API_PUBLIC dwStatus dwPCRangeImageCreator_initialize(dwPointCloudRangeImageCreatorHandle_t *const obj, dwPointCloudRangeImageCreatorParams const *const params, dwContextHandle_t const ctx)
Initializes range image creator.
DW_API_PUBLIC dwStatus dwPCRangeImageCreator_reset(dwPointCloudRangeImageCreatorHandle_t const obj)
Resets range image creator.
@ DW_POINT_CLOUD_IMAGE_TYPE_DISTANCE
R_FLOAT32 image where each pixel is the 3D distance in XYZ space.
@ DW_POINT_CLOUD_IMAGE_TYPE_2D_GRID
RGBA_FLOAT32 image where each pixel is a tuple of 3D Lidar coordinate and intensity.
@ DW_POINT_CLOUD_IMAGE_TYPE_INTENSITY
R_FLOAT32 image where each pixel is the Lidar intensity.
Defines range image clipping parameters.
Defines point cloud range image creator parameters.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
Specifies a 3D rigid transformation.
Definition: MatrixTypes.h:186