PlotBufferList Class Reference

Collaboration diagram for PlotBufferList:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PlotBufferList ()
 constrcutor
 ~PlotBufferList ()
 destructor
void push (const std::vector< const SimUnit * > &nsm, const uint length=250, const uint depth=4, const bool usedisplayout=false)
 add data from a vector of neural simulation modules
void clear ()
 clear all plots in buffer
Layout< PixRGB< byte > > draw (bool clear=false, const uint w=640, const uint h=480, const Dims &d=Dims(0, 1), const Range< double > &range=Range< double >(0.0, 0.0))
void draw (Image< PixRGB< byte > > &img, bool clear=false, const uint w=640, const uint h=480, const Dims &d=Dims(0, 1), const Range< double > &range=Range< double >(0.0, 0.0))
 into an image - see above
void setSamplingRate (const SimTime &samplerate)
 set the sampling rate of the input so the x-axis can be properly labeled

Detailed Description

Definition at line 108 of file PlotBuffer.H.


Constructor & Destructor Documentation

PlotBufferList::PlotBufferList (  )  [inline]

constrcutor

Definition at line 112 of file PlotBuffer.H.

PlotBufferList::~PlotBufferList (  )  [inline]

destructor

Definition at line 116 of file PlotBuffer.H.


Member Function Documentation

void PlotBufferList::clear (  ) 

clear all plots in buffer

Definition at line 276 of file PlotBuffer.C.

Referenced by StructurePlot::setProbe().

void PlotBufferList::draw ( Image< PixRGB< byte > > &  img,
bool  clear = false,
const uint  w = 640,
const uint  h = 480,
const Dims d = Dims(0,1),
const Range< double > &  range = Range<double>(0.0, 0.0) 
)

into an image - see above

Definition at line 322 of file PlotBuffer.C.

References draw().

Layout< PixRGB< byte > > PlotBufferList::draw ( bool  clear = false,
const uint  w = 640,
const uint  h = 480,
const Dims d = Dims(0,1),
const Range< double > &  range = Range<double>(0.0, 0.0) 
)

get a layout of the plot, Dims(1,0) will contatinate images along the horizontal axis. Dims(0,1) will contatinate along the vertical axis. For other Dims configurations the function will attempt to fill a grid, working across columns until the data is exausted for the grid is filled.

Definition at line 282 of file PlotBuffer.C.

References Dims::h(), height, and Dims::w().

Referenced by draw(), and StructurePlot::draw().

void PlotBufferList::push ( const std::vector< const SimUnit * > &  nsm,
const uint  length = 250,
const uint  depth = 4,
const bool  usedisplayout = false 
)

add data from a vector of neural simulation modules

Definition at line 257 of file PlotBuffer.C.

Referenced by StructurePlot::draw().

void PlotBufferList::setSamplingRate ( const SimTime samplerate  ) 

set the sampling rate of the input so the x-axis can be properly labeled

Definition at line 329 of file PlotBuffer.C.

Referenced by StructurePlot::setSamplingRate().


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