maliput::utility

Type Alias ObjFeatures

Source
pub type ObjFeatures = Features;

Aliased Type§

struct ObjFeatures {
Show 17 fields pub max_grid_unit: f64, pub min_grid_resolution: f64, pub draw_stripes: bool, pub draw_arrows: bool, pub draw_lane_haze: bool, pub draw_branch_points: bool, pub draw_elevation_bounds: bool, pub off_grid_mesh_generation: bool, pub simplify_mesh_threshold: f64, pub stripe_width: f64, pub stripe_elevation: f64, pub arrow_elevation: f64, pub lane_haze_elevation: f64, pub branch_point_elevation: f64, pub branch_point_height: f64, pub origin: [f64; 3], pub highlighted_segments: Vec<String>,
}

Fields§

§max_grid_unit: f64

Maximum distance between rendered vertices, in either s- or r-dimension, along a lane’s surface

§min_grid_resolution: f64

Minimum number of vertices, in either s- or r-dimension, along a lane’s surface.

§draw_stripes: bool

Draw stripes along lane_bounds() of each lane?

§draw_arrows: bool

Draw arrows at start/finish of each lane?

§draw_lane_haze: bool

Draw highlighting swath with lane_bounds() of each lane?

§draw_branch_points: bool

Draw branching at BranchPoints?

§draw_elevation_bounds: bool

Draw highlighting of elevation_bounds of each lane?

§off_grid_mesh_generation: bool

Reduce the amount of vertices from the road by creating quads big enough which don’t violate some tolerance. This could affect the accuracy of curved roads.

§simplify_mesh_threshold: f64

Tolerance for mesh simplification, or the distance from a vertex to an edge line or to a face plane at which said vertex is considered redundant (i.e. it is not necessary to further define those geometrical entities), in meters. If equal to 0, no mesh simplification will take place. If equal to the road linear tolerance, mesh simplification will be constrained enough so as to keep mesh geometrical accuracy. If greater than the road linear tolerance, mesh size reductions will come at the expense of geometrical accuracy.

§stripe_width: f64

Absolute width of stripes

§stripe_elevation: f64

Absolute elevation (h) of stripes above road surface

§arrow_elevation: f64

Absolute elevation (h) of arrows above road surface

§lane_haze_elevation: f64

Absolute elevation (h) of lane-haze above road surface

§branch_point_elevation: f64

Absolute elevation (h) of branch-points above road surface

§branch_point_height: f64

Height of rendered branch-point arrows

§origin: [f64; 3]

Origin of OBJ coordinates relative to Inertial-frame

§highlighted_segments: Vec<String>

ID’s of specific segments to be highlighted. (If non-empty, then the Segments not specified on this list will be rendered as grayed-out.)