iSpike  2.1
Spike conversion library for robotics
ispike::Common Class Reference

#include <Common.hpp>

List of all members.

Static Public Member Functions

static void savePPMImage (const char *filename, Bitmap *image)
static void writePatternToFile (const char *fileName, vector< int > pattern, int numOfNeurons)

Static Public Attributes

static const int redVsGreen = 0
static const int greenVsRed = 1
static const int blueVsYellow = 2
static const int greyVsGrey = 3
static const int motionSensitive = 4
static const int motionSensitiveLog = 5

Detailed Description

Static common functionality

Definition at line 14 of file Common.hpp.


Member Function Documentation

void Common::savePPMImage ( const char *  filename,
Bitmap image 
) [static]

Writes the supplied image to file

Definition at line 19 of file Common.cpp.

void Common::writePatternToFile ( const char *  fileName,
vector< int >  pattern,
int  numOfNeurons 
) [static]

Writes a spike pattern to file

Definition at line 48 of file Common.cpp.


Member Data Documentation

const int ispike::Common::blueVsYellow = 2 [static]

Definition at line 24 of file Common.hpp.

const int ispike::Common::greenVsRed = 1 [static]

Definition at line 23 of file Common.hpp.

const int ispike::Common::greyVsGrey = 3 [static]

Definition at line 25 of file Common.hpp.

const int ispike::Common::motionSensitive = 4 [static]

Definition at line 26 of file Common.hpp.

const int ispike::Common::motionSensitiveLog = 5 [static]

Definition at line 27 of file Common.hpp.

const int ispike::Common::redVsGreen = 0 [static]

Definition at line 22 of file Common.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines