Changes between Version 7 and Version 8 of wxGUIDevelopment/Refactoring/wxGUIAPIproposal


Ignore:
Timestamp:
Mar 29, 2013, 8:44:33 AM (11 years ago)
Author:
wenzeslaus
Comment:

markup improvements and rashadkm's rendering notes moved to wxGUIDevelopment/MapRendering

Legend:

Unmodified
Added
Removed
Modified
  • wxGUIDevelopment/Refactoring/wxGUIAPIproposal

    v7 v8  
    5050}}}
    5151
    52 '''Proposing More classes'''
     52== Proposing More classes ==
     53
     54=== non-GUI classes ===
     55
    5356{{{
    5457#!python
     
    6164
    6265  self.ltype = None
    63   self.lname  = None
     66  self.lname = None
    6467  self.style = None
    6568
     
    127130      """TBD"""
    128131
     132}}}
     133
     134=== GUI classes ===
     135
     136{{{
     137#!python
    129138
    130139class LayerManagerFrame(wx.Frame, layerManager):
     
    163172}}}
    164173
    165 '''Simple usage of the above Pseudo code'''
     174=== Simple usage of the above Pseudo code ===
    166175
    167176{{{
     
    179188''PyDispatcher added by vaclav should be used for Event mechanism in the New GUI''
    180189
    181 '''New Rendering Model'''[[BR]]
    182 [[BR]]
    183 With the help of GRASS Python modules, It easy to pull chunks from raster data as Numpy array. A new rendering model (in-memory) can be added to wxGUI [[BR]] which can directly display a numpy array as wx.Image. This will obivously increase the performance of rendering layers because the overhead of [[BR]]reading and writing data to file (PNG adds a compression during packing and unpacking) can be saved. Also the extent based rendering [[BR]]will allow to read portion of raster image than whole dataset. Also a tile based technique can be added to this which improves the rendering [[BR]]performance further.
    184 [[BR]]
    185 Basically this will do what d.rast or generally speaking d.* modules do. I agree adding other modules such as d.legend etc is a massive work. But compared[[BR]] to dealing with large dataset I think its worth it.[[BR]].
    186 [[BR]][[BR]]
    187 ''This is just a breif of what I have. I can provide further details if anyone is interested''
    188190
    189191'''''TBD: To Be Decided'''''