
A new output is available from the VisualBuffer. More...
#include <Neuro/NeuroSimEvents.H>


Public Member Functions | |
| SimEventVisualBufferOutput (SimModule *src, const Image< float > &buf, const int smlev, const Dims &smdims, const Point2D< int > &retoff) | |
| Constuctor. | |
| virtual | ~SimEventVisualBufferOutput () |
| Destructor. | |
| virtual std::string | toString () const |
| Get a description for printing out. | |
| const Image< float > & | buffer () const |
| Get the buffer. | |
| Point2D< int > | retinalToBuffer (const Point2D< int > &p) const |
| transform coord from retinotopic/retinal-scale to world-centered/sm-scale | |
| Point2D< int > | bufferToRetinal (const Point2D< int > &p) const |
| transform coord from world-centered/sm-scale to retinotopic/retinal-scale | |
| const Dims & | smdims () const |
| SM dims. | |
| int | smlev () const |
| SM level. | |
A new output is available from the VisualBuffer.
Definition at line 761 of file NeuroSimEvents.H.
| SimEventVisualBufferOutput::SimEventVisualBufferOutput | ( | SimModule * | src, | |
| const Image< float > & | buf, | |||
| const int | smlev, | |||
| const Dims & | smdims, | |||
| const Point2D< int > & | retoff | |||
| ) |
Constuctor.
Definition at line 718 of file NeuroSimEvents.C.
| SimEventVisualBufferOutput::~SimEventVisualBufferOutput | ( | ) | [virtual] |
Destructor.
Definition at line 723 of file NeuroSimEvents.C.
| const Image< float > & SimEventVisualBufferOutput::buffer | ( | ) | const |
Get the buffer.
Definition at line 731 of file NeuroSimEvents.C.
transform coord from world-centered/sm-scale to retinotopic/retinal-scale
Definition at line 745 of file NeuroSimEvents.C.
References Image< T >::getDims(), and visualBufferToRetinal().
transform coord from retinotopic/retinal-scale to world-centered/sm-scale
Definition at line 740 of file NeuroSimEvents.C.
References Image< T >::getDims(), and retinalToVisualBuffer().
| const Dims & SimEventVisualBufferOutput::smdims | ( | ) | const |
SM dims.
Definition at line 734 of file NeuroSimEvents.C.
| int SimEventVisualBufferOutput::smlev | ( | ) | const |
SM level.
Definition at line 737 of file NeuroSimEvents.C.
| std::string SimEventVisualBufferOutput::toString | ( | ) | const [virtual] |
Get a description for printing out.
Reimplemented from SimEvent.
Definition at line 726 of file NeuroSimEvents.C.
References Image< T >::getHeight(), Image< T >::getWidth(), and sformat().
1.6.3