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< byte > | getLineColor () |
void | placeLine (Image< PixRGB< byte > > &img) |
void | placeSquare (Image< PixRGB< byte > > &img) |
Definition at line 45 of file World2DInput.H.
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] |
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().