GRASS Programmer's Manual
6.4.2(2012)
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
nviz.py
Go to the documentation of this file.
1
"""!
2
@package nviz.py
3
4
@brief Nviz (3D view) module
5
6
This module implements 3D visualization mode for map display.
7
8
Map Display supports standard 2D view mode ('mapdisp' module) and
9
2.5/3D mode ('nviz_mapdisp' module).
10
11
(C) 2008, 2010 by the GRASS Development Team
12
13
This program is free software under the GNU General Public
14
License (>=v2). Read the file COPYING that comes with GRASS
15
for details.
16
17
@author Martin Landa <landa.martin gmail.com> (Google SoC 2008/2010)
18
"""
19
20
errorMsg =
''
21
22
import
os
23
import
sys
24
25
import
wx
26
import
globalvar
27
try
:
28
# from wx import glcanvas
29
# disable wxNviz for 6.4.2
30
# TODO: backport wxNviz from devbr6 *after* releasing 6.4.2
31
# import nviz_mapdisp
32
# import nviz_tools
33
# import wxnviz
34
haveNviz =
False
35
except
(ImportError, NameError), err:
36
haveNviz =
False
37
errorMsg = err
38
39
if
haveNviz:
40
GLWindow =
nviz_mapdisp.GLWindow
41
NvizToolWindow =
nviz_tools.NvizToolWindow
42
else
:
43
GLWindow =
None
44
NvizToolWindow =
None
gui
wxpython
gui_modules
nviz.py
Generated on Sun Sep 9 2012 18:55:33 for GRASS Programmer's Manual by
1.8.1.2