orca-robotics INTRODUCTION Overview Download and Install Documentation REPOSITORY Interfaces Drivers Libraries Utilities Software Map DEVELOPER Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
pixmaploadutil.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2008 Alex Brooks 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 #ifndef HYDRO_PIXMAP_LOAD_UTIL_H 00011 #define HYDRO_PIXMAP_LOAD_UTIL_H 00012 00013 #include <vector> 00014 #include <string> 00015 00016 // 00017 // @author Tobias Kaupp 00018 // 00019 namespace hydromapload 00020 { 00021 00022 // Loads the file 'filename'. 00023 // The vector 'pixels' is resized appropriately, to 3*numPixels. 00024 // The pixel order is 'R,G,B'. 00025 void loadMap( const std::string &filename, 00026 int &numCellsX, 00027 int &numCellsY, 00028 std::vector<char> &pixels ); 00029 } 00030 00031 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)