Reads image files from a list of filenames contained in a separate file. More...
#include <Transport/RasterlistInputSeries.H>
Public Member Functions | |
RasterlistInputSeries (OptionManager &mgr) | |
Constructor. | |
virtual | ~RasterlistInputSeries () |
Virtual destructor. | |
virtual void | setConfigInfo (const std::string &listfname) |
Override from FrameIstream; just calls setListFile(). | |
virtual bool | setFrameNumber (int n) |
Set the current frame number and remember it. | |
virtual GenericFrameSpec | peekFrameSpec () |
Peek at the specifications of the next frame to be read. | |
virtual GenericFrame | readFrame () |
Read a GenericFrame from disk. | |
void | setListFile (const std::string &listfname) |
Specify a file from which to read a list of raster filenames. |
Reads image files from a list of filenames contained in a separate file.
Definition at line 48 of file RasterlistInputSeries.H.
RasterlistInputSeries::RasterlistInputSeries | ( | OptionManager & | mgr | ) |
Constructor.
Definition at line 48 of file RasterlistInputSeries.C.
RasterlistInputSeries::~RasterlistInputSeries | ( | ) | [virtual] |
Virtual destructor.
Definition at line 57 of file RasterlistInputSeries.C.
GenericFrameSpec RasterlistInputSeries::peekFrameSpec | ( | ) | [virtual] |
Peek at the specifications of the next frame to be read.
Implements FrameIstream.
Definition at line 80 of file RasterlistInputSeries.C.
GenericFrame RasterlistInputSeries::readFrame | ( | ) | [virtual] |
Read a GenericFrame from disk.
Implements FrameIstream.
Definition at line 86 of file RasterlistInputSeries.C.
References Raster::fileExists(), and Raster::ReadFrame().
void RasterlistInputSeries::setConfigInfo | ( | const std::string & | listfname | ) | [virtual] |
Override from FrameIstream; just calls setListFile().
Reimplemented from FrameIstream.
Definition at line 61 of file RasterlistInputSeries.C.
References setListFile().
bool RasterlistInputSeries::setFrameNumber | ( | int | n | ) | [virtual] |
Set the current frame number and remember it.
Reimplemented from FrameIstream.
Definition at line 71 of file RasterlistInputSeries.C.
References ASSERT.
void RasterlistInputSeries::setListFile | ( | const std::string & | listfname | ) |
Specify a file from which to read a list of raster filenames.
Definition at line 119 of file RasterlistInputSeries.C.
References Raster::getFrameSpec().
Referenced by setConfigInfo().