lobot::LocustViz Class Reference

A drawable for visualizing the LGMD spike rates. More...

#include <Robots/LoBot/ui/LoLocustViz.H>

Inheritance diagram for lobot::LocustViz:
Inheritance graph
[legend]
Collaboration diagram for lobot::LocustViz:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LocustViz (const std::vector< LocustModel * > &)
 ~LocustViz ()
 Clean-up.

Detailed Description

A drawable for visualizing the LGMD spike rates.

This class uses OpenGL to visualize the spike rates of all the locusts. The visualization resembles that of a range sensor such as the laser range finder. Each locust's spike rate is drawn as a ray starting at the visualizer's center. This ray's direction corresponds to the direction in which its associated locust is looking. The magnitude of the ray represents the amount of spiking activity associated with that locust. A set of concentric rings is used to help the user gauge the numerical value associated with the spike rate rays.

Definition at line 80 of file LoLocustViz.H.


Constructor & Destructor Documentation

lobot::LocustViz::LocustViz ( const std::vector< LocustModel * > &  locusts  ) 

Initialization: precompute the direction vectors for each of the locusts and set the max spike rate.

Definition at line 173 of file LoLocustViz.C.

References lobot::LocustModel::direction(), and transform().

lobot::LocustViz::~LocustViz (  ) 

Clean-up.

Definition at line 296 of file LoLocustViz.C.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:44:36 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3