
OutputMbariFrameSeries manages a series of output frames. More...
#include <MBARI/MbariFrameSeries.H>


Public Member Functions | |
| OutputMbariFrameSeries (OptionManager &mgr) | |
| Constructor. | |
| virtual | ~OutputMbariFrameSeries () |
| Destructor. | |
| void | setFileStem (const std::string &stem) |
| Set the file stem - for more info see ModelComponent. | |
| std::string | getFileStem () const |
| Get the file stem. | |
| void | writeMbariRGB (const Image< PixRGB< byte > > &image, const std::string &otherstem, const int framenum) |
| Write a frame to disk with a specific frame number. | |
| void | writeMbariGray (const Image< byte > &image, const std::string &otherstem, const int framenum) |
| Write a frame to disk with a specific frame number. | |
| void | writeMbariFloat (const Image< float > &image, const std::string &otherstem, const int flags, const int framenum) |
| Write a frame to disk with a specific frame number. | |
OutputMbariFrameSeries manages a series of output frames.
NOTE: this class was split off from the standard OutputFrameSeries class, in order to support the different output paradigm used in MbariResultViewer and test-mbari, while allowing the standard OutputFrameSeries's interface to be minimized.
Definition at line 105 of file MbariFrameSeries.H.
| OutputMbariFrameSeries::OutputMbariFrameSeries | ( | OptionManager & | mgr | ) |
Constructor.
Definition at line 139 of file MbariFrameSeries.C.
| OutputMbariFrameSeries::~OutputMbariFrameSeries | ( | ) | [virtual] |
Destructor.
Definition at line 154 of file MbariFrameSeries.C.
| std::string OutputMbariFrameSeries::getFileStem | ( | ) | const |
Get the file stem.
Definition at line 166 of file MbariFrameSeries.C.
| void OutputMbariFrameSeries::setFileStem | ( | const std::string & | stem | ) |
Set the file stem - for more info see ModelComponent.
Definition at line 158 of file MbariFrameSeries.C.
References ModelComponent::started().
| void OutputMbariFrameSeries::writeMbariFloat | ( | const Image< float > & | image, | |
| const std::string & | otherstem, | |||
| const int | flags, | |||
| const int | framenum | |||
| ) |
Write a frame to disk with a specific frame number.
Definition at line 219 of file MbariFrameSeries.C.
References Raster::Display(), FLOAT_NORM_0_255, FLOAT_NORM_PRESERVE, OModelParam< T >::getVal(), RASFMT_PFM, textLog(), and Raster::WriteFloat().
| void OutputMbariFrameSeries::writeMbariGray | ( | const Image< byte > & | image, | |
| const std::string & | otherstem, | |||
| const int | framenum | |||
| ) |
Write a frame to disk with a specific frame number.
Definition at line 195 of file MbariFrameSeries.C.
References Raster::Display(), OModelParam< T >::getVal(), textLog(), and Raster::WriteGray().
| void OutputMbariFrameSeries::writeMbariRGB | ( | const Image< PixRGB< byte > > & | image, | |
| const std::string & | otherstem, | |||
| const int | framenum | |||
| ) |
Write a frame to disk with a specific frame number.
Definition at line 171 of file MbariFrameSeries.C.
References Raster::Display(), OModelParam< T >::getVal(), image, textLog(), and Raster::WriteRGB().
1.6.3