|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Canvas
|
+--DrawableSurface.DrawableSurface
|
+--DrawableSurface.ModifiedPaintSurface
This is the class which return the image modified by the retina algorithme.
| Field Summary | |
protected Algorithme |
algorithme
The retina algorithme. |
protected float |
coneJonctionResistanceFloat
The value of the cone jonction resistance. |
protected float |
coneMembranarCapacityFloat
The value of the cone membran capacity. |
protected float |
coneMembranarResistanceFloat
The value of the cone membran resistance. |
protected float |
coneSynapticResistanceFloat
The value of the cone synaptic resistance. |
protected float |
deltaT
The value of the deltatT. |
protected float |
horizontalJonctionResistanceFloat
The value of the horizontal jonction resistance. |
protected float |
horizontalMembranarCapacityFloat
The value of the horizontal membran capacity. |
protected float |
horizontalMembranarResistanceFloat
The value of the horizontal membran resistance. |
protected float |
horizontalSynapticResistanceFloat
The value of the horizontal synaptic resistance. |
protected long |
numberOfMillisToSleep
The number of millis second we want to sleep in the algorithme. |
protected PaintSurface |
paintSurface
The surface that we are going to take the pixels in order to put them in the algorithme. |
protected boolean |
simulationStopped
This boolean allow the user to stop/restart the algorithme. |
protected ToolPanel |
toolPanel
The toolpanel. |
| Fields inherited from class DrawableSurface.DrawableSurface |
animatedImage,
height,
painted,
width |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
| Constructor Summary | |
ModifiedPaintSurface(int width,
int height)
The second constructor. |
|
ModifiedPaintSurface(int width,
int height,
Color background_color)
The first constructor. |
|
| Method Summary | |
void |
init(PaintSurface paintSurface,
ToolPanel toolPanel)
Initialisation of our modifiedPaintSurface. |
void |
initSimulation(float coneSynapticResistanceFloat,
float coneMembranarResistanceFloat,
float coneMembranarCapacityFloat,
float coneJonctionResistanceFloat,
float horizontalSynapticResistanceFloat,
float horizontalMembranarResistanceFloat,
float horizontalMembranarCapacityFloat,
float horizontalJonctionResistanceFloat,
long numberOfMillisToSleepLong)
Method which initialize the modifiedPaintSurface's parameters with the specified values. |
void |
mouseClicked(MouseEvent e)
|
void |
mouseEntered(MouseEvent e)
|
void |
mouseExited(MouseEvent e)
|
void |
mousePressed(MouseEvent e)
|
void |
mouseReleased(MouseEvent e)
|
void |
run()
This method is invoqued when we start the algorithme. |
void |
stop()
This method is called when the user wants to stop the simulation. |
| Methods inherited from class DrawableSurface.DrawableSurface |
animatedImage,
eraseSurface,
height,
paint,
start,
update,
width |
| Methods inherited from class java.awt.Canvas |
addNotify |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
protected ToolPanel toolPanel
ToolPanelprotected Algorithme algorithme
Algorithmeprotected PaintSurface paintSurface
protected float coneSynapticResistanceFloat
protected float coneMembranarResistanceFloat
protected float coneMembranarCapacityFloat
protected float coneJonctionResistanceFloat
protected float horizontalSynapticResistanceFloat
protected float horizontalMembranarResistanceFloat
protected float horizontalMembranarCapacityFloat
protected float horizontalJonctionResistanceFloat
protected final float deltaT
protected long numberOfMillisToSleep
protected boolean simulationStopped
| Constructor Detail |
public ModifiedPaintSurface(int width,
int height,
Color background_color)
width - The width of our modifiedPaintSurfaceheight - The height of our modifiedPaintSurfacebackgroundColor - The background color of our modifiedPaintSurfaceDrawableSurface
public ModifiedPaintSurface(int width,
int height)
width - The width of our modifiedPaintSurfaceheight - The height of our modifiedPaintSurfaceDrawableSurface| Method Detail |
public void init(PaintSurface paintSurface,
ToolPanel toolPanel)
paintSurface - The paintSurface. This is it that will give us the pixels for the input
of the retina algorithme.toolPanel - The panel in which we are going to display the help message.ToolPanel
public void initSimulation(float coneSynapticResistanceFloat,
float coneMembranarResistanceFloat,
float coneMembranarCapacityFloat,
float coneJonctionResistanceFloat,
float horizontalSynapticResistanceFloat,
float horizontalMembranarResistanceFloat,
float horizontalMembranarCapacityFloat,
float horizontalJonctionResistanceFloat,
long numberOfMillisToSleepLong)
coneSynapticResistanceFloat - The value for the synaptic resistance of the cone layer.coneMembranarResistanceFloat - The value for the membranar resistance of the cone layer.coneMembranarCapacityFloat - The value for the membranar capacity of the cone layer.coneJonctionResistanceFloat - The value for the jonction resistance of the cone layer.horizontalSynapticResistanceFloat - The value for the synaptic resistance of the horizontal layer.horizontalMembranarResistanceFloat - The value for the membranar resistance of the horizontal layer.horizontalMembranarCapacityFloat - The value for the membranar capacity of the horizontal layer.horizontalJonctionResistanceFloat - The value for the jonction resistance of the horizontal layer.numberOfMillisToSleepLong - The value of which we ara going to sleep in the algorithme.public void run()
public void stop()
public void mouseClicked(MouseEvent e)
public void mouseEntered(MouseEvent e)
public void mouseExited(MouseEvent e)
public void mousePressed(MouseEvent e)
public void mouseReleased(MouseEvent e)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||