Esempio n. 1
0
 def show(self, **options):
     """
     Called to show the display associated to the image.
     
     You can specify 'options' that will be given to the displayer.
     """
     if self.displayId != '':
         self.gd.showWindow(self.displayId, **options)
     else:
         if self.gd == None:
             self.gd = getDisplayer()
         self.displayId = self.gd.addWindow(im=self)
         self.gd.showWindow(self.displayId, **options)
Esempio n. 2
0
 def show(self, **options):
     """
     Called to show the display associated to the image.
     Showing the display may significantly slow down your operations.
     
     You can specify 'options' that will be given to the displayer.
     """
     if self.displayId != '':
         self.gd.showWindow(self.displayId, **options)
     else:
         if self.gd == None:
             self.gd = getDisplayer()
         self.displayId = self.gd.addWindow(im=self)
         self.gd.showWindow(self.displayId, **options)
Esempio n. 3
0
 def setUp(self):
     self.testDisp = mambaDisplay.getDisplayer()
     self.testDisp.eraseStatsOnFun()