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)
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

stg_radians_t fov
stg_radians_t pan
stg_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 2322 of file stage.hh.


Constructor & Destructor Documentation

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

Member Function Documentation

void Stg::ModelBlobfinder::AddColor ( Color  col  ) 

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 2370 of file stage.hh.

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

configure a model by reading from the current world file

Reimplemented from Stg::Model.

void Stg::ModelBlobfinder::RemoveAllColors (  ) 

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

void Stg::ModelBlobfinder::RemoveColor ( Color  col  ) 

Stop tracking blobs with this color

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

Reimplemented from Stg::Model.

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

Reimplemented from Stg::Model.

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

Reimplemented from Stg::Model.


Member Data Documentation

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

Definition at line 2345 of file stage.hh.

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

Definition at line 2346 of file stage.hh.

Definition at line 2352 of file stage.hh.

Definition at line 2353 of file stage.hh.

Definition at line 2354 of file stage.hh.

Definition at line 2355 of file stage.hh.

Definition at line 2356 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:39 2013