RasterInputOptions Class Reference

Helper class to expose command-line options for various low-level parameters controlling raster file input. More...

#include <Transport/RasterInputOptions.H>

Inheritance diagram for RasterInputOptions:
Inheritance graph
[legend]
Collaboration diagram for RasterInputOptions:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

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.


Member Function Documentation

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().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:24:08 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3