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

SourceForge.net Logo
Project
Download
Mailing lists

 

         

pixmaploadutil.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2004-2009 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     void saveMap( const std::string       &filename,
00031                   int                      numCellsX,
00032                   int                      numCellsY,
00033                   const std::vector<char> &pixels );
00034 }
00035 
00036 #endif
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5