GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
def | __init__ |
Dialog for interactively defining vector cleaning tools. More... | |
def | OnAddTool |
Add tool button pressed. More... | |
def | AddTool |
def | OnClearTool |
Remove tool button pressed. More... | |
def | OnMoveToolUp |
Move up tool button pressed. More... | |
def | OnMoveToolDown |
Move down tool button pressed. More... | |
def | OnSetTool |
Tool was defined. More... | |
def | OnThreshValue |
Threshold value was entered. More... | |
def | OnSelect |
Tool was selected. More... | |
def | OnDone |
Command done. More... | |
def | OnCleaningRun |
Builds options and runs v.clean. More... | |
def | OnClose |
def | OnHelp |
Show GRASS manual page. More... | |
def | OnCopy |
Copy the command. More... | |
def | GetCmdStrings |
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(), frame.ModelFrame.OnDone(), mcalc_builder.MapCalcFrame.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.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().
vclean.VectorCleaningFrame.cmd |
Definition at line 46 of file vclean.py.
Referenced by wxnviz.ImageTexture.GetCmd(), vclean.VectorCleaningFrame.OnCleaningRun(), vclean.VectorCleaningFrame.OnCopy(), and vclean.VectorCleaningFrame.OnHelp().
vclean.VectorCleaningFrame.ct_panel |
Definition at line 142 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.AddTool().
vclean.VectorCleaningFrame.ftype |
Definition at line 62 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings().
vclean.VectorCleaningFrame.ftype_check |
Definition at line 123 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings().
vclean.VectorCleaningFrame.ftype_string |
Definition at line 111 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
vclean.VectorCleaningFrame.inmap |
Definition at line 57 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
vclean.VectorCleaningFrame.log |
Definition at line 41 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.OnCleaningRun(), toolbars.VDigitToolbar.OnSelectMap(), and mapwindow.NvizThread.run().
vclean.VectorCleaningFrame.n_ftypes |
Definition at line 107 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings().
vclean.VectorCleaningFrame.outmap |
Definition at line 60 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
vclean.VectorCleaningFrame.parent |
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().
vclean.VectorCleaningFrame.selected |
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().
vclean.VectorCleaningFrame.thresh_string |
Definition at line 110 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
vclean.VectorCleaningFrame.tool_desc_list |
Definition at line 67 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.AddTool(), and vclean.VectorCleaningFrame.OnSetTool().
vclean.VectorCleaningFrame.tool_list |
Definition at line 83 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.OnSetTool().
vclean.VectorCleaningFrame.tools_string |
Definition at line 109 of file vclean.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
vclean.VectorCleaningFrame.toolslines |
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().