ColorbarsInput Class Reference

FrameIstream class that generates a static "colorbars" test pattern. More...

#include <Transport/ColorbarsInput.H>

Inheritance diagram for ColorbarsInput:
Inheritance graph
[legend]
Collaboration diagram for ColorbarsInput:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ColorbarsInput (OptionManager &mgr)
 Constructor.
virtual ~ColorbarsInput ()
 Virtual destructor.
virtual void setConfigInfo (const std::string &frametime)
 Set the inter-frame interval (or framerate).
virtual bool setFrameNumber (int n)
 Advise the FrameIstream object of the current frame number.
virtual GenericFrameSpec peekFrameSpec ()
 Peek at the specifications of the next frame to be read.
virtual GenericFrame readFrame ()
 Generate a random color image.

Detailed Description

FrameIstream class that generates a static "colorbars" test pattern.

Definition at line 49 of file ColorbarsInput.H.


Constructor & Destructor Documentation

ColorbarsInput::ColorbarsInput ( OptionManager mgr  ) 

Constructor.

Definition at line 63 of file ColorbarsInput.C.

References SimpleFont::FIXED(), writeText(), and ZEROS.

ColorbarsInput::~ColorbarsInput (  )  [virtual]

Virtual destructor.

Definition at line 118 of file ColorbarsInput.C.


Member Function Documentation

GenericFrameSpec ColorbarsInput::peekFrameSpec (  )  [virtual]

Peek at the specifications of the next frame to be read.

Implements FrameIstream.

Definition at line 143 of file ColorbarsInput.C.

References Image< T >::getDims(), and GenericFrame::RGB_U8.

GenericFrame ColorbarsInput::readFrame (  )  [virtual]
void ColorbarsInput::setConfigInfo ( const std::string frametime  )  [virtual]

Set the inter-frame interval (or framerate).

Reimplemented from FrameIstream.

Definition at line 122 of file ColorbarsInput.C.

References SimTime::fromString(), and SimTime::ZERO().

bool ColorbarsInput::setFrameNumber ( int  n  )  [virtual]

Advise the FrameIstream object of the current frame number.

Reimplemented from FrameIstream.

Definition at line 135 of file ColorbarsInput.C.


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