DriveWorks SDK Reference
5.14.77 Release
For Test and Development only

Core Types

Detailed Description

Defines of POD types, timestamps, and trivial data types.

Data Structures

struct  dwPolyline2d
 Defines a double-precision 2D polyline. More...
 
struct  dwPolyline2f
 Defines a single-precision 2D polyline. More...
 
struct  dwPolyline3d
 Defines a double-precision 3D polyline. More...
 
struct  dwPolyline3f
 Defines a single-precision 3D polyline. More...
 

Macros

#define DEFINE_DW_VALIDITY_STATUS   dwValidityStatus validityStatus
 Macro to place validity status in DW C struct with standardized name such that we have a unified way to represent data validity. More...
 
#define DW_NO_CALLBACK   NULL
 
#define DW_NULL_HANDLE   NULL
 

Typedefs

typedef __half_raw dwFloat16_t
 

Functions

DW_API_PUBLIC uint8_t dwSizeOf (dwTrivialDataType const type)
 Get the size of dwTrivialDataType type. More...
 

Data Structure Documentation

◆ dwPolyline2d

struct dwPolyline2d
Data Fields
uint32_t pointCount number of points.
const dwVector2d * points A point is a vertex of two connected line segments in a polyline.

Points point to the first point in the container.

◆ dwPolyline2f

struct dwPolyline2f
Data Fields
uint32_t pointCount number of points.
const dwVector2f * points A point is a vertex of two connected line segments in a polyline.

Points point to the first point in the container.

◆ dwPolyline3d

struct dwPolyline3d
Data Fields
uint32_t pointCount number of points.
const dwVector3d * points A point is a vertex of two connected line segments in a polyline.

Points point to the first point in the container.

◆ dwPolyline3f

struct dwPolyline3f
Data Fields
uint32_t pointCount number of points.
const dwVector3f * points A point is a vertex of two connected line segments in a polyline.

Points point to the first point in the container.

Macro Definition Documentation

◆ DEFINE_DW_VALIDITY_STATUS

#define DEFINE_DW_VALIDITY_STATUS   dwValidityStatus validityStatus

Macro to place validity status in DW C struct with standardized name such that we have a unified way to represent data validity.

For example, with an extra line of DEFINE_DW_VALIDITY_STATUS, the validity status is included into the DW C struct and ready to be consumed.

typedef dwFoo { uint32_t x; float32_t y; char8_t z[64];

DEFINE_DW_VALIDITY_STATUS; } dwFoo;

Definition at line 143 of file Types.h.

◆ DW_NO_CALLBACK

#define DW_NO_CALLBACK   NULL

Definition at line 81 of file Types.h.

◆ DW_NULL_HANDLE

#define DW_NULL_HANDLE   NULL

Definition at line 80 of file Types.h.

Typedef Documentation

◆ dwFloat16_t

typedef __half_raw dwFloat16_t

Definition at line 73 of file Types.h.

Function Documentation

◆ dwSizeOf()

DW_API_PUBLIC uint8_t dwSizeOf ( dwTrivialDataType const  type)

Get the size of dwTrivialDataType type.