Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

VisualTargetTrans Class Reference

causes a transition when a visual object has been seen for at least 6 camera frames More...

#include <VisualTargetTrans.h>

Inheritance diagram for VisualTargetTrans:

Detailed Description

causes a transition when a visual object has been seen for at least 6 camera frames

Definition at line 10 of file VisualTargetTrans.h.

List of all members.

Public Member Functions

 VisualTargetTrans (StateNode *destination, unsigned int source_id)
 constructor
 VisualTargetTrans (const std::string &name, StateNode *destination, unsigned int source_id)
 constructor
virtual void postStart ()
 starts listening for the object specified by the source id in the constructor
virtual void doEvent ()
 if the object is "close", calls fire()

Protected Attributes

unsigned int sid
 Source ID of object to track.
unsigned int count
 number of frames for which we've seen the object

Constructor & Destructor Documentation

VisualTargetTrans::VisualTargetTrans ( StateNode destination,
unsigned int  source_id 
)

constructor

Definition at line 13 of file VisualTargetTrans.h.

VisualTargetTrans::VisualTargetTrans ( const std::string &  name,
StateNode destination,
unsigned int  source_id 
)

constructor

Definition at line 17 of file VisualTargetTrans.h.


Member Function Documentation

virtual void VisualTargetTrans::doEvent (  )  [virtual]

if the object is "close", calls fire()

Reimplemented from BehaviorBase.

Definition at line 28 of file VisualTargetTrans.h.

virtual void VisualTargetTrans::postStart (  )  [virtual]

starts listening for the object specified by the source id in the constructor

Reimplemented from BehaviorBase.

Definition at line 21 of file VisualTargetTrans.h.


Member Data Documentation

unsigned int VisualTargetTrans::count [protected]

number of frames for which we've seen the object

Definition at line 45 of file VisualTargetTrans.h.

Referenced by doEvent(), and postStart().

unsigned int VisualTargetTrans::sid [protected]

Source ID of object to track.

Definition at line 43 of file VisualTargetTrans.h.

Referenced by postStart().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:18 2016 by Doxygen 1.6.3