Stg::StgModelRanger Class Reference
#include <stage.hh>
Inherits Stg::StgModel.
Public Member Functions | |
virtual void | Load () |
virtual void | Print (char *prefix) |
StgModelRanger (StgWorld *world, StgModel *parent, stg_id_t id, char *typestr) | |
virtual | ~StgModelRanger () |
Static Public Member Functions | |
static StgModel * | Create (StgWorld *world, StgModel *parent, stg_id_t id, char *typestr) |
Public Attributes | |
stg_meters_t * | samples |
uint32_t | sensor_count |
stg_ranger_sensor_t * | sensors |
Protected Member Functions | |
virtual void | DataVisualize () |
virtual void | Shutdown () |
virtual void | Startup () |
virtual void | Update () |
Constructor & Destructor Documentation
References Stg::stg_pose_t::a, Stg::stg_ranger_sensor_t::bounds_range, Stg::StgModel::ClearBlocks(), Stg::stg_ranger_sensor_t::fov, Stg::StgModel::geom, Stg::stg_bounds_t::max, Stg::stg_bounds_t::min, Stg::StgModel::pose, Stg::stg_ranger_sensor_t::pose, PRINT_DEBUG2, Stg::stg_ranger_sensor_t::ray_count, samples, sensor_count, sensors, Stg::StgModel::SetColor(), Stg::StgModel::SetGeom(), Stg::stg_ranger_sensor_t::size, Stg::stg_geom_t::size, Stg::stg_lookup_color(), Stg::stg_pose_t::x, Stg::stg_size_t::x, Stg::stg_pose_t::y, Stg::stg_size_t::y, Stg::stg_size_t::z, and Stg::stg_pose_t::z.
Referenced by Create().
StgModelRanger::~StgModelRanger | ( | ) | [virtual] |
Member Function Documentation
void StgModelRanger::DataVisualize | ( | void | ) | [protected, virtual] |
Reimplemented from Stg::StgModel.
References Stg::stg_pose_t::a, Stg::stg_ranger_sensor_t::fov, Stg::StgModel::geom, Stg::gl_pose_shift(), Stg::StgModel::PopColor(), Stg::stg_ranger_sensor_t::pose, Stg::stg_geom_t::pose, Stg::StgModel::pose, Stg::StgModel::PushColor(), s, samples, sensor_count, sensors, Stg::stg_pose_t::x, Stg::stg_pose_t::y, and Stg::stg_pose_t::z.
void StgModelRanger::Load | ( | void | ) | [virtual] |
Reimplemented from Stg::StgModel.
References Stg::stg_pose_t::a, Stg::stg_ranger_sensor_t::bounds_range, Stg::stg_ranger_sensor_t::fov, Stg::StgWorld::GetWorldFile(), Stg::StgModel::Load(), Stg::stg_bounds_t::max, Stg::stg_bounds_t::min, Stg::StgModel::pose, Stg::stg_ranger_sensor_t::pose, PRINT_DEBUG, PRINT_DEBUG1, Stg::Worldfile::PropertyExists(), Stg::stg_ranger_sensor_t::ray_count, Stg::Worldfile::ReadInt(), Stg::Worldfile::ReadTupleAngle(), Stg::Worldfile::ReadTupleLength(), sensor_count, sensors, Stg::stg_ranger_sensor_t::size, Stg::StgModel::world, Stg::stg_pose_t::x, Stg::stg_size_t::x, Stg::stg_pose_t::y, Stg::stg_size_t::y, and Stg::stg_pose_t::z.
void StgModelRanger::Print | ( | char * | prefix | ) | [virtual] |
void StgModelRanger::Shutdown | ( | void | ) | [protected, virtual] |
Reimplemented from Stg::StgModel.
References PRINT_DEBUG, samples, Stg::StgModel::SetWatts(), and Stg::StgModel::Shutdown().
void StgModelRanger::Startup | ( | void | ) | [protected, virtual] |
Reimplemented from Stg::StgModel.
References PRINT_DEBUG, sensor_count, Stg::StgModel::SetWatts(), and Stg::StgModel::Startup().
void StgModelRanger::Update | ( | void | ) | [protected, virtual] |
Reimplemented from Stg::StgModel.
References Stg::stg_ranger_sensor_t::bounds_range, Stg::stg_bounds_t::min, Stg::StgModel::pose, Stg::stg_raytrace_sample_t::range, Stg::StgModel::Raytrace(), samples, sensor_count, sensors, and Stg::StgModel::Update().
Member Data Documentation
Referenced by DataVisualize(), main(), Print(), InterfaceSonar::Publish(), Shutdown(), StgModelRanger(), and Update().
uint32_t Stg::StgModelRanger::sensor_count |
Referenced by DataVisualize(), Load(), main(), Print(), InterfaceSonar::Publish(), Startup(), StgModelRanger(), and Update().
Referenced by DataVisualize(), Load(), main(), StgModelRanger(), and Update().
The documentation for this class was generated from the following files:
Generated on Thu Jan 7 17:42:17 2010 for Stage by 1.5.5