Classes | Public Member Functions | Public Attributes | Static Private Member Functions | Private Attributes
Stg::ModelBlobfinder Class Reference

ModelBlobfinder class More...

#include <stage.hh>

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

List of all members.

Classes

class  Blob
class  Vis

Public Member Functions

void AddColor (Color col)
BlobGetBlobs (unsigned int *count)
std::vector< BlobGetBlobs () const
virtual void Load ()
 ModelBlobfinder (World *world, Model *parent, const std::string &type)
void RemoveAllColors ()
void RemoveColor (Color col)
virtual void Shutdown ()
virtual void Startup ()
virtual void Update ()
 ~ModelBlobfinder ()

Public Attributes

radians_t fov
radians_t pan
meters_t range
unsigned int scan_height
unsigned int scan_width
Stg::ModelBlobfinder::Vis vis

Static Private Member Functions

static bool BlockMatcher (Block *testblock, Model *finder)

Private Attributes

std::vector< Blobblobs
std::vector< Colorcolors

Detailed Description

ModelBlobfinder class

Definition at line 2483 of file stage.hh.


Constructor & Destructor Documentation

ModelBlobfinder::ModelBlobfinder ( World world,
Model parent,
const std::string &  type 
)

Definition at line 82 of file model_blobfinder.cc.

Definition at line 103 of file model_blobfinder.cc.


Member Function Documentation

Start finding blobs with this color.

static bool Stg::ModelBlobfinder::BlockMatcher ( Block testblock,
Model finder 
) [static, private]
Blob* Stg::ModelBlobfinder::GetBlobs ( unsigned int *  count) [inline]

Definition at line 2531 of file stage.hh.

std::vector<Blob> Stg::ModelBlobfinder::GetBlobs ( ) const [inline]

Definition at line 2537 of file stage.hh.

void ModelBlobfinder::Load ( void  ) [virtual]

configure a model by reading from the current world file

Reimplemented from Stg::Model.

Definition at line 147 of file model_blobfinder.cc.

Stop tracking all colors. Call this to clear the defaults, then add colors individually with AddColor();

Definition at line 142 of file model_blobfinder.cc.

Stop tracking blobs with this color

Definition at line 131 of file model_blobfinder.cc.

void ModelBlobfinder::Shutdown ( void  ) [virtual]

Reimplemented from Stg::Model.

Definition at line 281 of file model_blobfinder.cc.

void ModelBlobfinder::Startup ( void  ) [virtual]

Reimplemented from Stg::Model.

Definition at line 271 of file model_blobfinder.cc.

void ModelBlobfinder::Update ( void  ) [virtual]

Reimplemented from Stg::Model.

Definition at line 179 of file model_blobfinder.cc.


Member Data Documentation

std::vector<Blob> Stg::ModelBlobfinder::blobs [private]

Definition at line 2506 of file stage.hh.

std::vector<Color> Stg::ModelBlobfinder::colors [private]

Definition at line 2507 of file stage.hh.

Definition at line 2513 of file stage.hh.

Definition at line 2514 of file stage.hh.

Definition at line 2515 of file stage.hh.

Definition at line 2516 of file stage.hh.

Definition at line 2517 of file stage.hh.

Reimplemented from Stg::Model.


The documentation for this class was generated from the following files:


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Thu Aug 27 2015 15:20:57