World2DInput Class Reference

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

List of all members.

Public Member Functions

 World2DInput (OptionManager &mgr)
virtual void setConfigInfo (const std::string &dimsstring)
 Override from FrameIstream; just calls setDims().
virtual GenericFrameSpec peekFrameSpec ()
 Peek at the specifications of the next frame to be read.
virtual GenericFrame readFrame ()
 Generate the world.
void setImageDims (const Dims &s)
 Specify the dimensions of the image to the world.
Image< PixRGB< byte > > getImage ()
void generateWorld ()
double getLineOri ()
double getLineLength ()
PixRGB< bytegetLineColor ()
void placeLine (Image< PixRGB< byte > > &img)
void placeSquare (Image< PixRGB< byte > > &img)

Detailed Description

Definition at line 45 of file World2DInput.H.


Member Function Documentation

GenericFrameSpec World2DInput::peekFrameSpec (  )  [virtual]

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

Implements FrameIstream.

Definition at line 76 of file World2DInput.C.

References GenericFrame::RGB_U8.

GenericFrame World2DInput::readFrame (  )  [virtual]

Generate the world.

Implements FrameIstream.

Definition at line 90 of file World2DInput.C.

void World2DInput::setConfigInfo ( const std::string dimsstring  )  [virtual]

Override from FrameIstream; just calls setDims().

Reimplemented from FrameIstream.

Definition at line 62 of file World2DInput.C.

References convertFromString(), and setImageDims().

void World2DInput::setImageDims ( const Dims s  ) 

Specify the dimensions of the image to the world.

Definition at line 100 of file World2DInput.C.

Referenced by setConfigInfo().


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