DriveWorks SDK Reference
5.14.77 Release
For Test and Development only

Types.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) 2016-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
46#ifndef DW_CORE_TYPES_H_
47#define DW_CORE_TYPES_H_
48
49#include "BasicTypes.h"
50#include "Exports.h"
51#include "GeoPoints.h"
52#include "GeometricDefs.h"
53#include "GeometricTypes.h"
54#include "MatrixDefs.h"
55#include "MatrixTypes.h"
56#include "Status.h"
57#include "TypesExtra.h"
58
59#include <cuda_runtime_api.h>
60// RFD - MISRAC 2012 Rule 1.4: Using emergent head file (stdalign.h)
61// coverity[misra_c_2012_rule_1_4_violation]
62#include <stdalign.h>
63
64#include <cuda_fp16.h>
65
66#ifdef __cplusplus
67extern "C" {
68#endif
69
70#if defined(__cplusplus)
71typedef __half dwFloat16_t;
72#else
73typedef __half_raw dwFloat16_t;
74#endif
75
76#if defined(__cplusplus)
77#define DW_NULL_HANDLE nullptr
78#define DW_NO_CALLBACK nullptr
79#else
80#define DW_NULL_HANDLE NULL
81#define DW_NO_CALLBACK NULL
82#endif
83
87
89typedef struct dwPolyline2f
90{
95 uint32_t pointCount;
97
99typedef struct dwPolyline2d
100{
105 uint32_t pointCount;
107
109typedef struct dwPolyline3f
110{
115 uint32_t pointCount;
117
119typedef struct dwPolyline3d
120{
125 uint32_t pointCount;
127
143#define DEFINE_DW_VALIDITY_STATUS dwValidityStatus validityStatus
144
145#ifdef __cplusplus
146}
147#endif
149#endif // DW_CORE_TYPES_H_
NVIDIA DriveWorks API: Core BasicTypes
Defines a three-element double-precision floating point vector.
Definition: MatrixTypes.h:88
Defines a three-element floating-point vector.
Definition: MatrixTypes.h:79
NVIDIA DriveWorks API: Core Status Methods
NVIDIA DriveWorks API: (Extra) Core Types
#define DW_API_PUBLIC
Definition: Exports.h:54
dwTrivialDataType
Specifies a type indicator of the underlying trivial data type.
Definition: TypesExtra.h:58
uint32_t pointCount
number of points.
Definition: Types.h:125
const dwVector3f * points
A point is a vertex of two connected line segments in a polyline.
Definition: Types.h:113
uint32_t pointCount
number of points.
Definition: Types.h:95
uint32_t pointCount
number of points.
Definition: Types.h:115
const dwVector2d * points
A point is a vertex of two connected line segments in a polyline.
Definition: Types.h:103
const dwVector2f * points
A point is a vertex of two connected line segments in a polyline.
Definition: Types.h:93
uint32_t pointCount
number of points.
Definition: Types.h:105
const dwVector3d * points
A point is a vertex of two connected line segments in a polyline.
Definition: Types.h:123
__half_raw dwFloat16_t
Definition: Types.h:73
DW_API_PUBLIC uint8_t dwSizeOf(dwTrivialDataType const type)
Get the size of dwTrivialDataType type.
Defines a double-precision 2D polyline.
Definition: Types.h:100
Defines a single-precision 2D polyline.
Definition: Types.h:90
Defines a double-precision 3D polyline.
Definition: Types.h:120
Defines a single-precision 3D polyline.
Definition: Types.h:110
NVIDIA DriveWorks Visualization API: Exports
Defines a two-element double-precision floating-point vector.
Definition: MatrixTypes.h:57
Defines a two-element single-precision floating-point vector.
Definition: MatrixTypes.h:49