VisualBuffer.H File Reference

#include "Component/ModelComponent.H"
#include "Component/ModelParam.H"
#include "Image/Image.H"
#include "Image/LevelSpec.H"
#include "Image/fancynorm.H"
#include "Neuro/WTAwinner.H"
#include "Neuro/NeuroSimEvents.H"
#include "Simulation/SimModule.H"
#include "Util/SimTime.H"
#include "Util/Types.H"
Include dependency graph for VisualBuffer.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  VisualBuffer
 An integrative visual buffer, base class. More...
class  VisualBufferStub
 An integrative visual buffer, stub implementation, does nothing. More...
class  VisualBufferConfigurator
 VisualBuffer configurator. More...
class  VisualBufferStd
 An integrative visual buffer, std implementation. More...

Functions

Point2D< int > visualBufferToRetinal (const Point2D< int > &p, const Point2D< int > &retinaOffset, const int smlev, const Dims &smdims, const Dims &bufdims)
 Helper function to transform from buffer to retinal coordinates.
Point2D< int > retinalToVisualBuffer (const Point2D< int > &p, const Point2D< int > &retinaOffset, const int smlev, const Dims &smdims, const Dims &bufdims)
 Helper function to transform from buffer to retinal coordinates.

Detailed Description

Grab ausio samples from /dev/dsp

Definition in file VisualBuffer.H.


Function Documentation

Point2D<int> retinalToVisualBuffer ( const Point2D< int > &  p,
const Point2D< int > &  retinaOffset,
const int  smlev,
const Dims smdims,
const Dims bufdims 
) [inline]

Helper function to transform from buffer to retinal coordinates.

You normally would not use this function directly.

Definition at line 254 of file VisualBuffer.H.

References Dims::h(), Point2D< T >::i, and Dims::w().

Referenced by VisualBufferStd::retinalToBuffer(), and SimEventVisualBufferOutput::retinalToBuffer().

Point2D<int> visualBufferToRetinal ( const Point2D< int > &  p,
const Point2D< int > &  retinaOffset,
const int  smlev,
const Dims smdims,
const Dims bufdims 
) [inline]

Helper function to transform from buffer to retinal coordinates.

You normally would not use this function directly, but rather VisualBufferStd::bufferToRetinal() or SimEventVisualBufferOutput::bufferToRetinal(). This function is here mostly so that both implementations of bufferToRetinal are always consistent.

Definition at line 236 of file VisualBuffer.H.

References Dims::h(), Point2D< T >::i, and Dims::w().

Referenced by VisualBufferStd::bufferToRetinal(), and SimEventVisualBufferOutput::bufferToRetinal().

Generated on Sun May 8 08:42:46 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3