|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
Mapcalc Frame class. More...
Public Member Functions | |
| def | __init__ |
| def | AddMark |
| Sends operators to insertion method. | |
| def | OnSelect |
| Gets raster map or function selection and send it to insertion method. | |
| def | OnUpdateStatusBar |
| Update statusbar text. | |
| def | OnMCalcRun |
| Builds and runs r.mapcalc statement. | |
| def | OnDone |
| Add create map to the layer tree. | |
| def | OnSaveExpression |
| Saves expression to file. | |
| def | OnLoadExpression |
| Load expression from file. | |
| def | OnClear |
| Clears text area. | |
| def | OnHelp |
| Launches r.mapcalc help. | |
| def | OnClose |
| Close window. | |
Data Fields | |
| parent | |
| log | |
| cmd | |
| rast3d | |
| panel | |
| heading | |
| funct_dict | |
| operatorBox | |
| operandBox | |
| expressBox | |
| btn_clear | |
| btn_help | |
| btn_run | |
| btn_close | |
| btn_save | |
| btn_load | |
| btn | |
| text_mcalc | |
| newmaplabel | |
| newmaptxt | |
| mapsellabel | |
| mapselect | |
| functlabel | |
| function | |
| addbox | |
Mapcalc Frame class.
Calculator-style window to create and run r(3).mapcalc statements.
Definition at line 34 of file mcalc_builder.py.
| def mcalc_builder.MapCalcFrame.__init__ | ( | self, | |
| parent, | |||
| cmd, | |||
id = wx.ID_ANY, |
|||
style = wx.DEFAULT_FRAME_STYLE | wx.RESIZE_BORDER, |
|||
| kwargs | |||
| ) |
Definition at line 39 of file mcalc_builder.py.
| def mcalc_builder.MapCalcFrame.AddMark | ( | self, | |
| event | |||
| ) |
Sends operators to insertion method.
Definition at line 361 of file mcalc_builder.py.
References mcalc_builder.MapCalcFrame._addSomething(), and mcalc_builder.MapCalcFrame.btn.
| def mcalc_builder.MapCalcFrame.OnClear | ( | self, | |
| event | |||
| ) |
Clears text area.
Definition at line 529 of file mcalc_builder.py.
| def mcalc_builder.MapCalcFrame.OnClose | ( | self, | |
| event | |||
| ) |
Close window.
Definition at line 539 of file mcalc_builder.py.
| def mcalc_builder.MapCalcFrame.OnDone | ( | self, | |
| cmd, | |||
| returncode | |||
| ) |
Add create map to the layer tree.
Definition at line 457 of file mcalc_builder.py.
Referenced by vclean.VectorCleaningFrame.OnCleaningRun(), and mcalc_builder.MapCalcFrame.OnMCalcRun().
| def mcalc_builder.MapCalcFrame.OnHelp | ( | self, | |
| event | |||
| ) |
Launches r.mapcalc help.
Definition at line 534 of file mcalc_builder.py.
References mcalc_builder.MapCalcFrame.cmd, render.Layer.cmd, gcmd.Command.cmd, gcmd.CommandThread.cmd, dialogs.DecorationDialog.cmd, forms.GUI.cmd, and gcmd.RunCommand().
| def mcalc_builder.MapCalcFrame.OnLoadExpression | ( | self, | |
| event | |||
| ) |
Load expression from file.
Definition at line 497 of file mcalc_builder.py.
| def mcalc_builder.MapCalcFrame.OnMCalcRun | ( | self, | |
| event | |||
| ) |
Builds and runs r.mapcalc statement.
Definition at line 432 of file mcalc_builder.py.
References mcalc_builder.MapCalcFrame.cmd, render.Layer.cmd, gcmd.Command.cmd, gcmd.CommandThread.cmd, dialogs.DecorationDialog.cmd, forms.GUI.cmd, 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(), mcalc_builder.MapCalcFrame.OnDone(), frame.ModelFrame.OnDone(), forms.TaskFrame.OnDone(), frame.PythonPanel.OnDone(), and gcmd.RunCommand().
| def mcalc_builder.MapCalcFrame.OnSaveExpression | ( | self, | |
| event | |||
| ) |
Saves expression to file.
Definition at line 473 of file mcalc_builder.py.
| def mcalc_builder.MapCalcFrame.OnSelect | ( | self, | |
| event | |||
| ) |
Gets raster map or function selection and send it to insertion method.
Definition at line 392 of file mcalc_builder.py.
References mcalc_builder.MapCalcFrame._addSomething().
Referenced by vclean.VectorCleaningFrame.AddTool().
| def mcalc_builder.MapCalcFrame.OnUpdateStatusBar | ( | self, | |
| event | |||
| ) |
Update statusbar text.
Definition at line 399 of file mcalc_builder.py.
Definition at line 220 of file mcalc_builder.py.
Definition at line 137 of file mcalc_builder.py.
Referenced by mcalc_builder.MapCalcFrame.AddMark().
Definition at line 125 of file mcalc_builder.py.
Definition at line 130 of file mcalc_builder.py.
Definition at line 126 of file mcalc_builder.py.
Definition at line 133 of file mcalc_builder.py.
Definition at line 127 of file mcalc_builder.py.
Definition at line 131 of file mcalc_builder.py.
Definition at line 47 of file mcalc_builder.py.
Referenced by wxnviz.ImageTexture.GetCmd(), vclean.VectorCleaningFrame.OnCleaningRun(), vclean.VectorCleaningFrame.OnCopy(), vclean.VectorCleaningFrame.OnHelp(), mcalc_builder.MapCalcFrame.OnHelp(), and mcalc_builder.MapCalcFrame.OnMCalcRun().
Definition at line 119 of file mcalc_builder.py.
Definition at line 66 of file mcalc_builder.py.
Definition at line 215 of file mcalc_builder.py.
Definition at line 213 of file mcalc_builder.py.
Definition at line 65 of file mcalc_builder.py.
Definition at line 42 of file mcalc_builder.py.
Referenced by vclean.VectorCleaningFrame.OnCleaningRun(), mcalc_builder.MapCalcFrame.OnMCalcRun(), toolbars.VDigitToolbar.OnSelectMap(), and mapwindow.NvizThread.run().
Definition at line 211 of file mcalc_builder.py.
Definition at line 206 of file mcalc_builder.py.
Definition at line 200 of file mcalc_builder.py.
Definition at line 205 of file mcalc_builder.py.
Definition at line 117 of file mcalc_builder.py.
Definition at line 115 of file mcalc_builder.py.
Definition at line 59 of file mcalc_builder.py.
Definition at line 40 of file mcalc_builder.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 50 of file mcalc_builder.py.
Definition at line 194 of file mcalc_builder.py.