FrameIstream subclass that reads raster files. More...
#include <Transport/RasterInputSeries.H>
Public Member Functions | |
RasterInputSeries (OptionManager &mgr) | |
Constructor. | |
virtual | ~RasterInputSeries () |
Virtual destructor. | |
virtual void | setConfigInfo (const std::string &filestem) |
Override from FrameIstream; just calls setFileStem(). | |
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 | setFileStem (const std::string &s) |
Specify an input filename stem. | |
bool | supportsSeek () |
Random frame access is fully supported. |
FrameIstream subclass that reads raster files.
Definition at line 49 of file RasterInputSeries.H.
RasterInputSeries::RasterInputSeries | ( | OptionManager & | mgr | ) |
Constructor.
Definition at line 121 of file RasterInputSeries.C.
References ModelComponent::addSubComponent().
RasterInputSeries::~RasterInputSeries | ( | ) | [virtual] |
Virtual destructor.
Definition at line 135 of file RasterInputSeries.C.
GenericFrameSpec RasterInputSeries::peekFrameSpec | ( | ) | [virtual] |
Peek at the specifications of the next frame to be read.
Implements FrameIstream.
Definition at line 158 of file RasterInputSeries.C.
References Raster::getFrameSpec(), and OModelParam< T >::getVal().
GenericFrame RasterInputSeries::readFrame | ( | ) | [virtual] |
Read a GenericFrame from disk.
Implements FrameIstream.
Definition at line 170 of file RasterInputSeries.C.
References Raster::fileExists(), OModelParam< T >::getVal(), Raster::ReadFrame(), and textLog().
void RasterInputSeries::setConfigInfo | ( | const std::string & | filestem | ) | [virtual] |
Override from FrameIstream; just calls setFileStem().
Reimplemented from FrameIstream.
Definition at line 139 of file RasterInputSeries.C.
References setFileStem().
void RasterInputSeries::setFileStem | ( | const std::string & | s | ) |
Specify an input filename stem.
Definition at line 206 of file RasterInputSeries.C.
Referenced by setConfigInfo().
bool RasterInputSeries::setFrameNumber | ( | int | n | ) | [virtual] |
Set the current frame number and remember it.
Reimplemented from FrameIstream.
Definition at line 149 of file RasterInputSeries.C.
References ASSERT.
bool RasterInputSeries::supportsSeek | ( | ) | [inline, virtual] |
Random frame access is fully supported.
Reimplemented from FrameIstream.
Definition at line 74 of file RasterInputSeries.H.