GRASS Programmer's Manual
6.4.2(2012)
|
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. |
Mapcalc Frame class.
Calculator-style window to create and run r(3).mapcalc statements.
Definition at line 37 of file mcalc_builder.py.
def gui_modules.mcalc_builder.MapCalcFrame.__init__ | ( | self, | |
parent, | |||
cmd, | |||
id = wx.ID_ANY , |
|||
style = wx.DEFAULT_FRAME_STYLE | wx.RESIZE_BORDER , |
|||
kwargs | |||
) |
Definition at line 42 of file mcalc_builder.py.
def gui_modules.mcalc_builder.MapCalcFrame.AddMark | ( | self, | |
event | |||
) |
Sends operators to insertion method.
Definition at line 363 of file mcalc_builder.py.
References gui_modules.mcalc_builder.MapCalcFrame._addSomething(), and gui_modules.mcalc_builder.MapCalcFrame.btn.
def gui_modules.mcalc_builder.MapCalcFrame.OnClear | ( | self, | |
event | |||
) |
Clears text area.
Definition at line 531 of file mcalc_builder.py.
def gui_modules.mcalc_builder.MapCalcFrame.OnClose | ( | self, | |
event | |||
) |
Close window.
Definition at line 541 of file mcalc_builder.py.
def gui_modules.mcalc_builder.MapCalcFrame.OnDone | ( | self, | |
cmd, | |||
returncode | |||
) |
Add create map to the layer tree.
Definition at line 459 of file mcalc_builder.py.
Referenced by gui_modules.mcalc_builder.MapCalcFrame.OnMCalcRun(), and gui_modules.menuform.mainFrame.OnRun().
def gui_modules.mcalc_builder.MapCalcFrame.OnHelp | ( | self, | |
event | |||
) |
Launches r.mapcalc help.
Definition at line 536 of file mcalc_builder.py.
References gui_modules.mcalc_builder.MapCalcFrame.cmd, gui_modules.gcmd.Command.cmd, gui_modules.gcmd.CommandThread.cmd, and gui_modules.gdialogs.DecorationDialog.cmd.
Referenced by gui_modules.menuform.mainFrame.OnKeyUp().
def gui_modules.mcalc_builder.MapCalcFrame.OnLoadExpression | ( | self, | |
event | |||
) |
Load expression from file.
Definition at line 499 of file mcalc_builder.py.
def gui_modules.mcalc_builder.MapCalcFrame.OnMCalcRun | ( | self, | |
event | |||
) |
Builds and runs r.mapcalc statement.
Definition at line 434 of file mcalc_builder.py.
References gui_modules.mcalc_builder.MapCalcFrame.cmd, gui_modules.gcmd.Command.cmd, gui_modules.gcmd.CommandThread.cmd, gui_modules.gdialogs.DecorationDialog.cmd, gui_modules.mcalc_builder.MapCalcFrame.log, gui_modules.dbm.VirtualAttributeList.log, gui_modules.dbm.AttributeManager.log, gui_modules.ghelp.ExtensionTree.log, gui_modules.gdialogs.LayersList.log, gui_modules.gmodeler.ModelEvtHandler.log, gui_modules.mcalc_builder.MapCalcFrame.OnDone(), gui_modules.ghelp.InstallExtensionWindow.OnDone(), and gui_modules.gmodeler.ModelFrame.OnDone().
def gui_modules.mcalc_builder.MapCalcFrame.OnSaveExpression | ( | self, | |
event | |||
) |
Saves expression to file.
Definition at line 475 of file mcalc_builder.py.
def gui_modules.mcalc_builder.MapCalcFrame.OnSelect | ( | self, | |
event | |||
) |
Gets raster map or function selection and send it to insertion method.
Definition at line 394 of file mcalc_builder.py.
References gui_modules.mcalc_builder.MapCalcFrame._addSomething().
Referenced by gui_modules.vclean.VectorCleaningFrame.AddTool().
def gui_modules.mcalc_builder.MapCalcFrame.OnUpdateStatusBar | ( | self, | |
event | |||
) |
Update statusbar text.
Definition at line 401 of file mcalc_builder.py.
Referenced by gui_modules.prompt.GPromptPopUp.__init__(), and gui_modules.prompt.GPrompt.OnRunCmd().
gui_modules.mcalc_builder.MapCalcFrame.addbox |
Definition at line 222 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.btn |
Definition at line 139 of file mcalc_builder.py.
Referenced by gui_modules.mcalc_builder.MapCalcFrame.AddMark().
gui_modules.mcalc_builder.MapCalcFrame.btn_clear |
Definition at line 128 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.btn_close |
Definition at line 132 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.btn_help |
Definition at line 129 of file mcalc_builder.py.
Referenced by gui_modules.menuform.mainFrame.OnRun().
gui_modules.mcalc_builder.MapCalcFrame.btn_load |
Definition at line 135 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.btn_run |
Definition at line 130 of file mcalc_builder.py.
Referenced by gui_modules.menuform.mainFrame.OnRun().
gui_modules.mcalc_builder.MapCalcFrame.btn_save |
Definition at line 133 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.cmd |
Definition at line 50 of file mcalc_builder.py.
Referenced by gui_modules.render.Layer.GetCmd(), gui_modules.menuform.GUI.GetCmd(), gui_modules.vclean.VectorCleaningFrame.OnCopy(), gui_modules.vclean.VectorCleaningFrame.OnHelp(), gui_modules.mcalc_builder.MapCalcFrame.OnHelp(), gui_modules.mcalc_builder.MapCalcFrame.OnMCalcRun(), gui_modules.render.Layer.Render(), and gui_modules.render.Layer.SetCmd().
gui_modules.mcalc_builder.MapCalcFrame.expressBox |
Definition at line 122 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.funct_dict |
Definition at line 69 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.function |
Definition at line 217 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.functlabel |
Definition at line 215 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.heading |
Definition at line 68 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.log |
Definition at line 45 of file mcalc_builder.py.
Referenced by gui_modules.mcalc_builder.MapCalcFrame.OnMCalcRun(), gui_modules.toolbars.VDigitToolbar.OnSelectMap(), and gui_modules.nviz_mapdisp.NvizThread.run().
gui_modules.mcalc_builder.MapCalcFrame.mapselect |
Definition at line 213 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.mapsellabel |
Definition at line 208 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.newmaplabel |
Definition at line 202 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.newmaptxt |
Definition at line 207 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.operandBox |
Definition at line 120 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.operatorBox |
Definition at line 118 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.panel |
Definition at line 62 of file mcalc_builder.py.
Referenced by gui_modules.prompt.GPromptPopUp.__init__(), gui_modules.prompt.GPromptSTC.__init__(), and gui_modules.prompt.GPrompt.GetPanel().
gui_modules.mcalc_builder.MapCalcFrame.parent |
Definition at line 43 of file mcalc_builder.py.
Referenced by gui_modules.wxvdigit.VDigitError.Database(), gui_modules.wxvdigit.VDigitError.DbExecute(), gui_modules.wxvdigit.VDigitError.DbLink(), gui_modules.wxvdigit.VDigitError.DeadLine(), gui_modules.wxvdigit.VDigitError.Driver(), gui_modules.wxvdigit.VDigitError.FeatureType(), gui_modules.wxvdigit.VDigitError.NoMap(), gui_modules.menuform.mainFrame.OnCancel(), gui_modules.menuform.mainFrame.OnDone(), wxgui.GMFrame.OnPsMap(), gui_modules.menuform.mainFrame.OnRun(), gui_modules.toolbars.VDigitToolbar.OnSelectMap(), gui_modules.toolbars.VDigitToolbar.OnSettings(), gui_modules.toolbars.NvizToolbar.OnSettings(), gui_modules.toolbars.AbstractToolbar.OnTool(), gui_modules.menuform.cmdPanel.OnUpdateSelection(), gui_modules.toolbars.VDigitToolbar.OnZBulk(), gui_modules.wxvdigit.VDigitError.ReadLine(), gui_modules.menuform.UpdateQThread.run(), gui_modules.toolbars.VDigitToolbar.StopEditing(), and gui_modules.wxvdigit.VDigitError.WriteLine().
gui_modules.mcalc_builder.MapCalcFrame.rast3d |
Definition at line 53 of file mcalc_builder.py.
gui_modules.mcalc_builder.MapCalcFrame.text_mcalc |
Definition at line 196 of file mcalc_builder.py.