CARLA
Loading...
Searching...
No Matches
Public Attributes | List of all members
AOpenDriveGenerator::FRoadSurfaceRaster::FCell Struct Reference

#include <OpenDriveGenerator.h>

Public Attributes

uint8 bDrive = 0
 
uint8 bDriveCovered = 0
 Like bDrive but WITHOUT the rasterizer's negative barycentric tolerance: set only when the cell center is genuinely inside a driving triangle.
 
uint8 bPaved = 0
 
float DistToDrive = -1.0f
 
float DistToPaved = -1.0f
 
float DriveMaxZ = 0.0f
 
float DriveMinZ = 0.0f
 
float GapSurfaceZ = FLT_MAX
 Lofted road-surface height over a median/junction gap cell (FLT_MAX elsewhere).
 
float NearestPavedMinZ = 0.0f
 
float PavedMinZ = 0.0f
 

Detailed Description

Definition at line 168 of file OpenDriveGenerator.h.

Member Data Documentation

◆ bDrive

uint8 AOpenDriveGenerator::FRoadSurfaceRaster::FCell::bDrive = 0

◆ bDriveCovered

uint8 AOpenDriveGenerator::FRoadSurfaceRaster::FCell::bDriveCovered = 0

Like bDrive but WITHOUT the rasterizer's negative barycentric tolerance: set only when the cell center is genuinely inside a driving triangle.

bDrive's tolerance lets grazing triangles claim cells whose surface is mostly uncovered; gap-filling must use the strict flag or those cells read as "road" and never get filled.

Definition at line 188 of file OpenDriveGenerator.h.

Referenced by AOpenDriveGenerator::FRoadSurfaceRaster::RasterizeTriangle().

◆ bPaved

uint8 AOpenDriveGenerator::FRoadSurfaceRaster::FCell::bPaved = 0

◆ DistToDrive

float AOpenDriveGenerator::FRoadSurfaceRaster::FCell::DistToDrive = -1.0f

◆ DistToPaved

float AOpenDriveGenerator::FRoadSurfaceRaster::FCell::DistToPaved = -1.0f

◆ DriveMaxZ

float AOpenDriveGenerator::FRoadSurfaceRaster::FCell::DriveMaxZ = 0.0f

◆ DriveMinZ

float AOpenDriveGenerator::FRoadSurfaceRaster::FCell::DriveMinZ = 0.0f

◆ GapSurfaceZ

float AOpenDriveGenerator::FRoadSurfaceRaster::FCell::GapSurfaceZ = FLT_MAX

Lofted road-surface height over a median/junction gap cell (FLT_MAX elsewhere).

Written by GenerateMedianFill, which runs before GenerateGroundPlane; the terrain raises itself flush to this so the gap reads as level grass, not a sunken pit.

Definition at line 180 of file OpenDriveGenerator.h.

◆ NearestPavedMinZ

float AOpenDriveGenerator::FRoadSurfaceRaster::FCell::NearestPavedMinZ = 0.0f

◆ PavedMinZ

float AOpenDriveGenerator::FRoadSurfaceRaster::FCell::PavedMinZ = 0.0f

The documentation for this struct was generated from the following file: