maliput
|
Multitude of parameters for generating an OBJ model of a road surface, with sensible defaults.
#include <include/maliput/utility/generate_obj.h>
Public Attributes | |
double | max_grid_unit {1.0} |
Maximum distance between rendered vertices, in either s- or r-dimension, along a lane's surface. More... | |
double | min_grid_resolution {5.0} |
Minimum number of vertices, in either s- or r-dimension, along a lane's surface. More... | |
bool | draw_stripes {true} |
Draw stripes along lane_bounds() of each lane? More... | |
bool | draw_arrows {true} |
Draw arrows at start/finish of each lane? More... | |
bool | draw_lane_haze {true} |
Draw highlighting swath with lane_bounds() of each lane? More... | |
bool | draw_branch_points {true} |
Draw branching at BranchPoints? More... | |
bool | draw_elevation_bounds {true} |
Draw highlighting of elevation_bounds of each lane? More... | |
bool | off_grid_mesh_generation {false} |
Reduce the amount of vertices from the road by creating quads big enough which don't violate some tolerance. More... | |
double | simplify_mesh_threshold {0.} |
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. More... | |
double | stripe_width {0.25} |
Absolute width of stripes. More... | |
double | stripe_elevation {0.05} |
Absolute elevation (h) of stripes above road surface. More... | |
double | arrow_elevation {0.05} |
Absolute elevation (h) of arrows above road surface. More... | |
double | lane_haze_elevation {0.02} |
Absolute elevation (h) of lane-haze above road surface. More... | |
double | branch_point_elevation {0.5} |
Absolute elevation (h) of branch-points above road surface. More... | |
double | branch_point_height {0.5} |
Height of rendered branch-point arrows. More... | |
api::InertialPosition | origin {0., 0., 0.} |
Origin of OBJ coordinates relative to Inertial -frame. More... | |
std::vector< api::SegmentId > | highlighted_segments |
ID's of specific segments to be highlighted. More... | |
double arrow_elevation {0.05} |
Absolute elevation (h) of arrows above road surface.
double branch_point_elevation {0.5} |
Absolute elevation (h) of branch-points above road surface.
double branch_point_height {0.5} |
Height of rendered branch-point arrows.
bool draw_arrows {true} |
Draw arrows at start/finish of each lane?
bool draw_branch_points {true} |
Draw branching at BranchPoints?
bool draw_elevation_bounds {true} |
Draw highlighting of elevation_bounds of each lane?
bool draw_lane_haze {true} |
Draw highlighting swath with lane_bounds() of each lane?
bool draw_stripes {true} |
Draw stripes along lane_bounds() of each lane?
std::vector<api::SegmentId> highlighted_segments |
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.)
double lane_haze_elevation {0.02} |
Absolute elevation (h) of lane-haze above road surface.
double max_grid_unit {1.0} |
Maximum distance between rendered vertices, in either s- or r-dimension, along a lane's surface.
double min_grid_resolution {5.0} |
Minimum number of vertices, in either s- or r-dimension, along a lane's surface.
bool off_grid_mesh_generation {false} |
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.
api::InertialPosition origin {0., 0., 0.} |
Origin of OBJ coordinates relative to Inertial
-frame.
double simplify_mesh_threshold {0.} |
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.
double stripe_elevation {0.05} |
Absolute elevation (h) of stripes above road surface.
double stripe_width {0.25} |
Absolute width of stripes.