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
|
hydrodrivers/hydroimageconverterbayer/driver.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2009 Tom Burdick, Alex Brooks, Alexei Makarenko, Tobias Kaupp 00005 * 00006 * This distribution is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef HYDRO_DRIVERS_IMAGECONVERTER_BAYER_H 00012 #define HYDRO_DRIVERS_IMAGECONVERTER_BAYER_H 00013 00014 #include <string> 00015 #include <vector> 00016 #include <hydroutil/context.h> 00017 00018 namespace imageconverterbayer 00019 { 00020 00021 class Driver : public hydrointerfaces::ImageConverter 00022 { 00023 00024 public: 00025 Driver( const hydroutil::Context &context ); 00026 virtual ~Driver(); 00027 00028 virtual void convert( Data &inputData, Data &outputData ); 00029 00030 virtual void getOutputBufferSize(const Config& config, const std::string& outputFormat); 00031 virtual const std::vector<std::string>& getInputFormats(); 00032 virtual const std::vector<std::string>& getOutputFormats( const std::string &inputFormat); 00033 00034 private: 00035 std::vector<hydroimage::ImageFormat> inputFormats_; 00036 std::vector<hydroimage::ImageFormat> outputFormats_; 00037 00038 }; 00039 00040 } 00041 #endif 00042 |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)