|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
Public Member Functions | |
| def | __init__ |
| Dialog for interactively defining vector cleaning tools. | |
| def | OnAddTool |
| Add tool button pressed. | |
| def | AddTool |
| def | OnClearTool |
| Remove tool button pressed. | |
| def | OnMoveToolUp |
| Move up tool button pressed. | |
| def | OnMoveToolDown |
| Move down tool button pressed. | |
| def | OnSetTool |
| Tool was defined. | |
| def | OnThreshValue |
| Threshold value was entered. | |
| def | OnSelect |
| Tool was selected. | |
| def | OnDone |
| Command done. | |
| def | OnCleaningRun |
| Builds options and runs v.clean. | |
| def | OnClose |
| def | OnHelp |
| Show GRASS manual page. | |
| def | OnCopy |
| Copy the command. | |
| def | GetCmdStrings |
Data Fields | |
| parent | |
| log | |
| cmd | |
| panel | |
| inmap | |
| outmap | |
| ftype | |
| toolslines | |
| tool_desc_list | |
| tool_list | |
| n_ftypes | |
| tools_string | |
| thresh_string | |
| ftype_string | |
| elem | |
| ctlabel | |
| inmaplabel | |
| selectionInput | |
| ftype_check | |
| ftypeSizer | |
| outmaplabel | |
| selectionOutput | |
| overwrite | |
| ct_label | |
| ct_panel | |
| btn_add | |
| btn_remove | |
| btn_moveup | |
| btn_movedown | |
| selected | |
| btn_close | |
| btn_run | |
| btn_clipboard | |
| btn_help | |
| ct_sizer | |
| def vclean.VectorCleaningFrame.__init__ | ( | self, | |
| parent, | |||
id = wx.ID_ANY, |
|||
title = _('Set up vector cleaning tools'), |
|||
style = wx.DEFAULT_FRAME_STYLE | wx.RESIZE_BORDER, |
|||
| kwargs | |||
| ) |
| def vclean.VectorCleaningFrame.AddTool | ( | self | ) |
Definition at line 306 of file vclean.py.
References vclean.VectorCleaningFrame.ct_panel, mcalc_builder.MapCalcFrame.OnSelect(), vclean.VectorCleaningFrame.OnSelect(), vclean.VectorCleaningFrame.OnSetTool(), vclean.VectorCleaningFrame.OnThreshValue(), vclean.VectorCleaningFrame.tool_desc_list, and vclean.VectorCleaningFrame.toolslines.
| def vclean.VectorCleaningFrame.GetCmdStrings | ( | self | ) |
Definition at line 526 of file vclean.py.
References vclean.VectorCleaningFrame.ftype, gselect.VectorSelect.ftype, vclean.VectorCleaningFrame.ftype_check, vclean.VectorCleaningFrame.ftype_string, vclean.VectorCleaningFrame.inmap, colorrules.ColorTable.inmap, colorrules.RasterColorTable.inmap, colorrules.VectorColorTable.inmap, vclean.VectorCleaningFrame.n_ftypes, vclean.VectorCleaningFrame.outmap, tools.range, vclean.VectorCleaningFrame.thresh_string, vclean.VectorCleaningFrame.tools_string, and vclean.VectorCleaningFrame.toolslines.
Referenced by vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
| def vclean.VectorCleaningFrame.OnAddTool | ( | self, | |
| event | |||
| ) |
| def vclean.VectorCleaningFrame.OnCleaningRun | ( | self, | |
| event | |||
| ) |
Builds options and runs v.clean.
Definition at line 450 of file vclean.py.
References vclean.VectorCleaningFrame.cmd, mcalc_builder.MapCalcFrame.cmd, render.Layer.cmd, gcmd.Command.cmd, gcmd.CommandThread.cmd, dialogs.DecorationDialog.cmd, forms.GUI.cmd, vclean.VectorCleaningFrame.ftype_string, vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.inmap, colorrules.ColorTable.inmap, colorrules.RasterColorTable.inmap, colorrules.VectorColorTable.inmap, vclean.VectorCleaningFrame.log, mcalc_builder.MapCalcFrame.log, manager.VirtualAttributeList.log, extensions.ExtensionTree.log, manager.AttributeManager.log, frame.ModelEvtHandler.log, preferences.CheckListMapset.log, dialogs.LayersList.log, extensions.InstallExtensionWindow.OnDone(), frame.GMFrame.OnDone(), vclean.VectorCleaningFrame.OnDone(), mcalc_builder.MapCalcFrame.OnDone(), frame.ModelFrame.OnDone(), forms.TaskFrame.OnDone(), frame.PythonPanel.OnDone(), vclean.VectorCleaningFrame.outmap, gcmd.RunCommand(), vclean.VectorCleaningFrame.thresh_string, and vclean.VectorCleaningFrame.tools_string.
| def vclean.VectorCleaningFrame.OnClearTool | ( | self, | |
| event | |||
| ) |
Remove tool button pressed.
Definition at line 347 of file vclean.py.
References vclean.VectorCleaningFrame.selected, widgets.SingleSymbolPanel.selected, gis_set.GListBox.selected, manager.GCPList.selected, dialogs.SymbolDialog.selected, widgets.SetValue(), and vclean.VectorCleaningFrame.toolslines.
| def vclean.VectorCleaningFrame.OnClose | ( | self, | |
| event | |||
| ) |
| def vclean.VectorCleaningFrame.OnCopy | ( | self, | |
| event | |||
| ) |
Copy the command.
Definition at line 508 of file vclean.py.
References vclean.VectorCleaningFrame.cmd, mcalc_builder.MapCalcFrame.cmd, render.Layer.cmd, gcmd.Command.cmd, gcmd.CommandThread.cmd, dialogs.DecorationDialog.cmd, forms.GUI.cmd, vclean.VectorCleaningFrame.ftype_string, vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.inmap, colorrules.ColorTable.inmap, colorrules.RasterColorTable.inmap, colorrules.VectorColorTable.inmap, vclean.VectorCleaningFrame.outmap, vclean.VectorCleaningFrame.thresh_string, and vclean.VectorCleaningFrame.tools_string.
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
| def vclean.VectorCleaningFrame.OnDone | ( | self, | |
| cmd, | |||
| returncode | |||
| ) |
Command done.
Definition at line 446 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.OnCleaningRun().
| def vclean.VectorCleaningFrame.OnHelp | ( | self, | |
| event | |||
| ) |
Show GRASS manual page.
Definition at line 501 of file vclean.py.
References vclean.VectorCleaningFrame.cmd, mcalc_builder.MapCalcFrame.cmd, render.Layer.cmd, gcmd.Command.cmd, gcmd.CommandThread.cmd, dialogs.DecorationDialog.cmd, forms.GUI.cmd, and gcmd.RunCommand().
| def vclean.VectorCleaningFrame.OnMoveToolDown | ( | self, | |
| event | |||
| ) |
Move down tool button pressed.
Definition at line 385 of file vclean.py.
References vclean.VectorCleaningFrame.selected, widgets.SingleSymbolPanel.selected, gis_set.GListBox.selected, manager.GCPList.selected, dialogs.SymbolDialog.selected, widgets.SetValue(), and vclean.VectorCleaningFrame.toolslines.
| def vclean.VectorCleaningFrame.OnMoveToolUp | ( | self, | |
| event | |||
| ) |
Move up tool button pressed.
Definition at line 359 of file vclean.py.
References vclean.VectorCleaningFrame.selected, widgets.SingleSymbolPanel.selected, gis_set.GListBox.selected, manager.GCPList.selected, dialogs.SymbolDialog.selected, widgets.SetValue(), and vclean.VectorCleaningFrame.toolslines.
| def vclean.VectorCleaningFrame.OnSelect | ( | self, | |
| event | |||
| ) |
Tool was selected.
Definition at line 433 of file vclean.py.
References vclean.VectorCleaningFrame.selected, widgets.SingleSymbolPanel.selected, gis_set.GListBox.selected, manager.GCPList.selected, and dialogs.SymbolDialog.selected.
Referenced by vclean.VectorCleaningFrame.AddTool().
| def vclean.VectorCleaningFrame.OnSetTool | ( | self, | |
| event | |||
| ) |
Tool was defined.
Definition at line 411 of file vclean.py.
References vclean.VectorCleaningFrame.tool_desc_list, vclean.VectorCleaningFrame.tool_list, and vclean.VectorCleaningFrame.toolslines.
Referenced by vclean.VectorCleaningFrame.AddTool().
| def vclean.VectorCleaningFrame.OnThreshValue | ( | self, | |
| event | |||
| ) |
Threshold value was entered.
Definition at line 422 of file vclean.py.
References widgets.GetValue(), and vclean.VectorCleaningFrame.toolslines.
Referenced by vclean.VectorCleaningFrame.AddTool().
Definition at line 46 of file vclean.py.
Referenced by wxnviz.ImageTexture.GetCmd(), vclean.VectorCleaningFrame.OnCleaningRun(), vclean.VectorCleaningFrame.OnCopy(), and vclean.VectorCleaningFrame.OnHelp().
Definition at line 142 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.AddTool().
Definition at line 62 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings().
Definition at line 123 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings().
Definition at line 111 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
Definition at line 57 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
Definition at line 41 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.OnCleaningRun(), toolbars.VDigitToolbar.OnSelectMap(), and mapwindow.NvizThread.run().
Definition at line 107 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings().
Definition at line 60 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
Definition at line 39 of file vclean.py.
Referenced by wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), wxdigit.VDigitError.NoMap(), frame.PsMapBufferedWindow.OnLeftUp(), wxdigit.VDigitError.ReadLine(), and wxdigit.VDigitError.WriteLine().
Definition at line 152 of file vclean.py.
Referenced by wxdisplay.DisplayDriver.DrawMap(), wxdisplay.DisplayDriver.GetDuplicates(), wxdisplay.DisplayDriver.GetRegionSelected(), wxdisplay.DisplayDriver.GetSelected(), wxdisplay.DisplayDriver.GetSelectedIList(), wxdisplay.DisplayDriver.GetSelectedVertex(), vclean.VectorCleaningFrame.OnClearTool(), vclean.VectorCleaningFrame.OnMoveToolDown(), vclean.VectorCleaningFrame.OnMoveToolUp(), vclean.VectorCleaningFrame.OnSelect(), wxdisplay.DisplayDriver.SelectLineByPoint(), wxdisplay.DisplayDriver.SelectLinesByBox(), wxdisplay.DisplayDriver.SetSelected(), and wxdisplay.DisplayDriver.UnSelect().
Definition at line 110 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
Definition at line 67 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.AddTool(), and vclean.VectorCleaningFrame.OnSetTool().
Definition at line 83 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.OnSetTool().
Definition at line 109 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
Definition at line 65 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.AddTool(), vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnClearTool(), vclean.VectorCleaningFrame.OnMoveToolDown(), vclean.VectorCleaningFrame.OnMoveToolUp(), vclean.VectorCleaningFrame.OnSetTool(), and vclean.VectorCleaningFrame.OnThreshValue().