Stg::StgModelLaser Class Reference
#include <stage.hh>
Inherits Stg::StgModel.
Public Member Functions | |
virtual void | DataVisualize () |
stg_laser_cfg_t | GetConfig () |
uint32_t | GetSampleCount () |
stg_laser_sample_t * | GetSamples (uint32_t *count=NULL) |
virtual void | Load () |
virtual void | Print (char *prefix) |
void | SetConfig (stg_laser_cfg_t cfg) |
void | SetSamples (stg_laser_sample_t *samples, uint32_t count) |
virtual void | Shutdown () |
virtual void | Startup () |
StgModelLaser (StgWorld *world, StgModel *parent, stg_id_t id, char *typestr) | |
virtual void | Update () |
~StgModelLaser () | |
Static Public Member Functions | |
static StgModel * | Create (StgWorld *world, StgModel *parent, stg_id_t id, char *typestr) |
Constructor & Destructor Documentation
References Stg::StgModel::geom, Stg::StgModel::interval, Stg::StgModel::laser_return, Stg::LaserVisible, PRINT_DEBUG2, Stg::StgModel::SetColor(), Stg::StgModel::SetGeom(), Stg::stg_geom_t::size, Stg::stg_lookup_color(), Stg::stg_size_t::x, Stg::stg_size_t::y, and Stg::stg_size_t::z.
Referenced by Create().
StgModelLaser::~StgModelLaser | ( | void | ) |
Member Function Documentation
void StgModelLaser::DataVisualize | ( | void | ) | [virtual] |
Reimplemented from Stg::StgModel.
References Stg::StgModel::geom, Stg::StgModel::PopColor(), Stg::StgModel::PushColor(), s, Stg::stg_geom_t::size, and Stg::stg_size_t::z.
stg_laser_cfg_t StgModelLaser::GetConfig | ( | ) |
uint32_t Stg::StgModelLaser::GetSampleCount | ( | ) | [inline] |
stg_laser_sample_t * StgModelLaser::GetSamples | ( | uint32_t * | count = NULL |
) |
Referenced by InterfaceLaser::Publish().
void StgModelLaser::Load | ( | void | ) | [virtual] |
Reimplemented from Stg::StgModel.
References Stg::StgWorld::GetWorldFile(), Stg::StgModel::Load(), PRINT_WARN, Stg::Worldfile::ReadAngle(), Stg::Worldfile::ReadInt(), Stg::Worldfile::ReadLength(), and Stg::StgModel::world.
void StgModelLaser::Print | ( | char * | prefix | ) | [virtual] |
void StgModelLaser::SetConfig | ( | stg_laser_cfg_t | cfg | ) |
void StgModelLaser::SetSamples | ( | stg_laser_sample_t * | samples, | |
uint32_t | count | |||
) |
References Stg::StgModel::data_dirty.
void StgModelLaser::Shutdown | ( | void | ) | [virtual] |
Reimplemented from Stg::StgModel.
References PRINT_DEBUG, Stg::StgModel::SetWatts(), and Stg::StgModel::Shutdown().
void StgModelLaser::Startup | ( | void | ) | [virtual] |
Reimplemented from Stg::StgModel.
References PRINT_DEBUG, Stg::StgModel::SetWatts(), and Stg::StgModel::Startup().
void StgModelLaser::Update | ( | void | ) | [virtual] |
Reimplemented from Stg::StgModel.
References Stg::stg_raytrace_sample_t::block, Stg::StgModel::data_dirty, Stg::StgModel::geom, Stg::StgModel::GetGlobalPose(), Stg::StgModel::GetLaserReturn(), Stg::LaserBright, Stg::StgBlock::Model(), Stg::stg_raytrace_sample_t::range, Stg::stg_laser_sample_t::range, Stg::StgModel::Raytrace(), Stg::stg_laser_sample_t::reflectance, Stg::stg_geom_t::size, Stg::StgModel::Update(), Stg::stg_size_t::z, and Stg::stg_pose_t::z.
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