#include <robj.h>
Inheritance diagram for Retinal_Obj


Public Types | |
| typedef double | Activity |
| Type to use for an activity level. More... | |
| typedef double | Angle |
| Type to use for an angle, in radians. More... | |
| typedef double | Coordinate |
| Type to use for a distance or location on the surface of the retina. More... | |
Public Methods | |
| virtual bool | next () = 0 |
| Advance to the next state (whatever that means for this object). | |
| virtual void | reset () = 0 |
| Reset to the starting state. | |
| virtual bool | update () const = 0 |
| Must be called just before calling activation() one or more times. | |
| virtual Activity | activation (Coordinate x, Coordinate y) const = 0 |
| Activation level for the given Cartesian position. | |
| virtual Angle | angle () const = 0 |
| Returns the orientation of this object in radians. More... | |
| virtual string | stringrep () const = 0 |
| (Partial) representation of this object's state as a string. | |
| virtual ostream& | put (ostream& s) const |
| Virtual interface to the operator<<, since << cannot be virtual. More... | |
Derived classes implement a hierarchy of objects of various shapes which produce greyscale activation patterns suitable e.g. for presentation to a network that processes images.
Definition at line 25 of file robj.h.
|
|
Type to use for an activity level.
|
|
|
Type to use for an angle, in radians.
|
|
|
Type to use for a distance or location on the surface of the retina.
|
|
|
Returns the orientation of this object in radians. This value is intended to be used only for convenience for tasks like constructing default filenames. Since not all Retinal_Objs are guaranteed to even have a meaningful orientation (e.g. circular objects or unbounded objects), bear in mind that the value will not always be useful. Reimplemented in Retinal_Object, and Retinal_AnchoredManagedComposite. |
|
|
Virtual interface to the operator<<, since << cannot be virtual. The string representation may someday be replaced with one that specifies the object entirely, in a form that can be read in using operator>>, rather than just printing the current state. Thus calling code should not rely upon this particular output format. Definition at line 67 of file robj.h. Referenced by operator<<(). |
1.2.1 written by Dimitri van Heesch,
© 1997-2000