File: wxpythonlib.dox

package info (click to toggle)
grass 6.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 104,028 kB
  • ctags: 40,409
  • sloc: ansic: 419,980; python: 63,559; tcl: 46,692; cpp: 29,791; sh: 18,564; makefile: 7,000; xml: 3,505; yacc: 561; perl: 559; lex: 480; sed: 70; objc: 7
file content (504 lines) | stat: -rw-r--r-- 12,500 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
/*! \page wxpythonlib GRASS wxPython-based GUI

The GUI (Graphical User Interface) is written in the Python
programming language using <a
href="http://www.wxpython.org">wxPython</a> library - a blending of
the <a href="http://www.wxwidgets.org">wxWidgets</a> library for
Python.

The wxPython GUI (so called <em>wxGUI</em>) is composed of two main
<em>components</em>:

- <b>Layer Manager</b> and
- <b>Map Display Window</b>.

The <em>Layer Manager</em> allows users to run different GRASS modules
from a menu, includes map layer management, integrated command-line
prompt, and command output window. The <em>Map Display Window</em>
integrates basic tools for zooming, panning, data querying,
decorations (north arrows, barscale, etc.). Additional tools like
vector digitizer or georectification tool are also available.

<b>Table of content</b>

- \ref background
- \ref classes
 - \ref core
 - \ref gui_core
 - \ref lmgr
 - \ref mapdisp
 - \ref wscreen
 - \ref dbmgr
 - \ref gpc
 - \ref gmodeler
 - \ref vdigit
 - \ref wxnviz
 - \ref psmap
 - \ref locWizard
 - \ref plot
 - \ref other
- \ref devel
- \ref seeAlso
- \ref refs

\section background Background

The plan for a native GUI for GRASS found its origin in the project <a
href="http://geo.fsv.cvut.cz/~landa/publications/2008/unpublished/fbk-report/technology-for-geoinformatics.html">GFOSS-TN</a>,
a collaboration between <a href="http://www.fbk.eu">FBK</a>
(Fondazione Bruno Kessler) and the Information System Service of the
Trento municipality (Italy). The wxGUI is successor of Tcl/Tk GUI
available in GRASS 5 and GRASS 6.

\section classes List of Modules and Classes

\subsection core Core modules

- core::debug
 - debug::DebugMsg
- core::globalvar
- core::gcmd
 - gcmd::GError
 - gcmd::GWarning
 - gcmd::GMessage
 - gcmd::GException
 - gcmd::Popen
 - gcmd::Command
 - gcmd::CommandThread
- core::menudata
 - menudata::MenuData
- core::render
 - render::Layer
 - render::Layer
 - render::MapLayer
 - render::Overlay
 - render::Map
- core::settings
 - settings::Settings
- core::units
 - units::BaseUnits
- core::utils
- core::workspace
 - workspace::ProcessWorkspaceFile
 - workspace::WriteWorkspaceFile
 - workspace::ProcessGrcFile

\subsection gui_core GUI core modules

- gui_core::dialogs
 - dialogs::ElementDialog
 - dialogs::LocationDialog
 - dialogs::MapsetDialog
 - dialogs::NewVectorDialog
 - dialogs::SavedRegion
 - dialogs::DecorationDialog
 - dialogs::TextLayerDialog 
 - dialogs::GroupDialog
 - dialogs::MapLayersDialog
 - dialogs::ImportDialog
 - dialogs::GdalImportDialog
 - dialogs::GdalOutputDialog
 - dialogs::DxfImportDialog
 - dialogs::LayersList (used by MultiImport) 
 - dialogs::SetOpacityDialog
 - dialogs::StaticWrapText
 - dialogs::ImageSizeDialog
 - dialogs::SqlQueryFrame
- gui_core::forms
 - forms::TaskFrame
 - forms::CmdPanel
 - forms::GrassGUIApp
- gui_core::ghelp
 - ghelp::SearchModuleWindow
 - ghelp::MenuTreeWindow
 - ghelp::MenuTree
 - ghelp::AboutWindow
 - ghelp::HelpFrame
 - ghelp::HelpWindow
 - ghelp::HelpPanel
- gui_core::goutput
 - goutput::CmdThread
 - goutput::GMConsole
 - goutput::GMStc
 - goutput::GMStdout
 - goutput::GMStderr
 - goutput::PyStc
- gui_core::gselect
 - gselect::Select
 - gselect::VectorSelect
 - gselect::TreeCrtlComboPopup
 - gselect::VectorDBInfo
 - gselect::LayerSelect
 - gselect::DriverSelect
 - gselect::DatabaseSelect
 - gselect::ColumnSelect
 - gselect::DbaseSelect
 - gselect::LocationSelect
 - gselect::MapsetSelect
 - gselect::SubGroupSelect
 - gselect::FormatSelect
 - gselect::GdalSelect
 - gselect::ProjSelect
 - gselect::ElementSelect
 - gselect::OgrTypeSelect
- gui_core::mapdisp
 - mapdisp::MapFrameBase
- gui_core::mapwindow
 - mapwindow::MapWindow
- gui_core::menu
 - menu::Menu
- gui_core::preferences
 - preferences::PreferencesBaseDialog
 - preferences::PreferencesDialog
 - preferences::DefaultFontDialog
 - preferences::MapsetAccess
- gui_core::prompt
 - prompt::PromptListCtrl
 - prompt::TextCtrlAutoComplete
 - prompt::GPrompt
 - prompt::GPromptPopUp
 - prompt::GPromptSTC
- gui_core::toolbars
 - toolbars::BaseToolbar
- gui_core::widgets
 - widgets::ScrolledPanel
 - widgets::NTCValidator
 - widgets::NumTextCtrl
 - widgets::FloatSlider
 - widgets::SymbolButton
 - widgets::StaticWrapText
 - widgets::BaseValidator
 - widgets::IntegerValidator
 - widgets::FloatValidator
 - widgets::NTCValidator
 - widgets::ItemTree

\subsection lmgr Layer Manager

- wxgui
 - wxgui::GMFrame
 - wxgui::GMApp
 - wxgui::Usage
- lmgr::layertree
 - lmgr::LayerTree
- lmgr::menudata
 - menudata::MenuData
- lmgr::pyshell
 - pyshell::PyShellWindow
- lmgr::toolbars
 - toolbars::LMWorkspaceToolbar
 - toolbars::LMDataToolbar
 - toolbars::LMToolsToolbar
 - toolbars::LMMiscToolbar
 - toolbars::LMVectorToolbar
 - toolbars::LMNvizToolbar

\subsection mapdisp Map Display Window

- mapdisp::frame
 - mapdisp::MapFrame
 - mapdisp::MapApp
- mapdisp::gprint
 - gprint::MapPrint
 - gprint::PrintOptions
- mapdisp::mapwindow
 - mapwindow::BufferedWindow
- mapdisp::statusbar
 - statusbar::SbException
 - statusbar::SbManager
 - statusbar::SbItem
 - statusbar::SbRender
 - statusbar::SbShowRegion
 - statusbar::SbAlignExtent
 - statusbar::SbResolution
 - statusbar::SbMapScale
 - statusbar::SbGoTo
 - statusbar::SbProjection
 - statusbar::SbMask
 - statusbar::SbTextItem
 - statusbar::SbDisplayGeometry
 - statusbar::SbCoordinates
 - statusbar::SbRegionExtent
 - statusbar::SbCompRegionExtent
 - statusbar::SbProgress
- mapdisp::toolbars
 - toolbars::MapToolbar

\subsection wscreen Welcome screen

- gis_set_error
- gis_set
 - gis_set::GRASSStartup
 - gis_set::StartUp
 - gis_set::GListBox

\subsection dbmgr Database Manager

- dbmgr::dialogs
 - dialogs::DisplayAttributesDialog
 - dialogs::ModifyTableRecord
- dbmgr::manager
 - manager::Log
 - manager::VirtualAttributeList
 - manager::AttributeManager
 - manager::TableListCtrl
 - manager::LayerListCtrl
 - manager::LayerBook
- dbmgr::sqlbuilder
 - sqlbuilder::SQLFrame
- dbmgr::vinfo
 - vinfo::VectorDBInfo

\subsection gpc Georectifier

- gcp::manager
 - manager::GCPWizard
 - manager::LocationPage
 - manager::GroupPage
 - manager::DispMapPage
 - manager::GCP
 - manager::GCPList
 - manager::VectGroup
 - manager::EditGCP
 - manager::GrSettingsDialog
- gcp::mapdisplay
- mapdisplay::MapFrame
- gcp::toolbars
 - toolbars::GCPMapToolbar
 - toolbars::GCPDisplayToolbar

\subsection gmodeler Graphical Modeler

- gmodeler::dialogs
 - dialogs::ModelDataDialog
 - dialogs::ModelSearchDialog
 - dialogs::ModelRelationDialog
 - dialogs::ModelItemDialog
 - dialogs::ModelLoopDialog
 - dialogs::ModelConditionDialog
 - dialogs::ModelListCtrl
 - dialogs::ValiableListCtrl
 - dialogs::ItemListCtrl
 - dialogs::ItemCheckListCtrl
- gmodeler::frame
 - frame::ModelToolbar
 - frame::ModelFrame
 - frame::ModelCanvas
 - frame::ModelEvtHandler
 - frame::VariablePanel
 - frame::ItemPanel
 - frame::PythonPanel
- gmodeler::menudata
 - menudata::ModelerData
- gmodeler::model
 - model::Model
 - model::ModelObject
 - model::ModelAction
 - model::ModelData
 - model::ModelRelation
 - model::ModelItem
 - model::ModelLoop
 - model::ModelCondition
 - model::ProcessModelFile
 - model::WriteModelFile
 - model::WritePythonFile
 - model::ModelParamDialog
- gmodeler::preferences
 - preferences::PreferencesDialog
 - preferences::PropertiesDialog

\subsection vdigit Vector digitizer

- vdigit::dialogs
 - dialogs::VDigitCategoryDialog
 - dialogs::CategoryListCtrl
 - dialogs::VDigitZBulkDialog
 - dialogs::VDigitDuplicatesDialog
 - dialogs::CheckListFeature
- vdigit::main
 - main::VDigit
- vdigit::mapwindow
 - mapwindow::VDigitWindow
- vdigit::preferences
 - preferences::VDigitSettingsDialog
- vdigit::toolbars
 - toolbars::VDigitToolbar
- vdigit::wxvdigit
 - wxdigit::VDigitError
 - wxdigit::IVDigit
- vdigit::wxdisplay
 - wxdisplay::DisplayDriver

\subsection wxnviz 3D view mode (wxNviz)

- nviz::animation
 - animation::Animation
- nviz::main
- nviz::mapwindow
 - mapwindow::NvizThread
 - mapwindow::GLWindow
- nviz::preferences
 - preferences::NvizPreferencesDialog
- nviz::tools
 - tools::NvizToolWindow
 - tools::PositionWindow
 - tools::ViewPositionWindow
 - tools::LightPositionWindow
- nviz::workspace
 - workspace::NvizSettings
- nviz::wxnviz
 - wxnviz::Nviz
 - wxnviz::Texture
 - wxnviz::ImageTexture
 - wxnviz::TextTexture

\subsection psmap Cartograpic Composer

- psmap::dialogs
 - dialogs::TCValidator
 - dialogs::PenStyleComboBox
 - dialogs::CheckListCtrl
 - dialogs::PsmapDialog
 - dialogs::PageSetupDialog
 - dialogs::MapDialog
 - dialogs::MapFramePanel
 - dialogs::RasterPanel
 - dialogs::VectorPanel
 - dialogs::RasterDialog
 - dialogs::MainVectorDialog
 - dialogs::VPropertiesDialog
 - dialogs::LegendDialog
 - dialogs::MapinfoDialog
 - dialogs::ScalebarDialog
 - dialogs::TextDialog
 - dialogs::ImageDialog
 - dialogs::NorthArrowDialog
- psmap::instructions
 - dialogs::Instruction
 - dialogs::InstructionObject
 - dialogs::InitMap
 - dialogs::MapFrame
 - dialogs::PageSetup
 - dialogs::Mapinfo
 - dialogs::Text
 - dialogs::Image
 - dialogs::NorthArrow
 - dialogs::Point
 - dialogs::Line
 - dialogs::Rectangle
 - dialogs::Scalebar
 - dialogs::RasterLegend
 - dialogs::VectorLegend
 - dialogs::Raster
 - dialogs::Vector
 - dialogs::VProperties
- psmap::utils
 - utils::Rect2D
 - utils::Rect2DPP
 - utils::Rect2DPS
 - utils::UnitConversion
- psmap::frame
 - frame::PsMapFrame
 - frame::PsMapBufferedWindow
- psmap::menudata
 - menudata::PsMapData
- psmap::toolbars
 - toolbars::PsMapToolbar

\subsection locWizard Location Wizard

- location_wizard::base
 - location_wizard::BaseClass
- location_wizard::dialogs
 - dialogs::RegionDef
 - dialogs::TransList
 - dialogs::SelectTransformDialog
- location_wizard::wizard
 - wizard::TitledPage
 - wizard::DatabasePage
 - wizard::CoordinateSystemPage
 - wizard::ProjectionsPage
 - wizard::ItemList
 - wizard::ProjParamsPage
 - wizard::DatumPage
 - wizard::EllipsePage
 - wizard::GeoreferencedFilePage
 - wizard::EPSGPage
 - wizard::CustomPage
 - wizard::SummaryPage
 - wizard::LocationWizard

\subsection plot Plotting modules

- wxplot::base
 - base::BasePlotFrame
- wxplot::dialogs
 - dialogs::ProfileRasterDialog
 - dialogs::ScatterRasterDialog
 - dialogs::PlotStatsFrame
 - dialogs::HistRasterDialog
 - dialogs::TextDialog
 - dialogs::OptDialog
- wxplot::histogram
 - histogram::Histogram2Frame
 - histogram::Histogram2Toolbar
- wxplot::profile
 - profile::ProfileFrame
 - profile::ProfileToolbar
- wxplot::scatter
 - scatter::ScatterFrame
 - scatter::ScatterToolbar

\subsection other Other GUI modules

- modules::colorrules
 - colorrules::RulesPanel
 - colorrules::ColorTable
 - colorrules::RasterColorTable
 - colorrules::VectorColorTable
 - colorrules::ThematicVectorTable
 - colorrules::BufferedWindow
- modules::extensions
 - extensions::InstallExtensionWindow
 - extensions::ExtensionTree
 - extensions::UninstallExtensionWindow
 - extensions::CheckListExtension
- modules::histogram
 - histogram::BufferedWindow
 - histogram::HistogramFrame
 - histogram::HistogramToolbar
- modules::mcalc_builder
 - mcalc_builder::MapCalcFrame
- modules::ogc_services
 - ogc_services::WMSDialog
 - ogc_services::LayersList
- modules::vclean
 - vclean::VectorCleaningFrame

\section devel Further Development

Ongoing development focuses on stability, portability and on the
integration of OpenGL (see \ref wxnviz).

A Map Composer, a tool for hardcopy map outputs is also planned to be
developed. Currently, the tools for creating hardcopy maps (map
layout) are limited in GRASS because its focus on modeling and spatial
analysis. GRASS gives the user ability to add only a very simple and
standardized legend, north arrow and scale to display to the graphics
monitor and then export the display to an external image file such as
a png. These map features are very basic and cannot be customized. The
goal is to allow users to prepare simple cartographic outputs
comparable e.g. with other, proprietary GIS map layout functionality.

For more info see http://trac.osgeo.org/grass/wiki/wxGUIDevelopment

\section seeAlso See also

- GRASS User Wiki - http://grass.osgeo.org/wiki/WxGUI
- GRASS Devs Wiki - http://trac.osgeo.org/grass/wiki/wxGUIDevelopment

\section refs References

- M. Landa, C. Moretto, M. Neteler, M. Zanolli, L. Manganelli, 2008: wxPython GUI per GRASS GIS. Proc. IX Meeting degli Utenti Italiani di GRASS - GFOSS - 21-22 Feb 2008, Perugia, Italy (<a href="http://geo.fsv.cvut.cz/~landa/publications/2008/gfoss-it-08/paper/grass-gfoss-tn.pdf">PDF</a>)

*/