cajun::spatial_to_lane_map_t Class Reference
#include <spatial_to_lane_map.H>
List of all members.
Public Member Functions |
| spatial_to_lane_map_t (rndf_t const *rndf_, double cell_size_) |
void | update_spatial_map (std::vector< rndf_lane_data_t > &rndf_list_) |
bool | neighboring_lanes (std::vector< rndf_t::lane_seg_t > &lanes_seg, double x_, double y_, double rad_) |
bool | near_any_lane (double x_, double y_, double rad_) |
| Returns true if given point is near any lane.
|
void | init () |
void | init_tile (unsigned x, unsigned y) |
void | fini_tile () |
void | visit (unsigned x_, unsigned y_, lane_grid_t::iterator_t &iter_) |
Private Member Functions |
void | update_by_rndf_lane (rndf_lane_data_t &l_data_) |
bool | wp_id_exist (lane_grid_t::iterator_t &iter_, rndf_t::waypoint_id_t const &wp_id_1_, rndf_t::waypoint_id_t const &wp_id_2_) |
void | add_wp_ids (lane_grid_t::iterator_t &iter_, rndf_t::waypoint_id_t const &wp_id_1_, rndf_t::waypoint_id_t const &wp_id_2_) |
void | print_grid () |
void | print_lane_list (std::vector< rndf_t::lane_seg_t > const &lane_list_) |
void | get_lanes_from_cell (lane_grid_t::iterator_t &iter, std::vector< rndf_t::lane_seg_t > &lane_seg) |
bool | lane_seg_in_list (std::vector< rndf_t::lane_seg_t > const &lane_list_, rndf_t::lane_seg_t const &lane_seg_) |
Private Attributes |
lane_grid_t | m_lane_grid |
rndf_t const * | m_rndf |
double | m_cell_size |
Constructor & Destructor Documentation
cajun::spatial_to_lane_map_t::spatial_to_lane_map_t |
( |
rndf_t const * |
rndf_, |
|
|
double |
cell_size_ | |
|
) |
| | [inline] |
Member Function Documentation
void spatial_to_lane_map_t::add_wp_ids |
( |
lane_grid_t::iterator_t & |
iter_, |
|
|
rndf_t::waypoint_id_t const & |
wp_id_1_, |
|
|
rndf_t::waypoint_id_t const & |
wp_id_2_ | |
|
) |
| | [private] |
void cajun::spatial_to_lane_map_t::fini_tile |
( |
|
) |
[inline] |
void cajun::spatial_to_lane_map_t::get_lanes_from_cell |
( |
lane_grid_t::iterator_t & |
iter, |
|
|
std::vector< rndf_t::lane_seg_t > & |
lane_seg | |
|
) |
| | [private] |
void cajun::spatial_to_lane_map_t::init |
( |
|
) |
[inline] |
void cajun::spatial_to_lane_map_t::init_tile |
( |
unsigned |
x, |
|
|
unsigned |
y | |
|
) |
| | [inline] |
bool cajun::spatial_to_lane_map_t::lane_seg_in_list |
( |
std::vector< rndf_t::lane_seg_t > const & |
lane_list_, |
|
|
rndf_t::lane_seg_t const & |
lane_seg_ | |
|
) |
| | [private] |
bool spatial_to_lane_map_t::near_any_lane |
( |
double |
x_, |
|
|
double |
y_, |
|
|
double |
rad_ | |
|
) |
| | |
bool spatial_to_lane_map_t::neighboring_lanes |
( |
std::vector< rndf_t::lane_seg_t > & |
lanes_seg, |
|
|
double |
x_, |
|
|
double |
y_, |
|
|
double |
rad_ | |
|
) |
| | |
void spatial_to_lane_map_t::print_grid |
( |
|
) |
[private] |
void cajun::spatial_to_lane_map_t::print_lane_list |
( |
std::vector< rndf_t::lane_seg_t > const & |
lane_list_ |
) |
[private] |
void spatial_to_lane_map_t::update_by_rndf_lane |
( |
rndf_lane_data_t & |
l_data_ |
) |
[private] |
void spatial_to_lane_map_t::update_spatial_map |
( |
std::vector< rndf_lane_data_t > & |
rndf_list_ |
) |
|
void spatial_to_lane_map_t::visit |
( |
unsigned |
x_, |
|
|
unsigned |
y_, |
|
|
lane_grid_t::iterator_t & |
iter_ | |
|
) |
| | |
bool spatial_to_lane_map_t::wp_id_exist |
( |
lane_grid_t::iterator_t & |
iter_, |
|
|
rndf_t::waypoint_id_t const & |
wp_id_1_, |
|
|
rndf_t::waypoint_id_t const & |
wp_id_2_ | |
|
) |
| | [private] |
Member Data Documentation
The documentation for this class was generated from the following files: