WxNviz

From GRASS-Wiki
Revision as of 05:20, 5 July 2008 by ⚠️Landa (talk | contribs) (→‎wxGUI Nviz extension: what should work)
Jump to navigation Jump to search

Back to wxGUI page.

Accepted Google Summer of Code 2008 project

Roadmap / Progress

Done

  • Initial cleaning underlying GRASS OpenGL gsurf OGSF Library
    • Doxygenization, code documentation
    • Eliminate fprintf(), changed to G_*_message(), G_warning(), G_fatal_error(), and G_debug()

wxGUI Nviz extension

  • Integration with Layer Manager, (un)loading when map layer is (un)/checked
  • Integration with Map Display, auto-rendering functional
  • View settings (position, height, perspective, twist, z-exag), perspective can be changed by mouse wheel
  • Surface settings (attributes, draw mode)
  • Vector 2D lines

What should work:

  • Start GRASS with NC dataset
  • Add raster mp "elevation" and vector map "roadsmajor"
  • Start Nviz from Map display toolbar
  • Change view, surface attributes, drawing mode
  • Enable/disable data layer from Layer Manager

In progress

  • Update OGSF Library documentation
  • Experimental prototype of CLI version of NVIZ (just very simple functionality)
http://trac.osgeo.org/grass/browser/grass/trunk/visualization/nviz2/cmd
  • Design experimental nvizlib used by CLI and wxPython NVIZ prototype
http://trac.osgeo.org/grass/browser/grass/trunk/lib/nviz
  • Experimental prototype of NVIZ toolbox for wxGUI (based on NVIZ CLI functionality)
http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/nviz
http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/gui_modules/nviz.py

wxGUI Nviz extension

  • Surface, mask, position (needed?)
  • Vector 2D lines, settings
  • Save data layers settings, update workspace definition

Nviz CLI

  • To be updated (based on wxGUI Nviz functionality)

Screenshots

Alpha prototype

2008-06-27: Display raster map from layer tree in 2.5D (surface)
2008-07-05: Support for vector data (2D lines) added

Google SoC Reports

  1. 2008-06-06
  2. 2008-06-13
  3. 2008-06-20
  4. 2008-06-27
  5. 2008-07-04