ModelFiducial class More...
#include <stage.hh>
Classes | |
class | Fiducial |
Public Member Functions | |
std::vector< Fiducial > & | GetFiducials () |
Fiducial * | GetFiducials (unsigned int *count) |
virtual void | Load () |
ModelFiducial (World *world, Model *parent, const std::string &type) | |
void | Shutdown (void) |
virtual | ~ModelFiducial () |
Public Attributes | |
radians_t | fov |
field of view | |
radians_t | heading |
center of field of view | |
bool | ignore_zloc |
Are we ignoring the Z-loc of the fiducials we detect compared to the fiducial detector? | |
int | key |
/// only detect fiducials with a key that matches this one (defaults 0) | |
meters_t | max_range_anon |
maximum detection range | |
meters_t | max_range_id |
maximum range at which the ID can be read | |
meters_t | min_range |
minimum detection range | |
Private Member Functions | |
void | AddModelIfVisible (Model *him) |
virtual void | DataVisualize (Camera *cam) |
virtual void | Update () |
Private Attributes | |
std::vector< Fiducial > | fiducials |
Static Private Attributes | |
static Option | showData |
static Option | showFov |
ModelFiducial::ModelFiducial | ( | World * | world, |
Model * | parent, | ||
const std::string & | type | ||
) |
Definition at line 67 of file model_fiducial.cc.
ModelFiducial::~ModelFiducial | ( | void | ) | [virtual] |
Definition at line 99 of file model_fiducial.cc.
void ModelFiducial::AddModelIfVisible | ( | Model * | him | ) | [private] |
Definition at line 112 of file model_fiducial.cc.
void ModelFiducial::DataVisualize | ( | Camera * | cam | ) | [private, virtual] |
Reimplemented from Stg::Model.
Definition at line 314 of file model_fiducial.cc.
std::vector<Fiducial>& Stg::ModelFiducial::GetFiducials | ( | ) | [inline] |
Fiducial* Stg::ModelFiducial::GetFiducials | ( | unsigned int * | count | ) | [inline] |
void ModelFiducial::Load | ( | void | ) | [virtual] |
configure a model by reading from the current world file
Reimplemented from Stg::Model.
Definition at line 299 of file model_fiducial.cc.
void ModelFiducial::Shutdown | ( | void | ) | [virtual] |
Reimplemented from Stg::Model.
Definition at line 383 of file model_fiducial.cc.
void ModelFiducial::Update | ( | void | ) | [private, virtual] |
Reimplemented from Stg::Model.
Definition at line 232 of file model_fiducial.cc.
std::vector<Fiducial> Stg::ModelFiducial::fiducials [private] |
Option ModelFiducial::showData [static, private] |
Option ModelFiducial::showFov [static, private] |