
Helper class to expose command-line options for various low-level parameters controlling raster file input. More...
#include <Transport/RasterInputOptions.H>


Public Member Functions | |
| RasterInputOptions (OptionManager &mgr) | |
| virtual void | paramChanged (ModelParamBase *const param, const bool valueChanged, ParamClient::ChangeStatus *status) |
| Override the base version so that we can trap --yuv-dims, --yuv-dims-loose, etc. | |
Helper class to expose command-line options for various low-level parameters controlling raster file input.
Users don't normally need to use this class directly; it is part of the implementation of RasterInputSeries that allows raster files to be read through an InputFrameSeries with the --in option.
However, for users using the low level Raster functions (like Raster::ReadFrame() or Raster::ReadRGB()) directly, instantiating a RasterInputOptions in the main() function will allow the low-level raster input parameters to be exposed as command-line options.
Definition at line 56 of file RasterInputOptions.H.
| void RasterInputOptions::paramChanged | ( | ModelParamBase *const | param, | |
| const bool | valueChanged, | |||
| ParamClient::ChangeStatus * | status | |||
| ) | [virtual] |
Override the base version so that we can trap --yuv-dims, --yuv-dims-loose, etc.
Reimplemented from ModelComponent.
Definition at line 65 of file RasterInputOptions.C.
References YuvParser::getDefaultDims(), OModelParam< T >::getVal(), Dims::h(), YuvParser::setDefaultDims(), YuvParser::setStrictDims(), and Dims::w().
1.6.3