Stg::ModelLaser Class Reference

ModelLaser class More...

#include <stage.hh>

Inheritance diagram for Stg::ModelLaser:
Inheritance graph
[legend]

List of all members.

Classes

class  Config
class  Sample
class  Vis

Public Member Functions

Config GetConfig ()
const std::vector< Sample > & GetSamples ()
SampleGetSamples (uint32_t *count)
virtual void Load ()
 ModelLaser (World *world, Model *parent, const std::string &type)
virtual void Print (char *prefix)
void SetConfig (Config &cfg)
virtual void Shutdown ()
virtual void Startup ()
virtual void Update ()
 ~ModelLaser ()

Private Member Functions

void SampleConfig ()

Private Attributes

stg_radians_t fov
stg_meters_t range_max
uint32_t resolution
unsigned int sample_count
std::vector< Samplesamples
Stg::ModelLaser::Vis vis

Detailed Description

ModelLaser class

Definition at line 2393 of file stage.hh.


Constructor & Destructor Documentation

Stg::ModelLaser::ModelLaser ( World world,
Model parent,
const std::string &  type 
)
Stg::ModelLaser::~ModelLaser (  ) 

Member Function Documentation

Config Stg::ModelLaser::GetConfig (  ) 

Get the user-tweakable configuration of the laser

const std::vector<Sample>& Stg::ModelLaser::GetSamples (  ) 

returns a const reference to a vector of range and reflectance samples

Sample* Stg::ModelLaser::GetSamples ( uint32_t *  count  ) 

returns an array of range & reflectance samples

virtual void Stg::ModelLaser::Load (  )  [virtual]

configure a model by reading from the current world file

Reimplemented from Stg::Model.

virtual void Stg::ModelLaser::Print ( char *  prefix  )  [virtual]
void Stg::ModelLaser::SampleConfig (  )  [private]
void Stg::ModelLaser::SetConfig ( Config cfg  ) 

Set the user-tweakable configuration of the laser

virtual void Stg::ModelLaser::Shutdown (  )  [virtual]

Reimplemented from Stg::Model.

virtual void Stg::ModelLaser::Startup (  )  [virtual]

Reimplemented from Stg::Model.

virtual void Stg::ModelLaser::Update (  )  [virtual]

Reimplemented from Stg::Model.


Member Data Documentation

Definition at line 2433 of file stage.hh.

Definition at line 2432 of file stage.hh.

uint32_t Stg::ModelLaser::resolution [private]

Definition at line 2434 of file stage.hh.

unsigned int Stg::ModelLaser::sample_count [private]

Definition at line 2429 of file stage.hh.

std::vector<Sample> Stg::ModelLaser::samples [private]

Definition at line 2430 of file stage.hh.

Reimplemented from Stg::Model.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


stage
Author(s): Richard Vaughan, with contributions from many others. See web page for a full credits list.
autogenerated on Fri Jan 11 10:03:40 2013