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.')
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.')
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.')
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.')
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.')
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.')
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.')
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.')
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.')
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.')