DriveWorks SDK Reference

| 0.6.67 Release

Types.h File Reference

Detailed Description

NVIDIA DriveWorks API: Core Types

Description: This file defines POD types, timestamps, and trivial data types.

Definition in file Types.h.

Go to the source code of this file.

Data Structures

struct  dwLine3f
 Defines a line segment. More...
 
struct  dwMatrix34f
 Defines a 3x4 matrix of floating point numbers (column major). More...
 
struct  dwMatrix3d
 Defines a 3x3 matrix of double floating point numbers. More...
 
struct  dwTransformation2D
 Defines a 3x3 matrix of floating point numbers. More...
 
struct  dwTransformation
 Defines a 4x4 matrix of floating point numbers (column major). More...
 
struct  dwPolyline3f
 Defines a polyline. More...
 
struct  dwRect
 Defines a rectangle. More...
 
struct  dwRectf
 
struct  dwVector2f
 Defines a two-element floating-point vector. More...
 
struct  dwVector2i
 Defines a two-element integer vector. More...
 
struct  dwVector2ui
 Defines a two-element unsigned-integer vector. More...
 
struct  dwVector3d
 Defines a three-element double-precision floating point vector. More...
 
struct  dwVector3f
 Defines a three-element floating-point vector. More...
 
struct  dwVector3ui
 Defines a three-element unsigned-integer vector. More...
 
struct  dwVector4f
 

Macros

#define DW_FALSE   0u
 
#define DW_NO_CALLBACK   NULL
 
#define DW_NULL_HANDLE   NULL
 
#define DW_TRUE   1u
 

Typedefs

typedef uint8_t dwBool
 
typedef dwRect dwBox2D
 
typedef dwRectf dwBox2Df
 
typedef uint64_t dwTime_t
 Specifies a timestamp unit, in microseconds. More...
 
typedef __half_raw float16_t
 
typedef float float32_t
 Specifies POD types. More...
 
typedef double float64_t
 

Enumerations

enum  dwGPUDeviceType {
  DW_GPU_DEVICE_DISCRETE = 0,
  DW_GPU_DEVICE_INTEGRATED = 1
}
 GPU device type defintions. More...
 
enum  dwTrivialDataType {
  DW_TYPE_UNKNOWN = 0,
  DW_TYPE_BOOL = 1 << 1,
  DW_TYPE_INT8 = 1 << 2,
  DW_TYPE_INT16 = 1 << 3,
  DW_TYPE_INT32 = 1 << 4,
  DW_TYPE_INT64 = 1 << 5,
  DW_TYPE_UINT8 = 1 << 6,
  DW_TYPE_UINT16 = 1 << 7,
  DW_TYPE_UINT32 = 1 << 8,
  DW_TYPE_UINT64 = 1 << 9,
  DW_TYPE_FLOAT32 = 1 << 10,
  DW_TYPE_FLOAT64 = 1 << 11,
  DW_TYPE_FLOAT16 = 1 << 12
}
 Specifies a type indicator of the underlying trivial data type. More...
 

Functions

DW_API_PUBLIC size_t dwSizeOf (dwTrivialDataType type)
 

Variables

static const dwTime_t DW_TIMEOUT_INFINITE = UINT64_MAX
 Special value of timestamp which means infinitely long duration. More...