NVIDIA DriveOS Linux SDK API Reference
7.2.5.0 Early Access Release
PointCloudPlaneExtractor.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright (c) 2018-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
* SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4
*
5
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6
* property and proprietary rights in and to this material, related
7
* documentation and any modifications thereto. Any use, reproduction,
8
* disclosure or distribution of this material and related documentation
9
* without an express license agreement from NVIDIA CORPORATION or
10
* its affiliates is strictly prohibited.
11
*/
12
29
#ifndef DW_POINTCLOUDPROCESSING_POINTCLOUDPLANEEXTRACTOR_H_
30
#define DW_POINTCLOUDPROCESSING_POINTCLOUDPLANEEXTRACTOR_H_
31
32
#include <
dw/core/base/Types.h
>
33
#include <
dw/core/context/Context.h
>
34
#include <
dw/pointcloudprocessing/pointcloud/PointCloud.h
>
35
36
#ifdef __cplusplus
37
extern
"C"
{
38
#endif
39
40
typedef
struct
dwPointCloudPlaneExtractorObject*
dwPointCloudPlaneExtractorHandle_t
;
41
47
typedef
struct
48
{
49
uint32_t
maxPointCount
;
50
dwOrientedBoundingBox3f
box
;
51
}
dwPlaneExtractorBoxFilterParams
;
52
59
typedef
struct
60
{
61
uint32_t
maxInputPointCount
;
62
uint32_t
ransacIterationCount
;
63
uint32_t
optimizerIterationCount
;
64
float32_t
minInlierFraction
;
65
float32_t
maxInlierDistance
;
66
dwMatrix3f
rotation
;
67
bool
cudaPipelineEnabled
;
68
dwPlaneExtractorBoxFilterParams
boxFilterParams
;
69
}
dwPointCloudPlaneExtractorParams
;
70
74
typedef
struct
75
{
76
dwTransformation3f
transformation
;
77
dwVector3f
normal
;
78
float32_t
offset
;
79
bool
valid
;
80
}
dwPointCloudExtractedPlane
;
83
96
DW_API_PUBLIC
97
dwStatus
dwPCPlaneExtractor_initialize
(
dwPointCloudPlaneExtractorHandle_t
*
const
obj
,
98
dwPointCloudPlaneExtractorParams
const
*
const
params,
99
dwContextHandle_t
const
ctx);
100
111
DW_API_PUBLIC
112
dwStatus
dwPCPlaneExtractor_reset
(
dwPointCloudPlaneExtractorHandle_t
const
obj
);
113
124
DW_API_PUBLIC
125
dwStatus
dwPCPlaneExtractor_release
(
dwPointCloudPlaneExtractorHandle_t
const
obj
);
126
137
DW_API_PUBLIC
138
dwStatus
dwPCPlaneExtractor_getDefaultParameters
(
dwPointCloudPlaneExtractorParams
*
const
params);
139
151
DW_API_PUBLIC
152
dwStatus
dwPCPlaneExtractor_bindInput
(
dwPointCloud
const
*
const
pointCloud,
153
dwPointCloudPlaneExtractorHandle_t
const
obj
);
165
DW_API_PUBLIC
166
dwStatus
dwPCPlaneExtractor_getCUDAStream
(cudaStream_t*
const
stream,
167
dwPointCloudPlaneExtractorHandle_t
const
obj
);
168
180
DW_API_PUBLIC
181
dwStatus
dwPCPlaneExtractor_setCUDAStream
(cudaStream_t
const
stream,
182
dwPointCloudPlaneExtractorHandle_t
const
obj
);
183
197
DW_API_PUBLIC
198
dwStatus
dwPCPlaneExtractor_bindOutput
(
dwPointCloud
*
const
inliers,
199
dwPointCloud
*
const
outliers,
200
dwPointCloudExtractedPlane
*
const
outputPlane,
201
dwPointCloudPlaneExtractorHandle_t
const
obj
);
202
215
DW_API_PUBLIC
216
dwStatus
dwPCPlaneExtractor_process
(
dwPointCloudPlaneExtractorHandle_t
const
obj
);
217
218
#ifdef __cplusplus
219
}
220
#endif
221
224
#endif // DW_POINTCLOUDPROCESSING_POINTCLOUDPLANEEXTRACTOR_H_
dwPointCloudPlaneExtractorParams::cudaPipelineEnabled
bool cudaPipelineEnabled
Setting to true will process with CUDA pipeline.
Definition:
PointCloudPlaneExtractor.h:67
dwPointCloudPlaneExtractorParams::optimizerIterationCount
uint32_t optimizerIterationCount
optimization iteration number
Definition:
PointCloudPlaneExtractor.h:63
dwPointCloudPlaneExtractorParams
Defines plane extraction parameter.
Definition:
PointCloudPlaneExtractor.h:59
Types.h
dwPointCloudPlaneExtractorParams::maxInlierDistance
float32_t maxInlierDistance
maximum inlier distance to the estimated plane
Definition:
PointCloudPlaneExtractor.h:65
dwPointCloud
Defines point cloud data structure.
Definition:
PointCloud.h:80
dwPCPlaneExtractor_setCUDAStream
DW_API_PUBLIC dwStatus dwPCPlaneExtractor_setCUDAStream(cudaStream_t const stream, dwPointCloudPlaneExtractorHandle_t const obj)
Sets CUDA stream of point cloud plane extractor.
dwPCPlaneExtractor_bindOutput
DW_API_PUBLIC dwStatus dwPCPlaneExtractor_bindOutput(dwPointCloud *const inliers, dwPointCloud *const outliers, dwPointCloudExtractedPlane *const outputPlane, dwPointCloudPlaneExtractorHandle_t const obj)
Binds output buffers to point cloud plane extractor.
dwPCPlaneExtractor_process
DW_API_PUBLIC dwStatus dwPCPlaneExtractor_process(dwPointCloudPlaneExtractorHandle_t const obj)
Extracts 3D ground plane and stores the results to output buffer.
dwPointCloudPlaneExtractorHandle_t
struct dwPointCloudPlaneExtractorObject * dwPointCloudPlaneExtractorHandle_t
Definition:
PointCloudPlaneExtractor.h:40
dwPointCloudPlaneExtractorParams::boxFilterParams
dwPlaneExtractorBoxFilterParams boxFilterParams
box filter parameters
Definition:
PointCloudPlaneExtractor.h:68
float32_t
float float32_t
Definition:
core/base/BasicTypes.h:43
dwVector3f
Defines a three-element floating-point vector.
Definition:
MatrixTypes.h:74
dwPointCloudExtractedPlane::transformation
dwTransformation3f transformation
rotation and translation of the plane given the estimated normal vector and plane offset
Definition:
PointCloudPlaneExtractor.h:76
dwPointCloudPlaneExtractorParams::ransacIterationCount
uint32_t ransacIterationCount
ransac iteration number
Definition:
PointCloudPlaneExtractor.h:62
obj
const NvSciSyncObj *const obj
Definition:
wfdext.h:528
dwStatus
dwStatus
Status definition.
Definition:
ErrorDefs.h:32
dwPointCloudPlaneExtractorParams::maxInputPointCount
uint32_t maxInputPointCount
maximum number of points in input point cloud
Definition:
PointCloudPlaneExtractor.h:61
dwPCPlaneExtractor_release
DW_API_PUBLIC dwStatus dwPCPlaneExtractor_release(dwPointCloudPlaneExtractorHandle_t const obj)
Releases point cloud plane extractor.
dwPlaneExtractorBoxFilterParams::box
dwOrientedBoundingBox3f box
oriented bounding box
Definition:
PointCloudPlaneExtractor.h:50
dwContextHandle_t
struct dwContextObject * dwContextHandle_t
Context handle.
Definition:
Context.h:81
dwPCPlaneExtractor_bindInput
DW_API_PUBLIC dwStatus dwPCPlaneExtractor_bindInput(dwPointCloud const *const pointCloud, dwPointCloudPlaneExtractorHandle_t const obj)
Binds point cloud buffer to plane extractor.
dwPointCloudExtractedPlane::valid
bool valid
If this is false, it indicates the ransac plane fitting and optimization failed to produce a 3D groun...
Definition:
PointCloudPlaneExtractor.h:79
PointCloud.h
dwPointCloudExtractedPlane
Defines extracted 3D plane.
Definition:
PointCloudPlaneExtractor.h:74
dwMatrix3f
Defines a 3x3 matrix of floating point numbers by using only one array.
Definition:
MatrixTypes.h:158
dwPlaneExtractorBoxFilterParams::maxPointCount
uint32_t maxPointCount
maximum number of accepted points
Definition:
PointCloudPlaneExtractor.h:49
dwPCPlaneExtractor_getDefaultParameters
DW_API_PUBLIC dwStatus dwPCPlaneExtractor_getDefaultParameters(dwPointCloudPlaneExtractorParams *const params)
Gets default point cloud plane extractor parameters.
dwTransformation3f
Specifies a 3D rigid transformation.
Definition:
MatrixTypes.h:226
dwPCPlaneExtractor_getCUDAStream
DW_API_PUBLIC dwStatus dwPCPlaneExtractor_getCUDAStream(cudaStream_t *const stream, dwPointCloudPlaneExtractorHandle_t const obj)
Gets CUDA stream of point cloud plane extractor.
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition:
core/base/Exports.h:57
dwPointCloudExtractedPlane::normal
dwVector3f normal
normal vector of the ground plane
Definition:
PointCloudPlaneExtractor.h:77
dwPointCloudExtractedPlane::offset
float32_t offset
offset distance of the ground plane to the coordinate origin
Definition:
PointCloudPlaneExtractor.h:78
dwPCPlaneExtractor_initialize
DW_API_PUBLIC dwStatus dwPCPlaneExtractor_initialize(dwPointCloudPlaneExtractorHandle_t *const obj, dwPointCloudPlaneExtractorParams const *const params, dwContextHandle_t const ctx)
Initializes point cloud plane extractor.
dwOrientedBoundingBox3f
Data structure representing an oriented bounding box in the local object coordinate frame The box is ...
Definition:
GeometricTypes.h:221
dwPlaneExtractorBoxFilterParams
Defines parameters for point cloud box filter.
Definition:
PointCloudPlaneExtractor.h:47
dwPCPlaneExtractor_reset
DW_API_PUBLIC dwStatus dwPCPlaneExtractor_reset(dwPointCloudPlaneExtractorHandle_t const obj)
Resets point cloud plane extractor.
Context.h
dwPointCloudPlaneExtractorParams::minInlierFraction
float32_t minInlierFraction
minimum inlier percentage for ransac plane fitting
Definition:
PointCloudPlaneExtractor.h:64
dwPointCloudPlaneExtractorParams::rotation
dwMatrix3f rotation
rotation that aligns the point cloud with ground plane
Definition:
PointCloudPlaneExtractor.h:66
Privacy Policy
|
Manage My Privacy
|
Do Not Sell or Share My Data
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Subject to Change | For test and development only.
Thu Jul 2 2026 13:40:42 | PR-10720-7.0