Drake

Multitude of parameters for generating an OBJ model of a road surface, with sensible defaults. More...
#include <drake/automotive/maliput/utility/generate_obj.h>
Public Attributes  
double  max_grid_unit {1.0} 
Maximum distance between rendered vertices, in either s or rdimension, along a lane's surface. More...  
double  min_grid_resolution {5.0} 
Minimum number of vertices, in either s or rdimension, 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...  
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 lanehaze above road surface. More...  
double  branch_point_elevation {0.5} 
Absolute elevation (h) of branchpoints above road surface. More...  
double  branch_point_height {0.5} 
Height of rendered branchpoint arrows. More...  
api::GeoPosition  origin {0., 0., 0.} 
Origin of OBJ coordinates relative to worldframe. More...  
std::vector< api::SegmentId >  highlighted_segments 
ID's of specific segments to be highlighted. More...  
Multitude of parameters for generating an OBJ model of a road surface, with sensible defaults.
double arrow_elevation {0.05} 
Absolute elevation (h) of arrows above road surface.
double branch_point_elevation {0.5} 
Absolute elevation (h) of branchpoints above road surface.
double branch_point_height {0.5} 
Height of rendered branchpoint 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 nonempty, then the Segments not specified on this list will be rendered as grayedout.)
double lane_haze_elevation {0.02} 
Absolute elevation (h) of lanehaze above road surface.
double max_grid_unit {1.0} 
Maximum distance between rendered vertices, in either s or rdimension, along a lane's surface.
double min_grid_resolution {5.0} 
Minimum number of vertices, in either s or rdimension, along a lane's surface.
api::GeoPosition origin {0., 0., 0.} 
Origin of OBJ coordinates relative to worldframe.
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.