GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
def | __init__ |
Dialog for interactively entering color rules for raster maps. More... | |
def | OnSelectionInput |
Raster map selected. More... | |
def | OnPreview |
Update preview (based on computational region) More... | |
def | OnHelp |
Show GRASS manual page. More... | |
Public Member Functions inherited from colorrules.ColorTable | |
def | __init__ |
Dialog for interactively entering rules for map management commands. More... | |
def | InitDisplay |
Initialize preview display, set dimensions and region. More... | |
def | OnCloseWindow |
Window closed. More... | |
def | OnApply |
Apply selected color table. More... | |
def | OnOK |
Apply selected color table and close the dialog. More... | |
def | OnCancel |
Do not apply any changes, remove associated rendered images and close the dialog. More... | |
def | OnSetTable |
Load pre-defined color table. More... | |
def | OnSaveRulesFile |
Save color table to file. More... | |
def | OnLoadRulesFile |
Load color table from file. More... | |
def | ReadColorTable |
Read color table. More... | |
def | OnLoadDefaultTable |
Load internal color table. More... | |
def | LoadTable |
Load current color table (using r(v).colors.out ) More... | |
def | CreateColorTable |
Creates color table. More... | |
def | DoPreview |
Update preview (based on computational region) More... | |
def | RunHelp |
Show GRASS manual page. More... | |
def | SetMap |
Set map name and update dialog. More... | |
Data Fields | |
mapType | |
attributeType | |
colorTable | |
properties | |
inmap | |
Data Fields inherited from colorrules.ColorTable | |
parent | |
layerTree | |
panel | |
Map | |
inmap | |
layer | |
mapType | |
selectionInput | |
loadRules | |
saveRules | |
btnSet | |
preview | |
btnHelp | |
btnCancel | |
btnApply | |
btnOK | |
btnDefault | |
cr_label | |
rulesPanel | |
btnPreview | |
width | |
height | |
Definition at line 774 of file colorrules.py.
def colorrules.RasterColorTable.__init__ | ( | self, | |
parent, | |||
kwargs | |||
) |
Dialog for interactively entering color rules for raster maps.
Definition at line 775 of file colorrules.py.
def colorrules.RasterColorTable.OnHelp | ( | self, | |
event | |||
) |
Show GRASS manual page.
Definition at line 923 of file colorrules.py.
def colorrules.RasterColorTable.OnPreview | ( | self, | |
tmp = True |
|||
) |
Update preview (based on computational region)
Definition at line 882 of file colorrules.py.
References utils.GetTempfile(), colorrules.ColorTable.inmap, and gcmd.RunCommand().
Referenced by colorrules.VectorColorTable.LoadRulesFromColumn(), colorrules.ColorTable.LoadTable(), colorrules.ColorTable.OnApply(), and colorrules.ColorTable.ReadColorTable().
def colorrules.RasterColorTable.OnSelectionInput | ( | self, | |
event | |||
) |
Raster map selected.
Definition at line 834 of file colorrules.py.
Referenced by colorrules.VectorColorTable.CreateAttrTable().
colorrules.RasterColorTable.attributeType |
Definition at line 779 of file colorrules.py.
Referenced by colorrules.VectorColorTable.LoadRulesFromColumn(), colorrules.VectorColorTable.OnAddColumn(), colorrules.VectorColorTable.OnColumnPreview(), colorrules.VectorColorTable.OnLayerSelection(), colorrules.VectorColorTable.UpdateColorColumn(), colorrules.VectorColorTable.UpdateDialog(), and colorrules.VectorColorTable.UseAttrColumn().
colorrules.RasterColorTable.colorTable |
Definition at line 780 of file colorrules.py.
Referenced by colorrules.VectorColorTable.CreateColorTable(), colorrules.VectorColorTable.LoadTable(), colorrules.VectorColorTable.OnApply(), colorrules.VectorColorTable.OnCheckColumn(), colorrules.VectorColorTable.OnPreview(), and colorrules.VectorColorTable.SetRangeLabel().
colorrules.RasterColorTable.inmap |
Definition at line 837 of file colorrules.py.
Referenced by vclean.VectorCleaningFrame.GetCmdStrings(), vclean.VectorCleaningFrame.OnCleaningRun(), and vclean.VectorCleaningFrame.OnCopy().
colorrules.RasterColorTable.mapType |
Definition at line 778 of file colorrules.py.
Referenced by dialogs.MapFramePanel.OnElementType(), and dialogs.MapFramePanel.update().
colorrules.RasterColorTable.properties |
Definition at line 782 of file colorrules.py.
Referenced by colorrules.VectorColorTable.AddTemporaryColumn(), colorrules.ColorTable.CreateColorTable(), colorrules.VectorColorTable.DeleteTemporaryColumn(), base.BasePlotFrame.DrawPlot(), base.BasePlotFrame.InitRasterOpts(), colorrules.VectorColorTable.LoadRulesFromColumn(), colorrules.ColorTable.LoadTable(), colorrules.VectorColorTable.OnAddColumn(), colorrules.VectorColorTable.OnApply(), colorrules.VectorColorTable.OnCheckColumn(), colorrules.VectorColorTable.OnColumnPreview(), colorrules.VectorColorTable.OnFromColSelection(), colorrules.VectorColorTable.OnLayerSelection(), base.BasePlotFrame.OnPlotText(), colorrules.VectorColorTable.OnSourceColumnSelection(), colorrules.VectorColorTable.OnToColSelection(), colorrules.ColorTable.ReadColorTable(), base.BasePlotFrame.SetGraphStyle(), colorrules.VectorColorTable.SetRangeLabel(), colorrules.VectorColorTable.UpdateColorColumn(), dialogs.TextDialog.UpdateSettings(), dialogs.OptDialog.UpdateSettings(), and colorrules.VectorColorTable.UseAttrColumn().