iSpike  2.1
Spike conversion library for robotics
D:/Home/Programs/iSpike/include/iSpike/Common.hpp
Go to the documentation of this file.
00001 #ifndef COMMON_HPP_
00002 #define COMMON_HPP_
00003 
00004 //iSpike includes
00005 #include <iSpike/Bitmap.hpp>
00006 
00007 //Other includes
00008 #include <vector>
00009 using namespace std;
00010 
00011 namespace ispike {
00012 
00014         class Common {
00015                 public:
00016                         //========================  METHODS  =========================
00017                         static void savePPMImage(const char* filename, Bitmap* image);
00018                         static void writePatternToFile(const char* fileName, vector<int> pattern, int numOfNeurons);
00019 
00020 
00021                         //========================  VARIABLES  =======================
00022                         static const int redVsGreen = 0;
00023                         static const int greenVsRed = 1;
00024                         static const int blueVsYellow = 2;
00025                         static const int greyVsGrey = 3;
00026                         static const int motionSensitive = 4;
00027                         static const int motionSensitiveLog = 5;
00028         };
00029 
00030 }
00031 
00032 #endif /* COMMON_HPP_ */
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines