(self)
Paint the scene.
        
        Called as soon as the window needs to be painted (e.g. call to 
        `updateGL()`).
        
        This method calls the `paint_all` method of the PaintManager.
Paint the scene.
        
        Called as soon as the window needs to be painted (e.g. call to 
        `updateGL()`).
        
        This method calls the `paint_all` method of the PaintManager.
Paint the scene . Called as soon as the window needs to be painted ( e . g . call to updateGL () ) . This method calls the paint_all method of the PaintManager .
def paintGL(self):
        """Paint the scene.
        
        Called as soon as the window needs to be painted (e.g. call to 
        `updateGL()`).
        
        This method calls the `paint_all` method of the PaintManager.
        
        """
        if self.just_initialized:
            self.process_interaction('Initialize', do_update=False)
        # paint fps
        if self.display_fps:
            self.paint_fps()
        # paint everything
        self.paint_manager.paintGL()
        # compute FPS
        self.fps_counter.tick()
        if self.autosave:
            if '%' in self.autosave:
                autosave = self.autosave % self.i
            else:
                autosave = self.autosave
            self.save_image(autosave, update=False)
        self.just_initialized = False
        self.i += 1
def paintGL ( self ) : if self . just_initialized : self . process_interaction ( 'Initialize' , do_update = False ) # paint fps if self . display_fps : self . paint_fps ( ) # paint everything self . paint_manager . paintGL ( ) # compute FPS self . fps_counter . tick ( ) if self . autosave : if '%' in self . autosave : autosave = self . autosave % self . i else : autosave = self . autosave self . save_image ( autosave , update = False ) self . just_initialized = False self . i += 1