Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
|
Standard canvas plus resizing capabilities. More...
Public Member Functions | |
def | __init__ (self, AreaType=Image_Area, parent=None, image=None, width=400, height=300, zoom=1) |
Defining View: a window (QGraphicsView) that contains a plot area (QGraphicsScene) More... | |
def | paintEvent (self, e) |
calls Qt's paintEvent More... | |
def | resizeEvent (self, e) |
calls Qt's resizeEvent More... | |
def | updateScene (self, L) |
unused More... | |
def | photo (self, Name, FrameNumber=-1, outputDir='.', extension='png') |
takes a snapshot and saves it to a new file More... | |
def | EventInterpreter (self, Event) |
Does nothing here. More... | |
Public Attributes | |
Area | |
FrameNumber | |
Standard canvas plus resizing capabilities.
Definition at line 68 of file Evolife_Graphic.py.
def Evolife.Graphics.Evolife_Graphic.AreaView.__init__ | ( | self, | |
AreaType = Image_Area , |
|||
parent = None , |
|||
image = None , |
|||
width = 400 , |
|||
height = 300 , |
|||
zoom = 1 |
|||
) |
Defining View: a window (QGraphicsView) that contains a plot area (QGraphicsScene)
Reimplemented in Evolife.Graphics.Evolife_Graphic.Satellite_window, Evolife.Graphics.Evolife_Graphic.Active_Frame, Evolife.Graphics.Evolife_Graphic.Network_window, Evolife.Graphics.Evolife_Graphic.Genome_window, Evolife.Graphics.Evolife_Graphic.Field_window, Evolife.Graphics.Evolife_Graphic.Image_window, Evolife.Graphics.Evolife_Window.Simulation_Control_Frame, Evolife.Graphics.Evolife_Window.Simulation_Display_Control_Frame, Evolife.Graphics.Evolife_Window.Simulation_Frame, and Evolife.Graphics.Evolife_Window.Evolife_Frame.
Definition at line 71 of file Evolife_Graphic.py.
def Evolife.Graphics.Evolife_Graphic.AreaView.EventInterpreter | ( | self, | |
Event | |||
) |
Does nothing here.
To be overloaded
Reimplemented in Evolife.Graphics.Evolife_Graphic.Active_Frame.
Definition at line 115 of file Evolife_Graphic.py.
def Evolife.Graphics.Evolife_Graphic.AreaView.paintEvent | ( | self, | |
e | |||
) |
calls Qt's paintEvent
Definition at line 85 of file Evolife_Graphic.py.
def Evolife.Graphics.Evolife_Graphic.AreaView.photo | ( | self, | |
Name, | |||
FrameNumber = -1 , |
|||
outputDir = '.' , |
|||
extension = 'png' |
|||
) |
takes a snapshot and saves it to a new file
Definition at line 102 of file Evolife_Graphic.py.
def Evolife.Graphics.Evolife_Graphic.AreaView.resizeEvent | ( | self, | |
e | |||
) |
calls Qt's resizeEvent
Definition at line 90 of file Evolife_Graphic.py.
def Evolife.Graphics.Evolife_Graphic.AreaView.updateScene | ( | self, | |
L | |||
) |
unused
Definition at line 97 of file Evolife_Graphic.py.
Evolife.Graphics.Evolife_Graphic.AreaView.Area |
Definition at line 77 of file Evolife_Graphic.py.
Evolife.Graphics.Evolife_Graphic.AreaView.FrameNumber |
Definition at line 106 of file Evolife_Graphic.py.