#include <stripe.H>
Public Member Functions | |
| stripe_t (float cell_len, double ground_z, double heading) | |
| ~stripe_t () | |
| void | sort () |
| size_t | num_cells () const |
| number of cells within stripe | |
| size_t | num_points () const |
| total number of points in all cells of stripe | |
| void | print_stripe () const |
| call print_cell for every cell in stripe | |
| unsigned | get_counter () const |
| double | get_ground_z () const |
| void | flush () |
| call cell cleanup functino for all cells in stripe | |
| void | fill_strip (const point_3d_t &pt, const point_3d_t &start_pt, unsigned counter) |
| take single scan_gp scan and fill cells with points | |
| const cell_t & | get_cell (unsigned id_) const |
| retrieve single cell in stripe | |
| cell_t & | get_cell (unsigned id_) |
| retrieve single cell in stripe | |
Private Attributes | |
| cell_t | m_cells [MAX_CELLS] |
| double | m_cell_len |
| double | m_ground_z |
| unsigned | m_last_counter |
| double | m_heading |
| cajun::stripe_t::stripe_t | ( | float | cell_len, | |
| double | ground_z, | |||
| double | heading | |||
| ) | [inline] |
References m_cell_len, m_cells, m_ground_z, m_heading, m_last_counter, MAX_CELLS, cajun::cell_t::set_cell_size(), and cajun::cell_t::set_heading().
| cajun::stripe_t::~stripe_t | ( | ) | [inline] |
| void stripe_t::fill_strip | ( | const point_3d_t & | pt, | |
| const point_3d_t & | start_pt, | |||
| unsigned | counter | |||
| ) |
take single scan_gp scan and fill cells with points
| scan_gp_ | single scan_gp_data_t scan |
References cajun::cell_t::insert_point(), m_cell_len, m_cells, m_ground_z, m_last_counter, MAX_CELLS, cajun::point_3d_t::x, cajun::point_3d_t::y, and cajun::point_3d_t::z.
| void stripe_t::flush | ( | ) |
| cell_t & stripe_t::get_cell | ( | unsigned | id_ | ) |
| const cell_t & stripe_t::get_cell | ( | unsigned | id_ | ) | const |
retrieve single cell in stripe
| id_ | cell id |
References m_cells, and MAX_CELLS.
Referenced by cajun::wall_t::global_stripe_pos(), and cajun::mesh_extractor_t::publish_stripe().
| unsigned stripe_t::get_counter | ( | ) | const |
References m_last_counter.
| double stripe_t::get_ground_z | ( | ) | const |
References m_ground_z.
Referenced by cajun::mesh_extractor_t::publish_stripe().
| size_t stripe_t::num_cells | ( | ) | const |
number of cells within stripe
References MAX_CELLS.
Referenced by cajun::mesh_extractor_t::publish_stripe().
| size_t stripe_t::num_points | ( | ) | const |
| void stripe_t::print_stripe | ( | ) | const |
double cajun::stripe_t::m_cell_len [private] |
Referenced by fill_strip(), and stripe_t().
cell_t cajun::stripe_t::m_cells[MAX_CELLS] [private] |
Referenced by fill_strip(), flush(), get_cell(), num_points(), print_stripe(), sort(), and stripe_t().
double cajun::stripe_t::m_ground_z [private] |
Referenced by fill_strip(), get_ground_z(), and stripe_t().
double cajun::stripe_t::m_heading [private] |
Referenced by stripe_t().
unsigned cajun::stripe_t::m_last_counter [private] |
Referenced by fill_strip(), get_counter(), and stripe_t().
1.6.1