DriveWorks SDK Reference
5.14.77 Release
For Test and Development only

PointCloudStitcher.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-2023 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_POINTCLOUDSTITCHER_H_
48#define DW_POINTCLOUDPROCESSING_POINTCLOUDSTITCHER_H_
49
50#include <dw/core/base/Types.h>
53
54#ifdef __cplusplus
55extern "C" {
56#endif
57
61#define DW_POINTCLOUD_STITCHER_MAX_POINT_CLOUDS DW_BIND_SLOT_MAX_COUNT
62
63typedef struct dwPointCloudStitcherObject* dwPointCloudStitcherHandle_t;
64
75
84
93
104
115
126 dwEgomotionConstHandle_t egomotion,
128
137
153
167 dwPointCloud const* pointCloud,
168 dwTransformation3f const* pointCloudToRig,
170
186 dwLidarPointCloud const* lidarPointCloud,
187 dwTransformation3f const* pointCloudToRig,
189
200
211
222
223#ifdef __cplusplus
224}
225#endif
227#endif // DW_POINTCLOUDPROCESSING_POINTCLOUDSTITCHER_H_
NVIDIA DriveWorks API: Egomotion Methods
dwStatus
Status definition.
Definition: ErrorDefs.h:45
NVIDIA DriveWorks API: Point Cloud Processing
NVIDIA DriveWorks API: Core Types
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: BasicTypes.h:65
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:86
#define DW_API_PUBLIC
Definition: Exports.h:54
dwBindSlot
The slot enum used when an application wants a dw module to bind some particular input data to an int...
Definition: TypesExtra.h:163
struct dwEgomotionObject const * dwEgomotionConstHandle_t
Const Egomotion Handle.
Definition: Egomotion.h:88
Defines a LiDAR-specific point cloud data structure.
Defines point cloud data structure.
Definition: PointCloud.h:99
DW_API_PUBLIC dwStatus dwPointCloudStitcher_enableMotionCompensation(dwTime_t const timestamp, dwEgomotionConstHandle_t egomotion, dwPointCloudStitcherHandle_t obj)
Enables motion compensation for the stitched point cloud.
DW_API_PUBLIC dwStatus dwPointCloudStitcher_release(dwPointCloudStitcherHandle_t obj)
Releases point cloud stitcher.
DW_API_PUBLIC dwStatus dwPointCloudStitcher_process(dwPointCloudStitcherHandle_t obj)
Transforms all the input point clouds to a common coordinate.
DW_API_PUBLIC dwStatus dwPointCloudStitcher_bindOutput(dwPointCloud *pointCloud, dwPointCloudStitcherHandle_t obj)
Binds output buffer to the point cloud stitcher.
DW_API_PUBLIC dwStatus dwPointCloudStitcher_setCUDAStream(cudaStream_t const stream, dwPointCloudStitcherHandle_t obj)
Sets CUDA stream of point cloud stitcher.
DW_API_PUBLIC dwStatus dwPointCloudStitcher_bindOutputLidarPointCloud(dwLidarPointCloud *lidarPointCloud, dwPointCloudStitcherHandle_t obj)
Binds output lidar specific point cloud to the stitcher.
DW_API_PUBLIC dwStatus dwPointCloudStitcher_getCUDAStream(cudaStream_t *stream, dwPointCloudStitcherHandle_t obj)
Gets CUDA stream of point cloud stitcher.
DW_API_PUBLIC dwStatus dwPointCloudStitcher_initialize(dwPointCloudStitcherHandle_t *obj, dwContextHandle_t ctx)
Initializes point cloud stitcher.
struct dwPointCloudStitcherObject * dwPointCloudStitcherHandle_t
DW_API_PUBLIC dwStatus dwPointCloudStitcher_setGlobalTransformation(dwTransformation3f const *tx, dwPointCloudStitcherHandle_t obj)
Sets global transformation for the stitched point cloud.
DW_API_PUBLIC dwStatus dwPointCloudStitcher_bindInputLidarPointCloud(dwBindSlot const slot, dwLidarPointCloud const *lidarPointCloud, dwTransformation3f const *pointCloudToRig, dwPointCloudStitcherHandle_t obj)
Binds input lidar specific point cloud to the point cloud stitcher.
DW_API_PUBLIC dwStatus dwPointCloudStitcher_disableMotionCompensation(dwPointCloudStitcherHandle_t obj)
Disables motion compensation for the stitched point cloud.
DW_API_PUBLIC dwStatus dwPointCloudStitcher_bindInput(dwBindSlot const slot, dwPointCloud const *pointCloud, dwTransformation3f const *pointCloudToRig, dwPointCloudStitcherHandle_t obj)
Binds input point cloud to the point cloud stitcher.
DW_API_PUBLIC dwStatus dwPointCloudStitcher_reset(dwPointCloudStitcherHandle_t obj)
Resets point cloud stitcher.
Specifies a 3D rigid transformation.
Definition: MatrixTypes.h:186