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


Public Member Functions | |
| SimEventRetinaImage (SimModule *src, const InputFrame &ifr, const Rectangle &rawinprect, const Point2D< int > offset) | |
| Constuctor. | |
| SimEventRetinaImage (SimModule *src, const InputFrame &ifr, const Rectangle &rawinprect, const Point2D< int > offset, rutz::shared_ptr< SpaceVariantTransform > retinal_transform, rutz::shared_ptr< SpaceVariantTransform > map_transform) | |
| Constuctor with tranform. | |
| virtual | ~SimEventRetinaImage () |
| Destructor. | |
| virtual std::string | toString () const |
| Get a description for printing out. | |
| const InputFrame & | frame () const |
| Get the frame. | |
| const Rectangle & | rawInputRectangle () const |
| Get the raw input rectangle. | |
| virtual Point2D< int > | rawToRetinal (const Point2D< int > &rawpos) const |
| Translate a raw eye position from stimulus coordinates to retinal. | |
| virtual Point2D< int > | retinalToRaw (const Point2D< int > &retpos) const |
| Translate a retinal eye position back into raw stimulus coordinates. | |
| virtual const Dims & | getRawInputDims () const |
| get the raw input dims | |
| virtual Point2D< int > | center () const |
| Get the coordinates of the center of the image. | |
| const Point2D< int > & | offset () const |
| Get the retinal/raw offset. | |
| rutz::shared_ptr < SpaceVariantTransform > | getRetTransform () const |
| get retinal transform | |
| rutz::shared_ptr < SpaceVariantTransform > | getMapTransform () const |
| get map transform | |
A new image is available from the retina.
Definition at line 109 of file NeuroSimEvents.H.
| SimEventRetinaImage::SimEventRetinaImage | ( | SimModule * | src, | |
| const InputFrame & | ifr, | |||
| const Rectangle & | rawinprect, | |||
| const Point2D< int > | offset | |||
| ) |
Constuctor.
Definition at line 91 of file NeuroSimEvents.C.
| SimEventRetinaImage::SimEventRetinaImage | ( | SimModule * | src, | |
| const InputFrame & | ifr, | |||
| const Rectangle & | rawinprect, | |||
| const Point2D< int > | offset, | |||
| rutz::shared_ptr< SpaceVariantTransform > | retinal_transform, | |||
| rutz::shared_ptr< SpaceVariantTransform > | map_transform | |||
| ) |
Constuctor with tranform.
Definition at line 99 of file NeuroSimEvents.C.
| SimEventRetinaImage::~SimEventRetinaImage | ( | ) | [virtual] |
Destructor.
Definition at line 109 of file NeuroSimEvents.C.
| Point2D< int > SimEventRetinaImage::center | ( | ) | const [virtual] |
Get the coordinates of the center of the image.
Definition at line 140 of file NeuroSimEvents.C.
| const InputFrame & SimEventRetinaImage::frame | ( | ) | const |
Get the frame.
Definition at line 119 of file NeuroSimEvents.C.
| rutz::shared_ptr< SpaceVariantTransform > SimEventRetinaImage::getMapTransform | ( | ) | const |
get map transform
Definition at line 149 of file NeuroSimEvents.C.
| const Dims & SimEventRetinaImage::getRawInputDims | ( | ) | const [virtual] |
get the raw input dims
Definition at line 129 of file NeuroSimEvents.C.
References rutz::shared_ptr< T >::is_valid().
| rutz::shared_ptr< SpaceVariantTransform > SimEventRetinaImage::getRetTransform | ( | ) | const |
get retinal transform
Definition at line 146 of file NeuroSimEvents.C.
| const Point2D< int > & SimEventRetinaImage::offset | ( | ) | const |
Get the retinal/raw offset.
Use with caution! Prefer using rawToRetinal() and retinalToRaw() instead.
Definition at line 143 of file NeuroSimEvents.C.
| const Rectangle & SimEventRetinaImage::rawInputRectangle | ( | ) | const |
Get the raw input rectangle.
Definition at line 122 of file NeuroSimEvents.C.
Translate a raw eye position from stimulus coordinates to retinal.
Definition at line 126 of file NeuroSimEvents.C.
Translate a retinal eye position back into raw stimulus coordinates.
Definition at line 137 of file NeuroSimEvents.C.
| std::string SimEventRetinaImage::toString | ( | ) | const [virtual] |
Get a description for printing out.
Reimplemented from SimEvent.
Definition at line 112 of file NeuroSimEvents.C.
References Image< T >::getHeight(), Image< T >::getWidth(), SimTime::msecs(), and sformat().
1.6.3