Structs that define the map data.
|
enum | dwMapsColor {
DW_MAPS_COLOR_UNKNOWN = 1 << 0,
DW_MAPS_COLOR_WHITE = 1 << 1,
DW_MAPS_COLOR_LIGHT_GRAY = 1 << 2,
DW_MAPS_COLOR_GRAY = 1 << 3,
DW_MAPS_COLOR_DARK_GRAY = 1 << 4,
DW_MAPS_COLOR_BLACK = 1 << 5,
DW_MAPS_COLOR_RED = 1 << 6,
DW_MAPS_COLOR_YELLOW = 1 << 7,
DW_MAPS_COLOR_GREEN = 1 << 8,
DW_MAPS_COLOR_CYAN = 1 << 9,
DW_MAPS_COLOR_BLUE = 1 << 10,
DW_MAPS_COLOR_ORANGE = 1 << 11
} |
| Colors. More...
|
|
enum | dwMapsDirection {
DW_MAPS_DIRECTION_FORWARD = 1 << 0,
DW_MAPS_DIRECTION_BACKWARD = 1 << 1,
DW_MAPS_DIRECTION_BOTH = 1 << 2,
DW_MAPS_DIRECTION_NONE = 1 << 3
} |
| Direction compared to geometry (polyline order). More...
|
|
enum | dwMapsFeatureType {
DW_MAPS_FEATURE_UNKNOWN = 0,
DW_MAPS_FEATURE_TRAFFIC_SIGN = 1 << 16,
DW_MAPS_FEATURE_TRAFFIC_LIGHT = 1 << 17,
DW_MAPS_FEATURE_ROAD_MARKING = 1 << 18,
DW_MAPS_FEATURE_POLE = 1 << 19,
DW_MAPS_FEATURE_SPEEDBUMP = 1 << 20
} |
| Feature types. More...
|
|
enum | dwMapsHDCompliance {
DW_MAPS_HD_COMPLIANCE_NO = 0,
DW_MAPS_HD_COMPLIANCE_YES = 1
} |
| Enum for road segment hd compliance. More...
|
|
enum | dwMapsLaneDividerType {
DW_MAPS_LANE_DIVIDER_TYPE_INVISIBLE = 1 << 0,
DW_MAPS_LANE_DIVIDER_TYPE_LONG_DASHED = 1 << 1,
DW_MAPS_LANE_DIVIDER_TYPE_DOUBLE_SOLID = 1 << 2,
DW_MAPS_LANE_DIVIDER_TYPE_SINGLE_SOLID = 1 << 3,
DW_MAPS_LANE_DIVIDER_TYPE_SOLID_DASHED = 1 << 4,
DW_MAPS_LANE_DIVIDER_TYPE_DASHED_SOLID = 1 << 5,
DW_MAPS_LANE_DIVIDER_TYPE_SHORT_DASHED = 1 << 6,
DW_MAPS_LANE_DIVIDER_TYPE_SHADED_AREA = 1 << 7,
DW_MAPS_LANE_DIVIDER_TYPE_DASHED_BLOCKS = 1 << 8,
DW_MAPS_LANE_DIVIDER_TYPE_DOUBLE_DASHED = 1 << 9,
DW_MAPS_LANE_DIVIDER_TYPE_CROSSING_ALERT = 1 << 10,
DW_MAPS_LANE_DIVIDER_TYPE_CENTER_TURN_LANE = 1 << 12,
DW_MAPS_LANE_DIVIDER_TYPE_PHYSICAL = 1 << 13,
DW_MAPS_LANE_DIVIDER_TYPE_CURB = 1 << 14,
DW_MAPS_LANE_DIVIDER_TYPE_WALL_FLAT = 1 << 15,
DW_MAPS_LANE_DIVIDER_TYPE_WALL_TUNNEL = 1 << 16,
DW_MAPS_LANE_DIVIDER_TYPE_BARRIER_JERSEY = 1 << 17,
DW_MAPS_LANE_DIVIDER_TYPE_BARRIER_SOUND = 1 << 18,
DW_MAPS_LANE_DIVIDER_TYPE_BARRIER_CABLE = 1 << 19,
DW_MAPS_LANE_DIVIDER_TYPE_GUARDRAIL = 1 << 20,
DW_MAPS_LANE_DIVIDER_TYPE_FENCE = 1 << 21,
DW_MAPS_LANE_DIVIDER_TYPE_RUBBER_POLE = 1 << 22,
DW_MAPS_LANE_DIVIDER_TYPE_ROAD_STUDS = 1 << 23,
DW_MAPS_LANE_DIVIDER_TYPE_ROAD_EDGE = 1 << 24,
DW_MAPS_LANE_DIVIDER_TYPE_ALL = (1u << 25) - 1u
} |
| Lane divider type and filter values. More...
|
|
enum | dwMapsLaneGeometry {
DW_MAPS_LANE_GEOMETRY_LANEDIVIDERLEFT = DW_SIDE_LEFT,
DW_MAPS_LANE_GEOMETRY_LANEDIVIDERRIGHT = DW_SIDE_RIGHT,
DW_MAPS_LANE_GEOMETRY_LANECENTER = DW_SIDE_CENTER
} |
| Enum for selection of lane geometry. More...
|
|
enum | dwMapsLaneTraversability {
DW_MAPS_LANE_TRAVERSABILITY_NONE = 0,
DW_MAPS_LANE_TRAVERSABILITY_LEFT_TO_RIGHT = 1 << 0,
DW_MAPS_LANE_TRAVERSABILITY_RIGHT_TO_LEFT = 1 << 1
} |
|
enum | dwMapsLaneType {
DW_MAPS_LANE_TYPE_REGULAR = 1 << 0,
DW_MAPS_LANE_TYPE_SHOULDER = 1 << 1,
DW_MAPS_LANE_TYPE_DRIVABLE_SHOULDER = 1 << 2,
DW_MAPS_LANE_TYPE_CAR_POOL = 1 << 3,
DW_MAPS_LANE_TYPE_ENTRY = 1 << 4,
DW_MAPS_LANE_TYPE_EXIT = 1 << 5,
DW_MAPS_LANE_TYPE_CONNECT = 1 << 6,
DW_MAPS_LANE_TYPE_EMERGENCY = 1 << 7,
DW_MAPS_LANE_TYPE_STOP = 1 << 8,
DW_MAPS_LANE_TYPE_EMERGENCY_STOP = 1 << 9,
DW_MAPS_LANE_TYPE_ACCELERATE = 1 << 10,
DW_MAPS_LANE_TYPE_DECELERATE = 1 << 11,
DW_MAPS_LANE_TYPE_AVOID_DANGER = 1 << 12,
DW_MAPS_LANE_TYPE_INTERSECTION = 1 << 13,
DW_MAPS_LANE_TYPE_TOLL_GATE = 1 << 14,
DW_MAPS_LANE_TYPE_CHECK_POINT = 1 << 15,
DW_MAPS_LANE_TYPE_TURN_AROUND = 1 << 16,
DW_MAPS_LANE_TYPE_FORMING = 1 << 17,
DW_MAPS_LANE_TYPE_DESTROY = 1 << 18,
DW_MAPS_LANE_TYPE_RAMP = 1 << 19,
DW_MAPS_LANE_TYPE_BICYCLE = 1 << 20,
DW_MAPS_LANE_TYPE_PEDESTRIAN = 1 << 21
} |
| Lane types. More...
|
|
enum | dwMapsMaterial {
DW_MAPS_MATERIAL_UNKNOWN = 1 << 0,
DW_MAPS_MATERIAL_METAL = 1 << 1,
DW_MAPS_MATERIAL_CONCRETE = 1 << 2,
DW_MAPS_MATERIAL_STONE = 1 << 3,
DW_MAPS_MATERIAL_WOOD = 1 << 4,
DW_MAPS_MATERIAL_PLASTIC = 1 << 5,
DW_MAPS_MATERIAL_TRANSPARENT = 1 << 6,
DW_MAPS_MATERIAL_PAINT = 1 << 7,
DW_MAPS_MATERIAL_BOTTS_DOT = 1 << 8
} |
| Material type values. More...
|
|
enum | dwMapsRoadMarkingType {
DW_MAPS_ROAD_MARKING_TYPE_UNKNOWN = 0,
DW_MAPS_ROAD_MARKING_TYPE_LINE = 1,
DW_MAPS_ROAD_MARKING_TYPE_AREA = 1 << 1,
DW_MAPS_ROAD_MARKING_TYPE_ENTRY = 1 << 2,
DW_MAPS_ROAD_MARKING_TYPE_EXIT = 1 << 3,
DW_MAPS_ROAD_MARKING_TYPE_CROSSWALK = 1 << 4,
DW_MAPS_ROAD_MARKING_TYPE_SYMBOL = 1 << 5,
DW_MAPS_ROAD_MARKING_TYPE_ARROW = 1 << 6,
DW_MAPS_ROAD_MARKING_TYPE_ENTRY_LINE = DW_MAPS_ROAD_MARKING_TYPE_ENTRY | DW_MAPS_ROAD_MARKING_TYPE_LINE,
DW_MAPS_ROAD_MARKING_TYPE_EXIT_LINE = DW_MAPS_ROAD_MARKING_TYPE_EXIT | DW_MAPS_ROAD_MARKING_TYPE_LINE,
DW_MAPS_ROAD_MARKING_TYPE_ENTRY_AREA = DW_MAPS_ROAD_MARKING_TYPE_ENTRY | DW_MAPS_ROAD_MARKING_TYPE_AREA,
DW_MAPS_ROAD_MARKING_TYPE_EXIT_AREA = DW_MAPS_ROAD_MARKING_TYPE_EXIT | DW_MAPS_ROAD_MARKING_TYPE_AREA
} |
| Subtypes of DW_MAPS_FEATURE_ROAD_MARKING. More...
|
|
enum | dwMapsRoadSegmentType {
DW_MAPS_ROAD_SEGMENT_TYPE_DEFAULT = 0,
DW_MAPS_ROAD_SEGMENT_TYPE_CONTROLLED_ACCESS = 1 << 0,
DW_MAPS_ROAD_SEGMENT_TYPE_BRIDGE = 1 << 1,
DW_MAPS_ROAD_SEGMENT_TYPE_TUNNEL = 1 << 2,
DW_MAPS_ROAD_SEGMENT_TYPE_RAMP = 1 << 3,
DW_MAPS_ROAD_SEGMENT_TYPE_URBAN = 1 << 4,
DW_MAPS_ROAD_SEGMENT_TYPE_TOLLWAY = 1 << 5,
DW_MAPS_ROAD_SEGMENT_TYPE_INTERSECTION = 1 << 6,
DW_MAPS_ROAD_SEGMENT_TYPE_HIGHWAY = 1 << 7
} |
| Road segment types. More...
|
|
enum | dwMapsSide {
DW_MAPS_SIDE_LEFT = DW_SIDE_LEFT,
DW_MAPS_SIDE_RIGHT = DW_SIDE_RIGHT,
DW_MAPS_SIDE_NONE = DW_SIDE_CENTER
} |
| Enum for sides. More...
|
|
enum | dwMapsTrafficSignalState {
DW_MAPS_TRAFFIC_SIGNAL_STATE_NONE = 0,
DW_MAPS_TRAFFIC_SIGNAL_STATE_RED = 1 << 0,
DW_MAPS_TRAFFIC_SIGNAL_STATE_YELLOW = 1 << 1,
DW_MAPS_TRAFFIC_SIGNAL_STATE_GREEN = 1 << 2,
DW_MAPS_TRAFFIC_SIGNAL_STATE_STEADY = 1 << 3,
DW_MAPS_TRAFFIC_SIGNAL_STATE_FLASHING = 1 << 4,
DW_MAPS_TRAFFIC_SIGNAL_STATE_ARROW = 1 << 5,
DW_MAPS_TRAFFIC_SIGNAL_STATE_LEFT = 1 << 6,
DW_MAPS_TRAFFIC_SIGNAL_STATE_RIGHT = 1 << 7,
DW_MAPS_TRAFFIC_SIGNAL_STATE_STRAIGHT = 1 << 8,
DW_MAPS_TRAFFIC_SIGNAL_STATE_ANGLED = 1 << 9,
DW_MAPS_TRAFFIC_SIGNAL_STATE_MAXIMUM = 1 << 10
} |
| Bitmask to specify the state of a traffic signal. More...
|
|
A mask composed of traversability information from enum dwMapsLaneTraversability.
This mask is used to evaluate traversability of two adjacent lanes in a lane group.
To determine if lane change to right is allowed from the leftmost lane: int lanePairIndex = 0; // lanes 0 and 1, left to right order bool leftToRightAllowed = DW_MAPS_LANE_TRAVERSABILITY_LEFT_TO_RIGHT & laneGroup->traversability[lanePairIndex];
Definition at line 320 of file Maps.h.