#include <wall.H>
Public Member Functions | |
wall_t (double orient_, double ref_x_, double ref_y_, double ref_z_) | |
void | update_ref_pos (motion_data_t motion_, nav_data_t nav_) |
void | fill_wall (const scan_gp_data_t &scan_gp, unsigned counter) |
void | fill_wall (const survey_gp_data_t &scan_gp, unsigned counter) |
unsigned | max_columns () |
unsigned | max_cells (unsigned strip_) |
const cell_t & | cell (unsigned r, unsigned c) const |
cell_t & | cell (unsigned r, unsigned c) |
void | get_ref_pos (double &x_, double &y_) const |
bool | global_stripe_pos (unsigned strip_id, unsigned cell_id_, double &x_, double &y_) const |
stripe_t & | stripe (unsigned index_) |
void | sort_stripe (unsigned strip_id) |
unsigned | stripe_counter (unsigned strip_id) |
void | flush_stripe (unsigned strip_id) |
void | print () |
Private Member Functions | |
bool | strip_for_pt (double x, double y, double z, unsigned &strip_set_id, unsigned &strip_id) |
Private Attributes | |
double | m_orient |
double | m_ref_x |
double | m_ref_y |
double | m_ref_z |
double | m_ground_z |
double | m_dis_hopped |
double | m_cell_size |
std::vector< stripe_t * > | m_strips [2] |
wall_t::wall_t | ( | double | orient_, | |
double | ref_x_, | |||
double | ref_y_, | |||
double | ref_z_ | |||
) |
References m_cell_size, m_ground_z, m_ref_x, m_ref_y, m_ref_z, and m_strips.
const cell_t & wall_t::cell | ( | unsigned | r, | |
unsigned | c | |||
) | const |
References m_strips.
Referenced by cajun::mesh_extractor_t::extract(), global_stripe_pos(), and cajun::mesh_extractor_t::triangle_at().
void wall_t::fill_wall | ( | const survey_gp_data_t & | scan_gp, | |
unsigned | counter | |||
) |
void wall_t::fill_wall | ( | const scan_gp_data_t & | scan_gp, | |
unsigned | counter | |||
) |
References m_strips, strip_for_pt(), cajun::point_3d_t::x, cajun::point_3d_t::y, and cajun::point_3d_t::z.
Referenced by cajun::point_collector_t< T >::fill_wall().
void wall_t::flush_stripe | ( | unsigned | strip_id | ) |
References m_strips.
Referenced by cajun::mesh_extractor_t::extract().
bool wall_t::global_stripe_pos | ( | unsigned | strip_id, | |
unsigned | cell_id_, | |||
double & | x_, | |||
double & | y_ | |||
) | const |
References cell(), cajun::cell_t::empty(), cajun::stripe_t::get_cell(), cajun::cell_t::get_point(), m_cell_size, m_orient, m_ref_x, m_ref_y, m_strips, and stripe().
Referenced by cajun::mesh_extractor_t::publish_stripe().
unsigned wall_t::max_cells | ( | unsigned | strip_ | ) |
References m_strips.
Referenced by cajun::mesh_extractor_t::extract(), and cajun::mesh_extractor_t::mesh_extractor_t().
unsigned wall_t::max_columns | ( | ) |
References m_strips.
Referenced by cajun::mesh_extractor_t::update_end_stp_id().
void wall_t::print | ( | ) |
References m_strips.
void wall_t::sort_stripe | ( | unsigned | strip_id | ) |
References m_strips.
Referenced by cajun::mesh_extractor_t::update_end_stp_id().
bool wall_t::strip_for_pt | ( | double | x, | |
double | y, | |||
double | z, | |||
unsigned & | strip_set_id, | |||
unsigned & | strip_id | |||
) | [private] |
References atrack_dis(), m_cell_size, m_dis_hopped, m_ground_z, m_orient, m_ref_x, m_ref_y, and m_strips.
Referenced by fill_wall().
stripe_t & wall_t::stripe | ( | unsigned | index_ | ) |
References m_strips.
Referenced by global_stripe_pos(), and cajun::mesh_extractor_t::publish_stripe().
unsigned wall_t::stripe_counter | ( | unsigned | strip_id | ) |
References m_strips.
Referenced by cajun::mesh_extractor_t::update_end_stp_id().
void wall_t::update_ref_pos | ( | motion_data_t | motion_, | |
nav_data_t | nav_ | |||
) |
References m_dis_hopped, m_orient, m_ref_x, and m_ref_y.
Referenced by cajun::point_collector_t< T >::fill_wall().
double cajun::wall_t::m_cell_size [private] |
Referenced by global_stripe_pos(), strip_for_pt(), and wall_t().
double cajun::wall_t::m_dis_hopped [private] |
Referenced by strip_for_pt(), and update_ref_pos().
double cajun::wall_t::m_ground_z [private] |
Referenced by strip_for_pt(), and wall_t().
double cajun::wall_t::m_orient [private] |
Referenced by global_stripe_pos(), strip_for_pt(), and update_ref_pos().
double cajun::wall_t::m_ref_x [private] |
Referenced by get_ref_pos(), global_stripe_pos(), strip_for_pt(), update_ref_pos(), and wall_t().
double cajun::wall_t::m_ref_y [private] |
Referenced by get_ref_pos(), global_stripe_pos(), strip_for_pt(), update_ref_pos(), and wall_t().
double cajun::wall_t::m_ref_z [private] |
Referenced by wall_t().
std::vector<stripe_t*> cajun::wall_t::m_strips[2] [private] |
Referenced by cell(), fill_wall(), flush_stripe(), global_stripe_pos(), max_cells(), max_columns(), print(), sort_stripe(), strip_for_pt(), stripe(), stripe_counter(), and wall_t().