Пример #1
0
 def viewErosionAppliedMap(self):
     self.updateWorld()
     self.mainImage.setPixmap(
         QtGui.QPixmap.fromImage(
             Render(self.world).convert('erosionappliedmap')))
     self.viewState = VIEWER_EROSIONAPP
     self.statusBar().showMessage('Viewing applied erosion map.')
Пример #2
0
 def viewWeatherMap(self):
     self.updateWorld()
     self.mainImage.setPixmap(
         QtGui.QPixmap.fromImage(
             Render(self.world).convert('windandrainmap')))
     self.viewState = VIEWER_RAINFALL
     self.statusBar().showMessage('Viewing weathermap.')
Пример #3
0
 def viewRiverMap(self):
     self.updateWorld()
     self.mainImage.setPixmap(
         QtGui.QPixmap.fromImage(
             Render(self.world).convert('rivermap', self.seaLevel)))
     self.viewState = VIEWER_RIVERS
     self.statusBar().showMessage('Viewing rivers and lakes.')
Пример #4
0
 def viewSeaLevel(self):
     self.updateWorld()
     self.mainImage.setPixmap(
         QtGui.QPixmap.fromImage(
             Render(self.world).convert('sealevel', self.seaLevel)))
     self.viewState = VIEWER_HEIGHTMAP
     self.statusBar().showMessage('Viewing sealevel.')
Пример #5
0
 def viewBiomeMap(self):
     self.updateWorld()
     self.mainImage.setPixmap(
         QtGui.QPixmap.fromImage(Render(self.world).convert('biomemap')))
     self.viewState = VIEWER_BIOMES
     self.statusBar().showMessage('Viewing biomes.')
Пример #6
0
 def viewDrainageMap(self):
     self.updateWorld()
     self.mainImage.setPixmap(
         QtGui.QPixmap.fromImage(Render(self.world).convert('drainagemap')))
     self.viewState = VIEWER_DRAINAGE
     self.statusBar().showMessage('Viewing drainmap.')
Пример #7
0
 def viewPrecipitation(self):
     self.updateWorld()
     self.mainImage.setPixmap(
         QtGui.QPixmap.fromImage(Render(self.world).convert('rainmap')))
     self.viewState = VIEWER_RAINFALL
     self.statusBar().showMessage('Viewing rainmap.')
Пример #8
0
 def viewWindMap(self):
     self.updateWorld()
     self.mainImage.setPixmap(
         QtGui.QPixmap.fromImage(Render(self.world).convert('windmap')))
     self.viewState = VIEWER_WIND
     self.statusBar().showMessage('Viewing windmap.')
Пример #9
0
 def viewRawHeatMap(self):
     self.updateWorld()
     self.mainImage.setPixmap(
         QtGui.QPixmap.fromImage(Render(self.world).convert('rawheatmap')))
     self.viewState = VIEWER_HEATMAP
     self.statusBar().showMessage('Viewing raw heatmap.')
Пример #10
0
 def viewElevation(self):
     self.updateWorld()
     self.mainImage.setPixmap(
         QtGui.QPixmap.fromImage(Render(self.world).convert('elevation')))
     self.viewState = VIEWER_HEIGHTMAP
     self.statusBar().showMessage('Viewing elevation.')