DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

World Model Lanes

Detailed Description

Note
SW Release Applicability: These APIs are available in NVIDIA DRIVE Software releases.

Data Structures

struct  dwLane
 The main data structure, holds or refers to the core information, such as the left or right inner edge of the lane, etc. More...
 
struct  dwLaneArray
 A lane container. More...
 
struct  dwLaneChange
 Describes lane change availability between two lane segments. More...
 
struct  dwLaneChangeArray
 A lane change container. More...
 
struct  dwLaneChunk
 The lane chunks hold a fixed number of vertices. More...
 
struct  dwLaneChunkArray
 A lane chunk container. More...
 
struct  dwLaneContinuation
 Forward/Next connecting lanes of a lane in the dwLaneArray A lane may continue to zero, single lane or multiple lanes (fork) More...
 
struct  dwLaneContinuationArray
 Specifies forward connecting lanes for all the lanes in the dwLaneArray. More...
 
struct  dwLaneRelation
 Describes the relationship between a pair of lane segments. More...
 
struct  dwLaneRelationArray
 A relation container. More...
 
struct  dwLaneSegment
 A segment of a dwLane object, by referenced by the id and point indices. More...
 
struct  dwLaneVertex
 Described a vertex in a dwLane object. More...
 
struct  dwPathSegment
 A path segment composed of continues dwLane objects, lanes are by referenced by the lane indices in the dwLaneArray. More...
 

Macros

#define DW_LANE_ANIMAL_BASE   (DW_LANE_IS_VRU + DW_LANE_IS_OTHER_ANIMATE)
 
#define DW_LANE_ARRAY_MAX_COUNT   200U
 
#define DW_LANE_BIKE_BASE   (DW_LANE_IS_BIKE + DW_LANE_VRU_BASE)
 
#define DW_LANE_CHANGE_ARRAY_MAX_COUNT   20U
 
#define DW_LANE_CHUNK_ARRAY_MAX_COUNT   2000
 
#define DW_LANE_CHUNK_INDICES_MAX_COUNT   500
 
#define DW_LANE_CHUNK_SIZE   (1u << DW_LANE_CHUNK_SIZE_TWO_LOG)
 
#define DW_LANE_CHUNK_SIZE_MASK   (DW_LANE_CHUNK_SIZE - 1)
 
#define DW_LANE_CHUNK_SIZE_TWO_LOG   3u
 Two-logarithm of the number of array entries in a lane chunk. 2->4, 3->8, 4->16. More...
 
#define DW_LANE_CONTINUATIONS_MAX_COUNT   16U
 
#define DW_LANE_EDGE_STYLE_IS_GROUP   1
 
#define DW_LANE_IS_BIKE   (1 << 19)
 Bit for bike lanes. More...
 
#define DW_LANE_IS_INFRA   (1 << 21)
 Bit for lanes for other infra (like trains) More...
 
#define DW_LANE_IS_OTHER_ANIMATE   (1 << 17)
 Bit for lanes animates that are not vehicles. More...
 
#define DW_LANE_IS_PEDESTRIAN   (1 << 20)
 Bit for pedestrian crossings. More...
 
#define DW_LANE_IS_SPECIAL   (1 << 22)
 Bit for lanes driven only with caution. More...
 
#define DW_LANE_IS_VEHICLE   (1 << 16)
 Top level lane state bits. More...
 
#define DW_LANE_IS_VRU   (1 << 18)
 Bit for lanes for vulnerable road users. More...
 
#define DW_LANE_PEDESTRIAN_BASE   (DW_LANE_IS_PEDESTRIAN + DW_LANE_VRU_BASE)
 
#define DW_LANE_PREVIOUS_ID_MAX_COUNT   10
 
#define DW_LANE_RELATION_ARRAY_MAX_COUNT   20
 
#define DW_LANE_SPECIAL_BASE   (DW_LANE_IS_VEHICLE + DW_LANE_IS_SPECIAL)
 
#define DW_LANE_TRAIN_BASE   (DW_LANE_IS_INFRA + DW_LANE_IS_OTHER_ANIMATE)
 
#define DW_LANE_VEHICLE_BASE   (DW_LANE_IS_VEHICLE)
 
#define DW_LANE_VRU_BASE   (DW_LANE_IS_VRU + DW_LANE_IS_OTHER_ANIMATE)
 
#define DW_PATH_SEGMENT_MAX_COUT   8U
 

Enumerations

enum  dwLaneClass {
  DW_LANE_INVALID = 0,
  DW_LANE_VEHICLE = 1 + DW_LANE_VEHICLE_BASE,
  DW_LANE_HOV = 2 + DW_LANE_VEHICLE_BASE,
  DW_LANE_CENTER_TURN = 3 + DW_LANE_SPECIAL_BASE,
  DW_LANE_SUICIDE = 4 + DW_LANE_SPECIAL_BASE,
  DW_LANE_BUS = 5 + DW_LANE_SPECIAL_BASE,
  DW_LANE_TAXI = 6 + DW_LANE_SPECIAL_BASE,
  DW_LANE_LOAD_UNLOAD = 7 + DW_LANE_SPECIAL_BASE,
  DW_LANE_REVERSIBLE = 8 + DW_LANE_SPECIAL_BASE,
  DW_LANE_SHOULDER = 9 + DW_LANE_SPECIAL_BASE,
  DW_LANE_DIVIDER_LANE = 10,
  DW_LANE_BIKE = 11 + DW_LANE_BIKE_BASE,
  DW_LANE_PEDESTRIAN = 12 + DW_LANE_PEDESTRIAN_BASE,
  DW_LANE_TRAIN = 13 + DW_LANE_TRAIN_BASE,
  DW_LANE_ANIMAL = 14 + DW_LANE_ANIMAL_BASE,
  DW_LANE_OTHER = 15
}
 Classification of lanes. More...
 
enum  dwLaneEdgeClass {
  DW_LANE_EDGE_CLASS_INVALID = 0,
  DW_LANE_EDGE_CLASS_MARKED_CROSSABLE = 1,
  DW_LANE_EDGE_CLASS_MARKED_DONT_CROSS = 2,
  DW_LANE_EDGE_CLASS_PHYSICAL = 3,
  DW_LANE_EDGE_CLASS_VIRTUAL = 4,
  DW_LANE_EDGE_CLASS_UNKNOWN = 5,
  DW_LANE_EDGE_CLASS_COUNT = 6
}
 Edge main classes. More...
 
enum  dwLaneEdgeColor {
  DW_LANE_EDGE_COLOR_INVALID = 0,
  DW_LANE_EDGE_COLOR_WHITE = 1,
  DW_LANE_EDGE_COLOR_YELLOW = 2,
  DW_LANE_EDGE_COLOR_BLUE = 3,
  DW_LANE_EDGE_COLOR_RED = 4,
  DW_LANE_EDGE_COLOR_GREEN = 5,
  DW_LANE_EDGE_COLOR_BLACK = 6,
  DW_LANE_EDGE_COLOR_ORANGE = 7,
  DW_LANE_EDGE_COLOR_MIXED = 8,
  DW_LANE_EDGE_COLOR_UNKNOWN = 9,
  DW_LANE_EDGE_COLOR_OTHER = 10
}
 Edge color, mutually exclusive. Describes the first encountered from inside lane. More...
 
enum  dwLaneEdgeStyle {
  DW_LANE_EDGE_STYLE_INVALID = 0,
  DW_LANE_EDGE_STYLE_SOLID_SINGLE = 1,
  DW_LANE_EDGE_STYLE_SOLID_GROUP = 2,
  DW_LANE_EDGE_STYLE_SHORT_DASHED_SINGLE = 3,
  DW_LANE_EDGE_STYLE_SHORT_DASHED_GROUP = 4,
  DW_LANE_EDGE_STYLE_LONG_DASHED_SINGLE = 5,
  DW_LANE_EDGE_STYLE_LONG_DASHED_GROUP = 6,
  DW_LANE_EDGE_STYLE_CIRCULAR_DOT_SINGLE = 7,
  DW_LANE_EDGE_STYLE_CIRCULAR_DOT_GROUP = 8,
  DW_LANE_EDGE_STYLE_SQUARE_DOT_SINGLE = 9,
  DW_LANE_EDGE_STYLE_SQUARE_DOT_GROUP = 10,
  DW_LANE_EDGE_STYLE_ZIGZAG_SINGLE = 11,
  DW_LANE_EDGE_STYLE_ZIGZAG_GROUP = 12,
  DW_LANE_EDGE_STYLE_RUMBLE_SINGLE = 13,
  DW_LANE_EDGE_STYLE_RUMBLE_GROUP = 14,
  DW_LANE_EDGE_STYLE_OTHER_MARKING_SINGLE = 15,
  DW_LANE_EDGE_STYLE_OTHER_MARKING_GROUP = 16,
  DW_LANE_EDGE_STYLE_AREA = 17,
  DW_LANE_EDGE_STYLE_ROAD_BOUNDARY = 20,
  DW_LANE_EDGE_STYLE_PHYSICAL_DIVIDER = 21,
  DW_LANE_EDGE_STYLE_TALL_CURB = 22,
  DW_LANE_EDGE_STYLE_DRIVABLE_CURB = 23,
  DW_LANE_EDGE_STYLE_WALKABLE_CURB = 24,
  DW_LANE_EDGE_STYLE_FENCE = 25,
  DW_LANE_EDGE_STYLE_BARRIER = 26,
  DW_LANE_EDGE_STYLE_WALL = 27,
  DW_LANE_EDGE_STYLE_OBSTACLE_BARS = 28,
  DW_LANE_EDGE_STYLE_OTHER_PHYSICAL = 29,
  DW_LANE_EDGE_STYLE_INTERSECTION = 30,
  DW_LANE_EDGE_STYLE_SPLIT_LEFT = 31,
  DW_LANE_EDGE_STYLE_SPLIT_RIGHT = 32,
  DW_LANE_EDGE_STYLE_MERGE_LEFT = 33,
  DW_LANE_EDGE_STYLE_MERGE_RIGHT = 34,
  DW_LANE_EDGE_STYLE_PARKING = 35,
  DW_LANE_EDGE_STYLE_OTHER_VIRTUAL = 36,
  DW_LANE_EDGE_STYLE_UNKNOWN = 40,
  DW_LANE_EDGE_STYLE_OTHER = 41
}
 Edge style, mutually exclusive. Describes the first encountered from inside lane. More...
 
enum  dwLaneEndType {
  DW_LANE_END_INVALID = 0,
  DW_LANE_END_DISAPPEARS = 1,
  DW_LANE_END_CHANGES = 2,
  DW_LANE_END_OCCLUSION = 3,
  DW_LANE_END_OUT_OF_SCOPE = 4,
  DW_LANE_END_UNKNOWN = 5
}
 The type of lane dwLane begins and end. More...
 
enum  dwLaneOccupancy {
  DW_LANE_OCCUPANCY_INVALID = 0,
  DW_LANE_OCCUPANCY_UNKNOWN = 1,
  DW_LANE_OCCUPANCY_UNOCCUPIED = 2,
  DW_LANE_OCCUPANCY_OCCUPIED = 3
}
 Lane occupancy, indicating if we know whether there is another actor in a certain portion of lane. More...
 
enum  dwLaneRelationType {
  DW_LANE_RELATION_NONE = 0,
  DW_LANE_RELATION_CONTINUE = 1,
  DW_LANE_RELATION_CROSSING = 2,
  DW_LANE_RELATION_MERGE = 3,
  DW_LANE_RELATION_FORK = 4,
  DW_LANE_RELATION_CORRESPONDENCE = 5
}
 Types of relationship between a pair of lane segments. More...
 
enum  dwLaneTurnsAllowed {
  DW_LANE_TURN_INVALID = 0,
  DW_LANE_TURN_LEFT = (1 << 1),
  DW_LANE_TURN_STRAIGHT = (1 << 2),
  DW_LANE_TURN_RIGHT = (1 << 3),
  DW_LANE_TURN_UTURN = (1 << 4),
  DW_LANE_TURN_DIAGONAL_LEFT = (1 << 5),
  DW_LANE_TURN_DIAGONAL_RIGHT = (1 << 6),
  DW_LANE_TURN_UNMARKED = (1 << 7),
  DW_LANE_TURN_UNKNOWN = (1 << 8)
}
 The turn restrictions on a dwLane. More...
 

Data Structure Documentation

◆ dwLane

struct dwLane
Data Fields
dwLaneEndType beginType Information about how a lane begins (first vertex)
bool bidirectional Has corresponding path in the opposite direction.
uint32_t chunkCount Number of chunks in the array.
uint32_t chunkIndices[DW_LANE_CHUNK_INDICES_MAX_COUNT]
float32_t classConfidence Classification confidence.
float32_t confidence Confidence that lane exists.
uint64_t currentId Lane ID for tracking purposes.
dwLaneEndType endType Information about how a lane ends (last vertex)
dwLaneClass laneClass Lane class.
uint32_t previousIdCount Number of previous IDs in below array.
uint64_t previousIds[DW_LANE_PREVIOUS_ID_MAX_COUNT]
float32_t subclassConfidence Subclassification confidence.
dwTime_t timestamp_us Timestamp.
dwLaneTurnsAllowed turnsAllowed Information about future turns allowed.
uint32_t vertexCount Number of vertices.

◆ dwLaneArray

struct dwLaneArray
Data Fields
uint32_t count
uint32_t egoIndex
dwLane lanes[DW_LANE_ARRAY_MAX_COUNT]

◆ dwLaneChange

struct dwLaneChange
Data Fields
dwPathSegment endSegment
uint64_t id ID for tracking purposes (zero is invalid)
dwPathSegment startSegment
dwTime_t timestamp_us Timestamp.

◆ dwLaneChangeArray

struct dwLaneChangeArray
Data Fields
dwLaneChange changes[DW_LANE_CHANGE_ARRAY_MAX_COUNT]
uint32_t count

◆ dwLaneChunk

struct dwLaneChunk
Data Fields
dwVector3f center[DW_LANE_CHUNK_SIZE] Center of lane suggested to follow.
dwConfidence1f centerLateralConfidence
dwConfidence1f centerVerticalConfidence
float32_t commonSpeed_mps Commonly used (de-facto) speed in meters/sec.
dwVector3f left[DW_LANE_CHUNK_SIZE] Left (inner) edge of lane.
uint8_t leftClass[DW_LANE_CHUNK_SIZE] Left class.
uint8_t leftClassConfidence[DW_LANE_CHUNK_SIZE] Left classification 0-255 confidence.
uint8_t leftColor[DW_LANE_CHUNK_SIZE] Left color.
uint8_t leftColorConfidence[DW_LANE_CHUNK_SIZE] Color 0-255 confidence.
dwConfidence1f leftLateralConfidence
uint8_t leftStyle[DW_LANE_CHUNK_SIZE] Left style.
uint8_t leftStyleConfidence[DW_LANE_CHUNK_SIZE] Style 0-255 confidence.
dwConfidence1f leftVerticalConfidence
dwVector3f normal[DW_LANE_CHUNK_SIZE] Unit surface normal at center.
dwConfidence1f normalForwardConfidence
dwConfidence1f normalSidewayConfidence
uint8_t occupancy[DW_LANE_CHUNK_SIZE]
uint8_t occupancyConfidence[DW_LANE_CHUNK_SIZE] 0-255 Occupancy confidence
float32_t officialSpeed_mps Official speed limit in meters/second.
dwVector3f right[DW_LANE_CHUNK_SIZE] Right (inner) edge of lane.
uint8_t rightClass[DW_LANE_CHUNK_SIZE] Right class.
uint8_t rightClassConfidence[DW_LANE_CHUNK_SIZE] Right classification 0-255 confidence.
uint8_t rightColor[DW_LANE_CHUNK_SIZE] Right color.
uint8_t rightColorConfidence[DW_LANE_CHUNK_SIZE] Color 0-255 confidence.
dwConfidence1f rightLateralConfidence
uint8_t rightStyle[DW_LANE_CHUNK_SIZE] Right style.
uint8_t rightStyleConfidence[DW_LANE_CHUNK_SIZE] Style 0-255 confidence.
dwConfidence1f rightVerticalConfidence
dwTime_t timestamp_us Timestamp.
uint8_t visibilityConfidenceLeft[DW_LANE_CHUNK_SIZE] Visibility confidence left.
uint8_t visibilityConfidenceRight[DW_LANE_CHUNK_SIZE] Visibility confidence right.

◆ dwLaneChunkArray

struct dwLaneChunkArray
Data Fields
dwLaneChunk chunks[DW_LANE_CHUNK_ARRAY_MAX_COUNT]
uint32_t count

◆ dwLaneContinuation

struct dwLaneContinuation
Data Fields
uint32_t continuations[DW_LANE_CONTINUATIONS_MAX_COUNT]
uint32_t count

◆ dwLaneContinuationArray

struct dwLaneContinuationArray
Data Fields
uint32_t count
dwLaneContinuation laneContinuations[DW_LANE_ARRAY_MAX_COUNT]

◆ dwLaneRelation

struct dwLaneRelation
Data Fields
dwLaneSegment first
dwLaneSegment second
dwLaneRelationType type

◆ dwLaneRelationArray

struct dwLaneRelationArray
Data Fields
uint32_t count
dwLaneRelation relations[DW_LANE_RELATION_ARRAY_MAX_COUNT]

◆ dwLaneSegment

struct dwLaneSegment
Data Fields
float32_t entryFraction [-1, 1], e.g.

pointInBetween = (1 - fraction) * points[vertex] + fraction * points[vertex + 1]; if fraction > 0 pointInBetween = (1 + fraction) * points[vertex] - fraction * points[vertex - 1]; otherwise

uint32_t entryVertex entry point vertex index referencing vertices of lane
float32_t exitFraction [-1, 1]
uint32_t exitVertex exit point vertex index referencing vertices of lane
bool isValid Whether lane segment is valid.
uint32_t laneIndex lane index into dwLaneArray

◆ dwLaneVertex

struct dwLaneVertex
Data Fields
bool isValid Whether lane vertex is valid.
uint32_t laneIndex lane index into dwLaneArray
uint32_t vertex vertex index referencing vertices of lane

◆ dwPathSegment

struct dwPathSegment
Data Fields
uint32_t count
float32_t entryFraction [-1, 1], e.g.

pointInBetween = (1 - fraction) * points[vertex] + fraction * points[vertex + 1]; if fraction > 0 pointInBetween = (1 + fraction) * points[vertex] - fraction * points[vertex - 1]; otherwise

uint32_t entryVertex entry point vertex index referencing vertices of first lane, i.e laneIndices[0]
float32_t exitFraction [-1, 1]
uint32_t exitVertex exit point vertex index referencing vertices of last lane, i.e laneIndices[count - 1]
uint32_t laneIndices[DW_PATH_SEGMENT_MAX_COUT]

Macro Definition Documentation

◆ DW_LANE_ANIMAL_BASE

#define DW_LANE_ANIMAL_BASE   (DW_LANE_IS_VRU + DW_LANE_IS_OTHER_ANIMATE)

Definition at line 246 of file Lane.h.

◆ DW_LANE_ARRAY_MAX_COUNT

#define DW_LANE_ARRAY_MAX_COUNT   200U

Definition at line 331 of file Lane.h.

◆ DW_LANE_BIKE_BASE

#define DW_LANE_BIKE_BASE   (DW_LANE_IS_BIKE + DW_LANE_VRU_BASE)

Definition at line 243 of file Lane.h.

◆ DW_LANE_CHANGE_ARRAY_MAX_COUNT

#define DW_LANE_CHANGE_ARRAY_MAX_COUNT   20U

Definition at line 409 of file Lane.h.

◆ DW_LANE_CHUNK_ARRAY_MAX_COUNT

#define DW_LANE_CHUNK_ARRAY_MAX_COUNT   2000

Definition at line 222 of file Lane.h.

◆ DW_LANE_CHUNK_INDICES_MAX_COUNT

#define DW_LANE_CHUNK_INDICES_MAX_COUNT   500

Definition at line 300 of file Lane.h.

◆ DW_LANE_CHUNK_SIZE

#define DW_LANE_CHUNK_SIZE   (1u << DW_LANE_CHUNK_SIZE_TWO_LOG)

Definition at line 148 of file Lane.h.

◆ DW_LANE_CHUNK_SIZE_MASK

#define DW_LANE_CHUNK_SIZE_MASK   (DW_LANE_CHUNK_SIZE - 1)

Definition at line 149 of file Lane.h.

◆ DW_LANE_CHUNK_SIZE_TWO_LOG

#define DW_LANE_CHUNK_SIZE_TWO_LOG   3u

Two-logarithm of the number of array entries in a lane chunk. 2->4, 3->8, 4->16.

Definition at line 147 of file Lane.h.

◆ DW_LANE_CONTINUATIONS_MAX_COUNT

#define DW_LANE_CONTINUATIONS_MAX_COUNT   16U

Definition at line 341 of file Lane.h.

◆ DW_LANE_EDGE_STYLE_IS_GROUP

#define DW_LANE_EDGE_STYLE_IS_GROUP   1

Definition at line 95 of file Lane.h.

◆ DW_LANE_IS_BIKE

#define DW_LANE_IS_BIKE   (1 << 19)

Bit for bike lanes.

Definition at line 235 of file Lane.h.

◆ DW_LANE_IS_INFRA

#define DW_LANE_IS_INFRA   (1 << 21)

Bit for lanes for other infra (like trains)

Definition at line 237 of file Lane.h.

◆ DW_LANE_IS_OTHER_ANIMATE

#define DW_LANE_IS_OTHER_ANIMATE   (1 << 17)

Bit for lanes animates that are not vehicles.

Definition at line 233 of file Lane.h.

◆ DW_LANE_IS_PEDESTRIAN

#define DW_LANE_IS_PEDESTRIAN   (1 << 20)

Bit for pedestrian crossings.

Definition at line 236 of file Lane.h.

◆ DW_LANE_IS_SPECIAL

#define DW_LANE_IS_SPECIAL   (1 << 22)

Bit for lanes driven only with caution.

Definition at line 238 of file Lane.h.

◆ DW_LANE_IS_VEHICLE

#define DW_LANE_IS_VEHICLE   (1 << 16)

Top level lane state bits.

Bit for lanes meant for vehicles

Definition at line 232 of file Lane.h.

◆ DW_LANE_IS_VRU

#define DW_LANE_IS_VRU   (1 << 18)

Bit for lanes for vulnerable road users.

Definition at line 234 of file Lane.h.

◆ DW_LANE_PEDESTRIAN_BASE

#define DW_LANE_PEDESTRIAN_BASE   (DW_LANE_IS_PEDESTRIAN + DW_LANE_VRU_BASE)

Definition at line 244 of file Lane.h.

◆ DW_LANE_PREVIOUS_ID_MAX_COUNT

#define DW_LANE_PREVIOUS_ID_MAX_COUNT   10

Definition at line 299 of file Lane.h.

◆ DW_LANE_RELATION_ARRAY_MAX_COUNT

#define DW_LANE_RELATION_ARRAY_MAX_COUNT   20

Definition at line 447 of file Lane.h.

◆ DW_LANE_SPECIAL_BASE

#define DW_LANE_SPECIAL_BASE   (DW_LANE_IS_VEHICLE + DW_LANE_IS_SPECIAL)

Definition at line 241 of file Lane.h.

◆ DW_LANE_TRAIN_BASE

#define DW_LANE_TRAIN_BASE   (DW_LANE_IS_INFRA + DW_LANE_IS_OTHER_ANIMATE)

Definition at line 245 of file Lane.h.

◆ DW_LANE_VEHICLE_BASE

#define DW_LANE_VEHICLE_BASE   (DW_LANE_IS_VEHICLE)

Definition at line 240 of file Lane.h.

◆ DW_LANE_VRU_BASE

#define DW_LANE_VRU_BASE   (DW_LANE_IS_VRU + DW_LANE_IS_OTHER_ANIMATE)

Definition at line 242 of file Lane.h.

◆ DW_PATH_SEGMENT_MAX_COUT

#define DW_PATH_SEGMENT_MAX_COUT   8U

Definition at line 373 of file Lane.h.

Enumeration Type Documentation

◆ dwLaneClass

Classification of lanes.

Enumerator
DW_LANE_INVALID 

invalid class

DW_LANE_VEHICLE 

Regular vehicle lane.

DW_LANE_HOV 

Lane for prioritized vehicles.

DW_LANE_CENTER_TURN 

Center left turn lane.

DW_LANE_SUICIDE 

Shared bi-directional lane.

DW_LANE_BUS 

Lanes only for buses.

DW_LANE_TAXI 

Lanes only for taxis.

DW_LANE_LOAD_UNLOAD 

Lanes only for loading/unloading.

DW_LANE_REVERSIBLE 

Different direction at different times.

DW_LANE_SHOULDER 

Shoulder, not a real lane.

DW_LANE_DIVIDER_LANE 

Not blocked, but not for driving.

DW_LANE_BIKE 

bike lane or bike crossing

DW_LANE_PEDESTRIAN 

pedestrian crossing or path

DW_LANE_TRAIN 

train or tram line

DW_LANE_ANIMAL 

animal crossing

DW_LANE_OTHER 

lane undefined type

Definition at line 249 of file Lane.h.

◆ dwLaneEdgeClass

Edge main classes.

Mutually exclusive. Describes a top level classification into five main classes that are tied to actionable outcomes.

Enumerator
DW_LANE_EDGE_CLASS_INVALID 
DW_LANE_EDGE_CLASS_MARKED_CROSSABLE 
DW_LANE_EDGE_CLASS_MARKED_DONT_CROSS 
DW_LANE_EDGE_CLASS_PHYSICAL 
DW_LANE_EDGE_CLASS_VIRTUAL 
DW_LANE_EDGE_CLASS_UNKNOWN 
DW_LANE_EDGE_CLASS_COUNT 

Definition at line 66 of file Lane.h.

◆ dwLaneEdgeColor

Edge color, mutually exclusive. Describes the first encountered from inside lane.

Enumerator
DW_LANE_EDGE_COLOR_INVALID 
DW_LANE_EDGE_COLOR_WHITE 
DW_LANE_EDGE_COLOR_YELLOW 
DW_LANE_EDGE_COLOR_BLUE 
DW_LANE_EDGE_COLOR_RED 
DW_LANE_EDGE_COLOR_GREEN 
DW_LANE_EDGE_COLOR_BLACK 
DW_LANE_EDGE_COLOR_ORANGE 
DW_LANE_EDGE_COLOR_MIXED 
DW_LANE_EDGE_COLOR_UNKNOWN 
DW_LANE_EDGE_COLOR_OTHER 

Definition at line 79 of file Lane.h.

◆ dwLaneEdgeStyle

Edge style, mutually exclusive. Describes the first encountered from inside lane.

Enumerator
DW_LANE_EDGE_STYLE_INVALID 
DW_LANE_EDGE_STYLE_SOLID_SINGLE 

Solid line, by itself.

DW_LANE_EDGE_STYLE_SOLID_GROUP 

Solid line, part of group.

DW_LANE_EDGE_STYLE_SHORT_DASHED_SINGLE 

Short dashed line, by itself.

DW_LANE_EDGE_STYLE_SHORT_DASHED_GROUP 

Short dashed line, part of group.

DW_LANE_EDGE_STYLE_LONG_DASHED_SINGLE 

Long dashed line.

DW_LANE_EDGE_STYLE_LONG_DASHED_GROUP 

Long dashed line.

DW_LANE_EDGE_STYLE_CIRCULAR_DOT_SINGLE 

Such as Botts dot, by itself.

DW_LANE_EDGE_STYLE_CIRCULAR_DOT_GROUP 

Such as Botts dot, part of group.

DW_LANE_EDGE_STYLE_SQUARE_DOT_SINGLE 

Such as square reflex, by itself.

DW_LANE_EDGE_STYLE_SQUARE_DOT_GROUP 

Such as square reflex, part of group.

DW_LANE_EDGE_STYLE_ZIGZAG_SINGLE 

Zig-zag line, by itself.

DW_LANE_EDGE_STYLE_ZIGZAG_GROUP 

Zig-zag line, part of group.

DW_LANE_EDGE_STYLE_RUMBLE_SINGLE 

Rumble strip, by itself.

DW_LANE_EDGE_STYLE_RUMBLE_GROUP 

Rumble strip, part of group.

DW_LANE_EDGE_STYLE_OTHER_MARKING_SINGLE 

Other type of marking, by itself.

DW_LANE_EDGE_STYLE_OTHER_MARKING_GROUP 

Other type of marking, part of group.

DW_LANE_EDGE_STYLE_AREA 

Gore area.

DW_LANE_EDGE_STYLE_ROAD_BOUNDARY 

Transition of material, grass, gravel.

DW_LANE_EDGE_STYLE_PHYSICAL_DIVIDER 

Physical.

DW_LANE_EDGE_STYLE_TALL_CURB 

Curb, such as transition to sidewalk.

DW_LANE_EDGE_STYLE_DRIVABLE_CURB 

Curb, such as drivable into driveway.

DW_LANE_EDGE_STYLE_WALKABLE_CURB 

Curb, intended for pedestrian entry.

DW_LANE_EDGE_STYLE_FENCE 

Fence.

DW_LANE_EDGE_STYLE_BARRIER 

Barrier.

DW_LANE_EDGE_STYLE_WALL 

Vertical wall.

DW_LANE_EDGE_STYLE_OBSTACLE_BARS 

Physical vertical bars.

DW_LANE_EDGE_STYLE_OTHER_PHYSICAL 

Other physical.

DW_LANE_EDGE_STYLE_INTERSECTION 

Virtual during intersection.

DW_LANE_EDGE_STYLE_SPLIT_LEFT 

Virtual during split to left.

DW_LANE_EDGE_STYLE_SPLIT_RIGHT 

Virtual during split to right.

DW_LANE_EDGE_STYLE_MERGE_LEFT 

Virtual during merge to left.

DW_LANE_EDGE_STYLE_MERGE_RIGHT 

Virtual during merge to right.

DW_LANE_EDGE_STYLE_PARKING 

Virtual with adjacent parking.

DW_LANE_EDGE_STYLE_OTHER_VIRTUAL 

Other virtual.

DW_LANE_EDGE_STYLE_UNKNOWN 

No information.

DW_LANE_EDGE_STYLE_OTHER 

Other than above categories.

Definition at line 98 of file Lane.h.

◆ dwLaneEndType

The type of lane dwLane begins and end.

Enumerator
DW_LANE_END_INVALID 

invalid class

DW_LANE_END_DISAPPEARS 

Ends in the real world (stub)

DW_LANE_END_CHANGES 

Changes (such as from vehicle lane to divider)

DW_LANE_END_OCCLUSION 

Cannot see past the end.

DW_LANE_END_OUT_OF_SCOPE 

Continues but is at the end of local scope.

DW_LANE_END_UNKNOWN 

Unknown.

Definition at line 272 of file Lane.h.

◆ dwLaneOccupancy

Lane occupancy, indicating if we know whether there is another actor in a certain portion of lane.

Enumerator
DW_LANE_OCCUPANCY_INVALID 

Invalid occupancy class.

DW_LANE_OCCUPANCY_UNKNOWN 

May be occupied, may not be.

DW_LANE_OCCUPANCY_UNOCCUPIED 

Is unoccupied.

DW_LANE_OCCUPANCY_OCCUPIED 

Is occupied.

Definition at line 56 of file Lane.h.

◆ dwLaneRelationType

Types of relationship between a pair of lane segments.

Enumerator
DW_LANE_RELATION_NONE 

No relation/invalid.

DW_LANE_RELATION_CONTINUE 

Continues (for example because vehicle lane changes into divider lane)

DW_LANE_RELATION_CROSSING 

Two intersect at a point.

DW_LANE_RELATION_MERGE 

Two are joining at some point.

DW_LANE_RELATION_FORK 

Two are forking apart at some point.

DW_LANE_RELATION_CORRESPONDENCE 

Two segments are corresponding.

Definition at line 419 of file Lane.h.

◆ dwLaneTurnsAllowed

The turn restrictions on a dwLane.

Enumerator
DW_LANE_TURN_INVALID 

invalid

DW_LANE_TURN_LEFT 

Left turn allowed.

DW_LANE_TURN_STRAIGHT 

Straight ahead allowed.

DW_LANE_TURN_RIGHT 

Right allowed.

DW_LANE_TURN_UTURN 

U-turn allowed.

DW_LANE_TURN_DIAGONAL_LEFT 

Diagonal left allowed.

DW_LANE_TURN_DIAGONAL_RIGHT 

Diagonal right allowed.

DW_LANE_TURN_UNMARKED 

Unmarked.

DW_LANE_TURN_UNKNOWN 

Unknown.

Definition at line 284 of file Lane.h.