INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
hydrointerfaces::ImageConverter Class Reference
|
Public Types | |
typedef hydroimage::Config | Config |
define the config object as hydroimage::Config | |
typedef hydroimage::Data | Data |
define the data object as hydroimage::Data | |
Public Member Functions | |
virtual void | convert (Data &inputData, Data &outputData)=0 |
virtual uint32_t | getOutputBufferSize (const Config &config, const std::string &outputFormat)=0 |
determine the buffer size for a given input config and desired output format | |
virtual const std::vector < std::string > & | getInputFormats () const =0 |
describe the input and output formats for this class |
Abstract class for a imageconverter source.
All imageconverters should implement this, making it simple to add support for different imageconverters.
This guy is not guaranteed to be thread-safe!
virtual void hydrointerfaces::ImageConverter::convert | ( | Data & | inputData, | |
Data & | outputData | |||
) | [pure virtual] |
A blocking call that converts the inputData to the desired format of the outputData. The ImageConverter can be expected to have been pre-sized correctly. Throws exceptions on un-recoverable faults.
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)