SimEventRetinaImage Class Reference

A new image is available from the retina. More...

#include <Neuro/NeuroSimEvents.H>

Inheritance diagram for SimEventRetinaImage:
Inheritance graph
[legend]
Collaboration diagram for SimEventRetinaImage:
Collaboration graph
[legend]

List of all members.

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 InputFrameframe () const
 Get the frame.
const RectanglerawInputRectangle () 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 DimsgetRawInputDims () 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

Detailed Description

A new image is available from the retina.

Definition at line 109 of file NeuroSimEvents.H.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Point2D< int > SimEventRetinaImage::rawToRetinal ( const Point2D< int > &  rawpos  )  const [virtual]

Translate a raw eye position from stimulus coordinates to retinal.

Definition at line 126 of file NeuroSimEvents.C.

Point2D< int > SimEventRetinaImage::retinalToRaw ( const Point2D< int > &  retpos  )  const [virtual]

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().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:25:12 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3