GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
OpenGL canvas for Map Display Window. More...
Public Member Functions | |
def | __init__ |
def | InitFly |
Initialize fly through dictionary. More... | |
def | OnTimerFly |
Fly event was emitted, move the scene. More... | |
def | ComputeMxMy |
Compute values for flythrough navigation (ComputeFlyValues should follow). More... | |
def | ComputeFlyValues |
Compute parameters for fly-through navigation. More... | |
def | ChangeFlySpeed |
Increase/decrease flight spped. More... | |
def | __del__ |
Stop timers if running, unload data. More... | |
def | StopTimer |
Stop timer if running. More... | |
def | InitCPlanes |
Initialize cutting planes list. More... | |
def | SetToolWin |
Sets reference to nviz toolwindow in layer manager. More... | |
def | GetToolWin |
Returns reference to nviz toolwindow in layer manager. More... | |
def | OnClose |
def | OnEraseBackground |
def | OnSize |
def | OnPaint |
def | DoPaint |
def | DrawImages |
Draw overlay image. More... | |
def | GetLegendRect |
Estimates legend size for dragging. More... | |
def | DrawTextImage |
Draw overlay text. More... | |
def | UpdateOverlays |
Converts rendered overlay files and text labels to wx.Image and then to textures so that they can be rendered by OpenGL. More... | |
def | CreateTexture |
Create texture from overlay image or from textdict. More... | |
def | FindObjects |
def | OnTimerAnim |
def | GetAnimation |
def | OnKeyDown |
Key was pressed. More... | |
def | ProcessFlyByArrows |
Process arrow key during fly-through. More... | |
def | OnKeyUp |
Key was released. More... | |
def | OnMouseAction |
Handle mouse events. More... | |
def | OnMouseWheel |
Change perspective. More... | |
def | OnLeftDown |
On left mouse down. More... | |
def | OnDragging |
def | Pixel2Cell |
Convert image coordinates to real word coordinates. More... | |
def | DoZoom |
Change perspective and focus. More... | |
def | OnLeftUp |
def | OnDClick |
On mouse double click. More... | |
def | FocusPanning |
Simulation of panning using focus. More... | |
def | HorizontalPanning |
Move all layers in horizontal (x, y) direction. More... | |
def | DragItem |
Drag an overlay decoration item. More... | |
def | ZoomBack |
Set previous view in history list. More... | |
def | ViewHistory |
Manages a list of last 10 views. More... | |
def | ResetViewHistory |
Reset view history. More... | |
def | GoTo |
Focus on given point. More... | |
def | QuerySurface |
Query surface on given position. More... | |
def | PostViewEvent |
Change view settings. More... | |
def | OnQueryVector |
Query vector on given position. More... | |
def | ChangeInnerView |
Get current viewdir and viewpoint and set view. More... | |
def | OnUpdateView |
Change view settings. More... | |
def | UpdateView |
Change view settings. More... | |
def | UpdateLight |
Change light settings. More... | |
def | UpdateMap |
Updates the canvas anytime there is a change to the underlaying images or to the geometry of the canvas. More... | |
def | EraseMap |
Erase the canvas. More... | |
def | SetDrawArrow |
def | SetDrawScalebar |
Add scale bar, sets properties and draw. More... | |
def | IsLoaded |
Check if layer (item) is already loaded. More... | |
def | LoadDataLayers |
Load raster/vector from current layer tree. More... | |
def | UnloadDataLayers |
Unload any layers that have been deleted from layer tree. More... | |
def | SetVectorSurface |
Set reference surfaces of vector. More... | |
def | SetVectorFromCmd |
Set 3D view properties from cmd (d.vect) More... | |
def | SetMapObjProperties |
Set map object properties. More... | |
def | LoadRaster |
Load 2d raster map and set surface attributes. More... | |
def | LoadRaster3d |
Load 3d raster map and set surface attributes. More... | |
def | NewConstant |
Create new constant. More... | |
def | AddConstant |
Add new constant. More... | |
def | DeleteConstant |
Delete constant layer. More... | |
def | SelectCPlane |
Select cutting plane. More... | |
def | OnUpdateCPlane |
Change cutting plane settings. More... | |
def | UpdateCPlane |
Change cutting plane settings. More... | |
def | UnloadRaster |
Unload 2d raster map. More... | |
def | UnloadRaster3d |
Unload 3d raster map. More... | |
def | LoadVector |
Load 2D or 3D vector map overlay. More... | |
def | UnloadVector |
Unload vector map overlay. More... | |
def | ResetView |
Reset to default view. More... | |
def | UpdateMapObjProperties |
Generic method to update data layer properties. More... | |
def | UpdateConstantProperties |
Update surface map object properties. More... | |
def | UpdateSurfaceProperties |
Update surface map object properties. More... | |
def | UpdateVolumeProperties |
Update volume (isosurface/slice) map object properties. More... | |
def | UpdateVectorProperties |
Update vector layer properties. More... | |
def | UpdateVectorLinesProperties |
Update vector line map object properties. More... | |
def | UpdateVectorPointsProperties |
Update vector point map object properties. More... | |
def | GetLayerNames |
Return list of map layer names of given type. More... | |
def | GetLayerId |
Get layer object id or -1. More... | |
def | ReloadLayersData |
Delete nviz data of all loaded layers and reload them from current settings. More... | |
def | NvizCmdCommand |
Generate command for m.nviz.image according to current state. More... | |
def | OnNvizCmd |
Generate and write command to command output. More... | |
def | SaveToFile |
This draws the DC to a buffer that can be saved to a file. More... | |
def | GetDisplay |
Get display instance. More... | |
def | ZoomToMap |
Reset view. More... | |
def | TextBounds |
Return text boundary data. More... | |
Public Member Functions inherited from mapwindow.MapWindow | |
def | __init__ |
def | RegisterMouseEventHandler |
Binds event handler. More... | |
def | UnregisterMouseEventHandler |
Unbinds event handler a restores previous state. More... | |
def | Pixel2Cell |
def | Cell2Pixel |
def | OnMotion |
Tracks mouse motion and update statusbar. More... | |
def | GetLastEN |
Returns last coordinates of mouse cursor. More... | |
def | GetLayerByName |
Get layer from layer tree by nam. More... | |
def | GetSelectedLayer |
Get selected layer from layer tree. More... | |
Data Fields | |
parent | |
init | |
initView | |
context | |
render | |
mouse | |
cursors | |
layers | |
constants | |
baseId | |
cplanes | |
qpoints | |
viewhistory | |
saveHistory | |
dialogOffset | |
overlays | |
imagelist | |
overlay | |
textdict | |
dragid | |
hitradius | |
toolWin | |
log | |
nvizThread | |
img | |
size | |
nvizDefault | |
view | |
iview | |
light | |
decoration | |
fly | |
timerFly | |
timerAnim | |
animation | |
resize | |
Data Fields inherited from mapwindow.MapWindow | |
parent | |
Map | |
tree | |
lmgr | |
mouse | |
lastEN | |
OpenGL canvas for Map Display Window.
Definition at line 72 of file nviz/mapwindow.py.
def mapwindow.GLWindow.__init__ | ( | self, | |
parent, | |||
id = wx.ID_ANY , |
|||
Map = None , |
|||
tree = None , |
|||
lmgr = None |
|||
) |
Definition at line 75 of file nviz/mapwindow.py.
def mapwindow.GLWindow.__del__ | ( | self | ) |
Stop timers if running, unload data.
Definition at line 305 of file nviz/mapwindow.py.
References mapwindow.GLWindow.StopTimer(), mapwindow.GLWindow.timerAnim, mapwindow.GLWindow.timerFly, and mapwindow.GLWindow.UnloadDataLayers().
def mapwindow.GLWindow.AddConstant | ( | self, | |
data, | |||
name | |||
) |
Add new constant.
Definition at line 1571 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.NewConstant().
def mapwindow.GLWindow.ChangeFlySpeed | ( | self, | |
increase | |||
) |
Increase/decrease flight spped.
Definition at line 298 of file nviz/mapwindow.py.
References mapwindow.GLWindow.fly.
Referenced by mapwindow.GLWindow.OnKeyDown(), and mapwindow.GLWindow.OnMouseWheel().
def mapwindow.GLWindow.ChangeInnerView | ( | self | ) |
Get current viewdir and viewpoint and set view.
Definition at line 1086 of file nviz/mapwindow.py.
References mapwindow.GLWindow.iview, and mapwindow.GLWindow.view.
Referenced by mapwindow.GLWindow.OnTimerFly().
def mapwindow.GLWindow.ComputeFlyValues | ( | self, | |
mx, | |||
my | |||
) |
Compute parameters for fly-through navigation.
mx,my results from ComputeMxMy method
Definition at line 283 of file nviz/mapwindow.py.
References mapwindow.GLWindow.fly.
Referenced by mapwindow.GLWindow.OnTimerFly().
def mapwindow.GLWindow.ComputeMxMy | ( | self, | |
x, | |||
y | |||
) |
Compute values for flythrough navigation (ComputeFlyValues should follow).
Based on visualization/nviz/src/togl_flythrough.c.
x,y | screen coordinates |
Definition at line 248 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.OnTimerFly().
def mapwindow.GLWindow.CreateTexture | ( | self, | |
overlay = None , |
|||
textId = None |
|||
) |
Create texture from overlay image or from textdict.
Definition at line 524 of file nviz/mapwindow.py.
References mapwindow.GLWindow.DrawTextImage(), mapwindow.GLWindow.GetLegendRect(), mapwindow.BufferedWindow.overlays, mapwindow.GLWindow.overlays, render.Map.overlays, mapwindow.BufferedWindow.TextBounds(), mapwindow.GLWindow.TextBounds(), mapwindow.BufferedWindow.textdict, and mapwindow.GLWindow.textdict.
Referenced by mapwindow.GLWindow.UpdateOverlays().
def mapwindow.GLWindow.DeleteConstant | ( | self, | |
index | |||
) |
Delete constant layer.
Definition at line 1579 of file nviz/mapwindow.py.
References mapwindow.GLWindow.constants.
def mapwindow.GLWindow.DoPaint | ( | self | ) |
Definition at line 379 of file nviz/mapwindow.py.
References globalvar.CheckWxVersion(), mapwindow.GLWindow.context, mapwindow.GLWindow.GetLayerNames(), mapwindow.MapWindow.GetSelectedLayer(), mapwindow.GLWindow.init, mapwindow.GLWindow.initView, mapwindow.MapWindow.lmgr, workspace.WriteWorkspaceFile.lmgr, mapwindow.GLWindow.LoadDataLayers(), mapwindow.GLWindow.ResetView(), mapwindow.GLWindow.UnloadDataLayers(), mapwindow.BufferedWindow.UpdateMap(), and mapwindow.GLWindow.UpdateMap().
Referenced by mapwindow.GLWindow.DoZoom(), and mapwindow.GLWindow.OnPaint().
def mapwindow.GLWindow.DoZoom | ( | self, | |
zoomtype, | |||
pos | |||
) |
Change perspective and focus.
Definition at line 768 of file nviz/mapwindow.py.
References mapwindow.GLWindow.DoPaint(), mapwindow.GLWindow.iview, mapwindow.MapWindow.lmgr, workspace.WriteWorkspaceFile.lmgr, mapwindow.GLWindow.saveHistory, and mapwindow.GLWindow.view.
Referenced by mapwindow.GLWindow.OnLeftUp(), and mapwindow.GLWindow.OnMouseWheel().
def mapwindow.GLWindow.DragItem | ( | self, | |
id, | |||
event | |||
) |
Drag an overlay decoration item.
Definition at line 942 of file nviz/mapwindow.py.
References mapwindow.GLWindow.imagelist, mapwindow.MapWindow.mouse, histogram.BufferedWindow.render, mapwindow.GLWindow.render, colorrules.BufferedWindow.render, and manager.GCPList.render.
Referenced by mapwindow.GLWindow.OnDragging().
def mapwindow.GLWindow.DrawImages | ( | self | ) |
Draw overlay image.
Definition at line 420 of file nviz/mapwindow.py.
References mapwindow.GLWindow.imagelist.
def mapwindow.GLWindow.DrawTextImage | ( | self, | |
textDict, | |||
relCoords | |||
) |
Draw overlay text.
Definition at line 447 of file nviz/mapwindow.py.
References mapwindow.GLWindow.view.
Referenced by mapwindow.GLWindow.CreateTexture().
def mapwindow.GLWindow.EraseMap | ( | self | ) |
Erase the canvas.
Definition at line 1202 of file nviz/mapwindow.py.
def mapwindow.GLWindow.FindObjects | ( | self, | |
mouseX, | |||
mouseY, | |||
radius | |||
) |
Find object which was clicked on
Definition at line 552 of file nviz/mapwindow.py.
References mapwindow.GLWindow.imagelist.
Referenced by mapwindow.GLWindow.OnDClick(), and mapwindow.GLWindow.OnLeftDown().
def mapwindow.GLWindow.FocusPanning | ( | self, | |
event | |||
) |
Simulation of panning using focus.
Definition at line 874 of file nviz/mapwindow.py.
References mapwindow.GLWindow.iview, mapwindow.MapWindow.mouse, mapwindow.GLWindow.PostViewEvent(), histogram.BufferedWindow.render, mapwindow.GLWindow.render, colorrules.BufferedWindow.render, and manager.GCPList.render.
Referenced by mapwindow.GLWindow.OnDragging().
def mapwindow.GLWindow.GetAnimation | ( | self | ) |
Definition at line 562 of file nviz/mapwindow.py.
References mapwindow.GLWindow.animation.
def mapwindow.GLWindow.GetDisplay | ( | self | ) |
Get display instance.
Definition at line 2512 of file nviz/mapwindow.py.
References mapwindow.NvizThread._display, and mapwindow.GLWindow._display.
def mapwindow.GLWindow.GetLayerId | ( | self, | |
type, | |||
name, | |||
vsubtyp = None |
|||
) |
Get layer object id or -1.
Definition at line 2162 of file nviz/mapwindow.py.
References mapwindow.GLWindow.constants, workspace.ProcessWorkspaceFile.layers, mapwindow.GLWindow.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, and manager.LayerListCtrl.layers.
Referenced by mapwindow.GLWindow.UpdateVectorLinesProperties(), and mapwindow.GLWindow.UpdateVectorPointsProperties().
def mapwindow.GLWindow.GetLayerNames | ( | self, | |
type | |||
) |
Return list of map layer names of given type.
Definition at line 2145 of file nviz/mapwindow.py.
References mapwindow.GLWindow.constants, workspace.ProcessWorkspaceFile.layers, mapwindow.GLWindow.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, and manager.LayerListCtrl.layers.
Referenced by mapwindow.GLWindow.DoPaint(), mapwindow.GLWindow.LoadRaster3d(), mapwindow.GLWindow.SetVectorSurface(), and mapwindow.GLWindow.UnloadRaster3d().
def mapwindow.GLWindow.GetLegendRect | ( | self | ) |
Estimates legend size for dragging.
Definition at line 426 of file nviz/mapwindow.py.
References mapwindow.BufferedWindow.overlays, mapwindow.GLWindow.overlays, render.Map.overlays, and utils.split().
Referenced by mapwindow.GLWindow.CreateTexture().
def mapwindow.GLWindow.GetToolWin | ( | self | ) |
Returns reference to nviz toolwindow in layer manager.
Definition at line 331 of file nviz/mapwindow.py.
References mapwindow.GLWindow.toolWin.
def mapwindow.GLWindow.GoTo | ( | self, | |
e, | |||
n | |||
) |
Focus on given point.
Definition at line 1019 of file nviz/mapwindow.py.
References mapwindow.GLWindow.iview, mapwindow.GLWindow.PostViewEvent(), histogram.BufferedWindow.render, mapwindow.GLWindow.render, colorrules.BufferedWindow.render, manager.GCPList.render, and mapwindow.GLWindow.saveHistory.
def mapwindow.GLWindow.HorizontalPanning | ( | self, | |
event | |||
) |
Move all layers in horizontal (x, y) direction.
Currently not used.
Definition at line 896 of file nviz/mapwindow.py.
References workspace.ProcessWorkspaceFile.layers, mapwindow.GLWindow.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, manager.LayerListCtrl.layers, mapwindow.MapWindow.mouse, histogram.BufferedWindow.render, mapwindow.GLWindow.render, colorrules.BufferedWindow.render, and manager.GCPList.render.
def mapwindow.GLWindow.InitCPlanes | ( | self | ) |
Initialize cutting planes list.
Definition at line 320 of file nviz/mapwindow.py.
References tools.range.
def mapwindow.GLWindow.InitFly | ( | self | ) |
Initialize fly through dictionary.
Definition at line 213 of file nviz/mapwindow.py.
def mapwindow.GLWindow.IsLoaded | ( | self, | |
item | |||
) |
Check if layer (item) is already loaded.
item | layer item |
Definition at line 1248 of file nviz/mapwindow.py.
References mapwindow.GLWindow._GetDataLayers().
def mapwindow.GLWindow.LoadDataLayers | ( | self | ) |
Load raster/vector from current layer tree.
Definition at line 1288 of file nviz/mapwindow.py.
References mapwindow.GLWindow._GetDataLayers(), workspace.ProcessWorkspaceFile.layers, mapwindow.GLWindow.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, manager.LayerListCtrl.layers, mapwindow.GLWindow.LoadRaster(), mapwindow.GLWindow.LoadRaster3d(), mapwindow.GLWindow.LoadVector(), workspace.ProcessWorkspaceFile.tree, mapwindow.MapWindow.tree, menudata.MenuData.tree, mapdisplay.MapFrame.tree, and model.ProcessModelFile.tree.
Referenced by mapwindow.GLWindow.DoPaint().
def mapwindow.GLWindow.LoadRaster | ( | self, | |
item | |||
) |
Load 2d raster map and set surface attributes.
layer | item |
Definition at line 1494 of file nviz/mapwindow.py.
References mapwindow.GLWindow._loadRaster().
Referenced by mapwindow.GLWindow.LoadDataLayers().
def mapwindow.GLWindow.LoadRaster3d | ( | self, | |
item | |||
) |
Load 3d raster map and set surface attributes.
layer | item |
Definition at line 1501 of file nviz/mapwindow.py.
References mapwindow.GLWindow._loadRaster(), mapwindow.GLWindow.GetLayerNames(), mapwindow.MapWindow.GetSelectedLayer(), mapwindow.MapWindow.lmgr, workspace.WriteWorkspaceFile.lmgr, and mapwindow.GLWindow.SetMapObjProperties().
Referenced by mapwindow.GLWindow.LoadDataLayers().
def mapwindow.GLWindow.LoadVector | ( | self, | |
item, | |||
points = None , |
|||
append = True |
|||
) |
Load 2D or 3D vector map overlay.
item | layer item |
points | True to load points, False to load lines, None to load both |
append | append vector to layer list |
Definition at line 1682 of file nviz/mapwindow.py.
References mapwindow.GLWindow.baseId, mapwindow.MapWindow.GetSelectedLayer(), mapwindow.MapWindow.lmgr, workspace.WriteWorkspaceFile.lmgr, and mapwindow.GLWindow.SetMapObjProperties().
Referenced by mapwindow.GLWindow.LoadDataLayers().
def mapwindow.GLWindow.NewConstant | ( | self | ) |
Create new constant.
Definition at line 1558 of file nviz/mapwindow.py.
References mapwindow.GLWindow.AddConstant(), mapwindow.GLWindow.constants, and mapwindow.GLWindow.SetMapObjProperties().
def mapwindow.GLWindow.NvizCmdCommand | ( | self | ) |
Generate command for m.nviz.image according to current state.
Definition at line 2211 of file nviz/mapwindow.py.
References mapwindow.GLWindow.constants, mapwindow.GLWindow.cplanes, mapwindow.GLWindow.decoration, widgets.GetValue(), mapwindow.GLWindow.iview, workspace.ProcessWorkspaceFile.layers, mapwindow.GLWindow.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, manager.LayerListCtrl.layers, mapwindow.GLWindow.light, and mapwindow.GLWindow.view.
Referenced by mapwindow.GLWindow.OnNvizCmd().
def mapwindow.GLWindow.OnClose | ( | self, | |
event | |||
) |
Definition at line 335 of file nviz/mapwindow.py.
References mapwindow.GLWindow.StopTimer(), mapwindow.GLWindow.timerAnim, mapwindow.GLWindow.timerFly, and mapwindow.GLWindow.UnloadDataLayers().
def mapwindow.GLWindow.OnDClick | ( | self, | |
event | |||
) |
On mouse double click.
Definition at line 861 of file nviz/mapwindow.py.
References mapwindow.BufferedWindow.dragid, mapwindow.GLWindow.dragid, mapwindow.GLWindow.FindObjects(), mapwindow.BufferedWindow.hitradius, mapwindow.GLWindow.hitradius, and mapwindow.MapWindow.mouse.
Referenced by mapwindow.GLWindow.OnMouseAction().
def mapwindow.GLWindow.OnDragging | ( | self, | |
event | |||
) |
Definition at line 729 of file nviz/mapwindow.py.
References mapwindow.BufferedWindow.dragid, mapwindow.GLWindow.dragid, mapwindow.BufferedWindow.DragItem(), mapwindow.GLWindow.DragItem(), mapwindow.GLWindow.FocusPanning(), mapwindow.MapWindow.mouse, histogram.BufferedWindow.render, mapwindow.GLWindow.render, colorrules.BufferedWindow.render, and manager.GCPList.render.
Referenced by frame.PsMapBufferedWindow.MouseActions(), and mapwindow.GLWindow.OnMouseAction().
def mapwindow.GLWindow.OnEraseBackground | ( | self, | |
event | |||
) |
Definition at line 341 of file nviz/mapwindow.py.
def mapwindow.GLWindow.OnKeyDown | ( | self, | |
event | |||
) |
Key was pressed.
Used for fly-through mode.
Definition at line 565 of file nviz/mapwindow.py.
References mapwindow.GLWindow.ChangeFlySpeed(), mapwindow.GLWindow.fly, mapwindow.MapWindow.mouse, mapwindow.GLWindow.ProcessFlyByArrows(), histogram.BufferedWindow.render, mapwindow.GLWindow.render, colorrules.BufferedWindow.render, manager.GCPList.render, mapwindow.GLWindow.StopTimer(), and mapwindow.GLWindow.timerFly.
def mapwindow.GLWindow.OnKeyUp | ( | self, | |
event | |||
) |
Key was released.
Used for fly-through mode.
Definition at line 624 of file nviz/mapwindow.py.
References mapwindow.GLWindow.fly, and mapwindow.MapWindow.mouse.
def mapwindow.GLWindow.OnLeftDown | ( | self, | |
event | |||
) |
On left mouse down.
Definition at line 690 of file nviz/mapwindow.py.
References mapdisp.MapFrameBase.cursors, frame.ModelFrame.cursors, mapwindow.GLWindow.cursors, mapwindow.BufferedWindow.dragid, mapwindow.GLWindow.dragid, mapwindow.GLWindow.FindObjects(), mapwindow.GLWindow.fly, mapwindow.BufferedWindow.hitradius, mapwindow.GLWindow.hitradius, mapwindow.GLWindow.iview, mapwindow.MapWindow.mouse, mapwindow.GLWindow.saveHistory, mapwindow.GLWindow.SetDrawArrow(), and mapwindow.GLWindow.SetDrawScalebar().
Referenced by frame.PsMapBufferedWindow.MouseActions(), and mapwindow.GLWindow.OnMouseAction().
def mapwindow.GLWindow.OnLeftUp | ( | self, | |
event | |||
) |
Definition at line 800 of file nviz/mapwindow.py.
References mapdisp.MapFrameBase.cursors, frame.ModelFrame.cursors, mapwindow.GLWindow.cursors, mapwindow.GLWindow.DoZoom(), mapwindow.BufferedWindow.dragid, mapwindow.GLWindow.dragid, mapwindow.GLWindow.fly, mapwindow.MapWindow.GetSelectedLayer(), mapwindow.GLWindow.iview, mapwindow.MapWindow.mouse, mapwindow.BufferedWindow.overlays, mapwindow.GLWindow.overlays, render.Map.overlays, mapwindow.MapWindow.parent, sqlbuilder.SQLFrame.parent, dialogs.ModelDataDialog.parent, mapdisp.MapFrameBase.parent, dialogs.DisplayAttributesDialog.parent, manager.Log.parent, frame.ModelFrame.parent, goutput.CmdThread.parent, manager.VirtualAttributeList.parent, manager.GCPWizard.parent, dialogs.ModelSearchDialog.parent, forms.UpdateThread.parent, goutput.GMConsole.parent, dialogs.ModelRelationDialog.parent, manager.LocationPage.parent, forms.UpdateQThread.parent, forms.TaskFrame.parent, dialogs.ModelItemDialog.parent, manager.GroupPage.parent, dialogs.DecorationDialog.parent, manager.AttributeManager.parent, dialogs.ModelListCtrl.parent, manager.DispMapPage.parent, ghelp.HelpWindow.parent, gselect.LayerSelect.parent, dialogs.TextLayerDialog.parent, forms.CmdPanel.parent, manager.GCP.parent, model.ModelAction.parent, dialogs.GroupDialog.parent, dialogs.ItemCheckListCtrl.parent, frame.ModelCanvas.parent, goutput.GMStdout.parent, goutput.GMStderr.parent, model.ModelData.parent, gselect.GdalSelect.parent, goutput.GMStc.parent, dialogs.MapLayersDialog.parent, goutput.PyStc.parent, model.ModelRelation.parent, frame.VariablePanel.parent, model.ModelItem.parent, frame.ItemPanel.parent, dialogs.ImportDialog.parent, frame.PythonPanel.parent, forms.GUI.parent, dialogs.LayersList.parent, dialogs.SetOpacityDialog.parent, dialogs.ImageSizeDialog.parent, model.ModelParamDialog.parent, manager.TableListCtrl.parent, manager.LayerListCtrl.parent, manager.GrSettingsDialog.parent, manager.LayerBook.parent, histogram.BufferedWindow.render, mapwindow.GLWindow.render, colorrules.BufferedWindow.render, manager.GCPList.render, mapwindow.GLWindow.saveHistory, widgets.SetValue(), mapwindow.GLWindow.StopTimer(), mapwindow.BufferedWindow.textdict, mapwindow.GLWindow.textdict, mapwindow.GLWindow.timerFly, and mapwindow.BufferedWindow.zoomtype.
Referenced by frame.PsMapBufferedWindow.MouseActions(), and mapwindow.GLWindow.OnMouseAction().
def mapwindow.GLWindow.OnMouseAction | ( | self, | |
event | |||
) |
Handle mouse events.
Definition at line 641 of file nviz/mapwindow.py.
References mapwindow.GLWindow.OnDClick(), mapwindow.GLWindow.OnDragging(), mapwindow.BufferedWindow.OnDragging(), widgets.SingleSymbolPanel.OnLeftDown(), gselect.TreeCtrlComboPopup.OnLeftDown(), mapwindow.GLWindow.OnLeftDown(), mapwindow.BufferedWindow.OnLeftDown(), dialogs.LayersList.OnLeftDown(), mapwindow.GLWindow.OnLeftUp(), mapwindow.BufferedWindow.OnLeftUp(), mapwindow.GLWindow.OnMouseWheel(), and mapwindow.BufferedWindow.OnMouseWheel().
Referenced by mapwindow.GLWindow.StopTimer().
def mapwindow.GLWindow.OnMouseWheel | ( | self, | |
event | |||
) |
Change perspective.
Definition at line 665 of file nviz/mapwindow.py.
References mapwindow.GLWindow.ChangeFlySpeed(), mapwindow.GLWindow.DoZoom(), and mapwindow.GLWindow.fly.
Referenced by frame.PsMapBufferedWindow.MouseActions(), and mapwindow.GLWindow.OnMouseAction().
def mapwindow.GLWindow.OnNvizCmd | ( | self | ) |
Generate and write command to command output.
Definition at line 2488 of file nviz/mapwindow.py.
References mapwindow.GLWindow.NvizCmdCommand().
def mapwindow.GLWindow.OnPaint | ( | self, | |
event | |||
) |
Definition at line 371 of file nviz/mapwindow.py.
References mapwindow.GLWindow.DoPaint(), histogram.BufferedWindow.render, mapwindow.GLWindow.render, colorrules.BufferedWindow.render, and manager.GCPList.render.
def mapwindow.GLWindow.OnQueryVector | ( | self, | |
event | |||
) |
Query vector on given position.
Definition at line 1082 of file nviz/mapwindow.py.
def mapwindow.GLWindow.OnSize | ( | self, | |
event | |||
) |
Definition at line 344 of file nviz/mapwindow.py.
References globalvar.CheckWxVersion(), mapwindow.GLWindow.context, preferences.PreferencesBaseDialog.size, mapwindow.GLWindow.size, and model.ProcessModelFile.size.
def mapwindow.GLWindow.OnTimerAnim | ( | self, | |
event | |||
) |
Definition at line 559 of file nviz/mapwindow.py.
def mapwindow.GLWindow.OnTimerFly | ( | self, | |
event | |||
) |
Fly event was emitted, move the scene.
Definition at line 231 of file nviz/mapwindow.py.
References mapwindow.GLWindow.ChangeInnerView(), mapwindow.GLWindow.ComputeFlyValues(), mapwindow.GLWindow.ComputeMxMy(), mapwindow.GLWindow.fly, mapwindow.MapWindow.mouse, histogram.BufferedWindow.render, mapwindow.GLWindow.render, colorrules.BufferedWindow.render, and manager.GCPList.render.
def mapwindow.GLWindow.OnUpdateCPlane | ( | self, | |
event | |||
) |
Change cutting plane settings.
Definition at line 1599 of file nviz/mapwindow.py.
References mapwindow.GLWindow.UpdateCPlane().
def mapwindow.GLWindow.OnUpdateView | ( | self, | |
event | |||
) |
Change view settings.
Definition at line 1097 of file nviz/mapwindow.py.
References mapwindow.GLWindow.saveHistory, animation.Animation.UpdateView(), and mapwindow.GLWindow.UpdateView().
def mapwindow.GLWindow.Pixel2Cell | ( | self, | |
x, | |||
y | |||
) |
Convert image coordinates to real word coordinates.
x,y | image coordinates |
Definition at line 751 of file nviz/mapwindow.py.
def mapwindow.GLWindow.PostViewEvent | ( | self, | |
zExag = False |
|||
) |
Change view settings.
Definition at line 1077 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.FocusPanning(), mapwindow.GLWindow.GoTo(), tools.NvizToolWindow.LoadSettings(), and mapwindow.GLWindow.ResetView().
def mapwindow.GLWindow.ProcessFlyByArrows | ( | self, | |
keyCode | |||
) |
Process arrow key during fly-through.
Definition at line 612 of file nviz/mapwindow.py.
References mapwindow.GLWindow.fly.
Referenced by mapwindow.GLWindow.OnKeyDown().
def mapwindow.GLWindow.QuerySurface | ( | self, | |
x, | |||
y | |||
) |
Query surface on given position.
Definition at line 1034 of file nviz/mapwindow.py.
References workspace.ProcessWorkspaceFile.layers, mapwindow.GLWindow.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, manager.LayerListCtrl.layers, and mapwindow.GLWindow.qpoints.
def mapwindow.GLWindow.ReloadLayersData | ( | self | ) |
Delete nviz data of all loaded layers and reload them from current settings.
Definition at line 2195 of file nviz/mapwindow.py.
References workspace.ProcessWorkspaceFile.layers, mapwindow.GLWindow.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, and manager.LayerListCtrl.layers.
def mapwindow.GLWindow.ResetView | ( | self | ) |
Reset to default view.
Definition at line 1783 of file nviz/mapwindow.py.
References mapwindow.GLWindow.iview, mapwindow.GLWindow.PostViewEvent(), round, and mapwindow.GLWindow.view.
Referenced by mapwindow.GLWindow.DoPaint().
def mapwindow.GLWindow.ResetViewHistory | ( | self | ) |
Reset view history.
Definition at line 1015 of file nviz/mapwindow.py.
References mapwindow.GLWindow.viewhistory.
def mapwindow.GLWindow.SaveToFile | ( | self, | |
FileName, | |||
FileType, | |||
width, | |||
height | |||
) |
This draws the DC to a buffer that can be saved to a file.
FileName | file name |
FileType | type of bitmap |
width | image width |
height | image height |
Definition at line 2492 of file nviz/mapwindow.py.
def mapwindow.GLWindow.SelectCPlane | ( | self, | |
index | |||
) |
Select cutting plane.
Definition at line 1585 of file nviz/mapwindow.py.
References mapwindow.GLWindow.cplanes.
def mapwindow.GLWindow.SetDrawArrow | ( | self, | |
pos | |||
) |
Definition at line 1216 of file nviz/mapwindow.py.
References mapwindow.GLWindow.decoration.
Referenced by mapwindow.GLWindow.OnLeftDown().
def mapwindow.GLWindow.SetDrawScalebar | ( | self, | |
pos | |||
) |
Add scale bar, sets properties and draw.
Definition at line 1228 of file nviz/mapwindow.py.
References mapwindow.GLWindow._getDecorationSize(), and mapwindow.GLWindow.decoration.
Referenced by mapwindow.GLWindow.OnLeftDown().
def mapwindow.GLWindow.SetMapObjProperties | ( | self, | |
item, | |||
id, | |||
nvizType | |||
) |
Set map object properties.
Properties must be afterwards updated by UpdateMapObjProperties().
item | layer item |
id | nviz layer id (or -1) |
nvizType | nviz data type (surface, points, vector) |
Definition at line 1411 of file nviz/mapwindow.py.
References mapwindow.GLWindow.constants, tools.range, mapwindow.GLWindow.SetVectorFromCmd(), mapwindow.GLWindow.SetVectorSurface(), and dialogs.type.
Referenced by mapwindow.GLWindow.LoadRaster3d(), mapwindow.GLWindow.LoadVector(), and mapwindow.GLWindow.NewConstant().
def mapwindow.GLWindow.SetToolWin | ( | self, | |
toolWin | |||
) |
Sets reference to nviz toolwindow in layer manager.
Definition at line 327 of file nviz/mapwindow.py.
References mapwindow.GLWindow.toolWin.
def mapwindow.GLWindow.SetVectorFromCmd | ( | self, | |
item, | |||
data | |||
) |
Set 3D view properties from cmd (d.vect)
item | Layer Tree item |
nviz | data |
Definition at line 1393 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.SetMapObjProperties().
def mapwindow.GLWindow.SetVectorSurface | ( | self, | |
data | |||
) |
Set reference surfaces of vector.
Definition at line 1384 of file nviz/mapwindow.py.
References mapwindow.GLWindow.GetLayerNames().
Referenced by mapwindow.GLWindow.SetMapObjProperties().
def mapwindow.GLWindow.StopTimer | ( | self, | |
timer | |||
) |
Stop timer if running.
Definition at line 311 of file nviz/mapwindow.py.
References mapwindow.MapWindow.OnMotion(), gselect.TreeCtrlComboPopup.OnMotion(), and mapwindow.GLWindow.OnMouseAction().
Referenced by mapwindow.GLWindow.__del__(), mapwindow.GLWindow.OnClose(), mapwindow.GLWindow.OnKeyDown(), and mapwindow.GLWindow.OnLeftUp().
def mapwindow.GLWindow.TextBounds | ( | self, | |
textinfo | |||
) |
Return text boundary data.
textinfo | text metadata (text, font, color, rotation) |
Definition at line 2521 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.CreateTexture().
def mapwindow.GLWindow.UnloadDataLayers | ( | self, | |
force = False |
|||
) |
Unload any layers that have been deleted from layer tree.
force | True to unload all data layers |
Definition at line 1335 of file nviz/mapwindow.py.
References mapwindow.GLWindow._GetDataLayers(), mapwindow.GLWindow.baseId, workspace.ProcessWorkspaceFile.layers, mapwindow.GLWindow.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, manager.LayerListCtrl.layers, workspace.ProcessWorkspaceFile.tree, mapwindow.MapWindow.tree, menudata.MenuData.tree, mapdisplay.MapFrame.tree, model.ProcessModelFile.tree, mapwindow.GLWindow.UnloadRaster(), mapwindow.GLWindow.UnloadRaster3d(), mapwindow.GLWindow.UnloadVector(), animation.Animation.UpdateView(), and mapwindow.GLWindow.UpdateView().
Referenced by mapwindow.GLWindow.__del__(), mapwindow.GLWindow.DoPaint(), and mapwindow.GLWindow.OnClose().
def mapwindow.GLWindow.UnloadRaster | ( | self, | |
item | |||
) |
Unload 2d raster map.
layer | item |
Definition at line 1616 of file nviz/mapwindow.py.
References mapwindow.GLWindow._unloadRaster().
Referenced by mapwindow.GLWindow.UnloadDataLayers().
def mapwindow.GLWindow.UnloadRaster3d | ( | self, | |
item | |||
) |
Unload 3d raster map.
layer | item |
Definition at line 1623 of file nviz/mapwindow.py.
References mapwindow.GLWindow._unloadRaster(), mapwindow.GLWindow.GetLayerNames(), mapwindow.MapWindow.lmgr, and workspace.WriteWorkspaceFile.lmgr.
Referenced by mapwindow.GLWindow.UnloadDataLayers().
def mapwindow.GLWindow.UnloadVector | ( | self, | |
item, | |||
points = None , |
|||
remove = True |
|||
) |
Unload vector map overlay.
item | layer item |
points,lines | True to unload given feature type |
remove | remove layer from list |
Definition at line 1737 of file nviz/mapwindow.py.
References workspace.ProcessWorkspaceFile.layers, mapwindow.GLWindow.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, and manager.LayerListCtrl.layers.
Referenced by mapwindow.GLWindow.UnloadDataLayers().
def mapwindow.GLWindow.UpdateConstantProperties | ( | self, | |
id, | |||
data | |||
) |
Update surface map object properties.
Definition at line 1861 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.UpdateMapObjProperties().
def mapwindow.GLWindow.UpdateCPlane | ( | self, | |
index, | |||
changes | |||
) |
Change cutting plane settings.
Definition at line 1603 of file nviz/mapwindow.py.
References mapwindow.GLWindow.cplanes.
Referenced by mapwindow.GLWindow.OnUpdateCPlane().
def mapwindow.GLWindow.UpdateLight | ( | self, | |
event | |||
) |
Change light settings.
Definition at line 1132 of file nviz/mapwindow.py.
References mapwindow.GLWindow.light.
def mapwindow.GLWindow.UpdateMap | ( | self, | |
render = True |
|||
) |
Updates the canvas anytime there is a change to the underlaying images or to the geometry of the canvas.
render | re-render map composition |
Definition at line 1143 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.DoPaint(), mapdisplay.MapFrame.OnZoomRegion(), and frame.MapFrame.OnZoomRegion().
def mapwindow.GLWindow.UpdateMapObjProperties | ( | self, | |
event | |||
) |
Generic method to update data layer properties.
Definition at line 1828 of file nviz/mapwindow.py.
References mapwindow.GLWindow.UpdateConstantProperties(), mapwindow.GLWindow.UpdateSurfaceProperties(), mapwindow.GLWindow.UpdateVectorProperties(), and mapwindow.GLWindow.UpdateVolumeProperties().
def mapwindow.GLWindow.UpdateOverlays | ( | self | ) |
Converts rendered overlay files and text labels to wx.Image and then to textures so that they can be rendered by OpenGL.
Updates self.imagelist
Definition at line 474 of file nviz/mapwindow.py.
References mapwindow.GLWindow.CreateTexture(), mapwindow.GLWindow.imagelist, mapwindow.BufferedWindow.overlays, mapwindow.GLWindow.overlays, render.Map.overlays, mapwindow.BufferedWindow.textdict, and mapwindow.GLWindow.textdict.
def mapwindow.GLWindow.UpdateSurfaceProperties | ( | self, | |
id, | |||
data | |||
) |
Update surface map object properties.
Definition at line 1871 of file nviz/mapwindow.py.
References dialogs.type.
Referenced by mapwindow.GLWindow.UpdateMapObjProperties().
def mapwindow.GLWindow.UpdateVectorLinesProperties | ( | self, | |
id, | |||
data | |||
) |
Update vector line map object properties.
Definition at line 2052 of file nviz/mapwindow.py.
References mapwindow.GLWindow.GetLayerId(), and tools.range.
Referenced by mapwindow.GLWindow.UpdateVectorProperties().
def mapwindow.GLWindow.UpdateVectorPointsProperties | ( | self, | |
id, | |||
data | |||
) |
Update vector point map object properties.
Definition at line 2097 of file nviz/mapwindow.py.
References mapwindow.GLWindow.GetLayerId(), and tools.range.
Referenced by mapwindow.GLWindow.UpdateVectorProperties().
def mapwindow.GLWindow.UpdateVectorProperties | ( | self, | |
id, | |||
data, | |||
type | |||
) |
Update vector layer properties.
id | layer id |
data | properties |
type | lines/points |
Definition at line 2040 of file nviz/mapwindow.py.
References mapwindow.GLWindow.UpdateVectorLinesProperties(), and mapwindow.GLWindow.UpdateVectorPointsProperties().
Referenced by mapwindow.GLWindow.UpdateMapObjProperties().
def mapwindow.GLWindow.UpdateView | ( | self, | |
zexag = False |
|||
) |
Change view settings.
Definition at line 1107 of file nviz/mapwindow.py.
References mapwindow.GLWindow.iview, and mapwindow.GLWindow.view.
Referenced by mapwindow.GLWindow.OnUpdateView(), and mapwindow.GLWindow.UnloadDataLayers().
def mapwindow.GLWindow.UpdateVolumeProperties | ( | self, | |
id, | |||
data, | |||
isosurfId = None |
|||
) |
Update volume (isosurface/slice) map object properties.
Definition at line 1951 of file nviz/mapwindow.py.
References dialogs.type.
Referenced by mapwindow.GLWindow.UpdateMapObjProperties().
def mapwindow.GLWindow.ViewHistory | ( | self, | |
view, | |||
iview | |||
) |
Manages a list of last 10 views.
view | view dictionary |
iview | view dictionary (internal) |
Definition at line 979 of file nviz/mapwindow.py.
References mapwindow.GLWindow.viewhistory.
def mapwindow.GLWindow.ZoomBack | ( | self | ) |
Set previous view in history list.
Definition at line 960 of file nviz/mapwindow.py.
References mapwindow.GLWindow.viewhistory.
def mapwindow.GLWindow.ZoomToMap | ( | self | ) |
Reset view.
Definition at line 2516 of file nviz/mapwindow.py.
mapwindow.GLWindow.animation |
Definition at line 179 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.GetAnimation().
mapwindow.GLWindow.baseId |
Definition at line 118 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.LoadVector(), and mapwindow.GLWindow.UnloadDataLayers().
mapwindow.GLWindow.constants |
Definition at line 116 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.DeleteConstant(), mapwindow.GLWindow.GetLayerId(), mapwindow.GLWindow.GetLayerNames(), mapwindow.GLWindow.NewConstant(), mapwindow.GLWindow.NvizCmdCommand(), and mapwindow.GLWindow.SetMapObjProperties().
mapwindow.GLWindow.context |
Definition at line 96 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.DoPaint(), and mapwindow.GLWindow.OnSize().
mapwindow.GLWindow.cplanes |
Definition at line 120 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.NvizCmdCommand(), mapwindow.GLWindow.SelectCPlane(), and mapwindow.GLWindow.UpdateCPlane().
mapwindow.GLWindow.cursors |
Definition at line 109 of file nviz/mapwindow.py.
Referenced by frame.MapFrame.AddNviz(), frame.MapFrame.OnFlyThrough(), mapwindow.GLWindow.OnLeftDown(), mapwindow.GLWindow.OnLeftUp(), frame.PsMapBufferedWindow.OnMouseMoving(), mapdisplay.MapFrame.OnPan(), frame.PsMapFrame.OnPan(), mapdisplay.MapFrame.OnPointer(), frame.PsMapFrame.OnPointer(), frame.MapFrame.OnPointer(), frame.MapFrame.OnQuery(), frame.MapFrame.OnRotate(), mapdisplay.MapFrame.OnZoomIn(), frame.PsMapFrame.OnZoomIn(), mapdisplay.MapFrame.OnZoomOut(), and frame.PsMapFrame.OnZoomOut().
mapwindow.GLWindow.decoration |
Definition at line 170 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.NvizCmdCommand(), mapwindow.GLWindow.SetDrawArrow(), and mapwindow.GLWindow.SetDrawScalebar().
mapwindow.GLWindow.dialogOffset |
Definition at line 127 of file nviz/mapwindow.py.
mapwindow.GLWindow.dragid |
Definition at line 134 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.OnDClick(), mapwindow.GLWindow.OnDragging(), mapwindow.GLWindow.OnLeftDown(), and mapwindow.GLWindow.OnLeftUp().
mapwindow.GLWindow.fly |
Definition at line 173 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.ChangeFlySpeed(), mapwindow.GLWindow.ComputeFlyValues(), mapwindow.GLWindow.OnKeyDown(), mapwindow.GLWindow.OnKeyUp(), mapwindow.GLWindow.OnLeftDown(), mapwindow.GLWindow.OnLeftUp(), mapwindow.GLWindow.OnMouseWheel(), mapwindow.GLWindow.OnTimerFly(), and mapwindow.GLWindow.ProcessFlyByArrows().
mapwindow.GLWindow.hitradius |
Definition at line 135 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.OnDClick(), and mapwindow.GLWindow.OnLeftDown().
mapwindow.GLWindow.imagelist |
Definition at line 130 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.DragItem(), mapwindow.GLWindow.DrawImages(), mapwindow.GLWindow.FindObjects(), and mapwindow.GLWindow.UpdateOverlays().
mapwindow.GLWindow.img |
Definition at line 160 of file nviz/mapwindow.py.
mapwindow.GLWindow.init |
Definition at line 94 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.DoPaint().
mapwindow.GLWindow.initView |
Definition at line 95 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.DoPaint().
mapwindow.GLWindow.iview |
Definition at line 168 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.ChangeInnerView(), mapwindow.GLWindow.DoZoom(), mapwindow.GLWindow.FocusPanning(), mapwindow.GLWindow.GoTo(), mapwindow.GLWindow.NvizCmdCommand(), mapwindow.GLWindow.OnLeftDown(), mapwindow.GLWindow.OnLeftUp(), mapwindow.GLWindow.ResetView(), and mapwindow.GLWindow.UpdateView().
mapwindow.GLWindow.layers |
Definition at line 114 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.GetLayerId(), mapwindow.GLWindow.GetLayerNames(), mapwindow.GLWindow.HorizontalPanning(), mapwindow.GLWindow.LoadDataLayers(), mapwindow.GLWindow.NvizCmdCommand(), toolbars.VDigitToolbar.OnSelectMap(), mapwindow.GLWindow.QuerySurface(), mapwindow.GLWindow.ReloadLayersData(), vinfo.VectorDBInfo.SelectFromTable(), mapwindow.GLWindow.UnloadDataLayers(), mapwindow.GLWindow.UnloadVector(), and toolbars.VDigitToolbar.UpdateListOfLayers().
mapwindow.GLWindow.light |
Definition at line 169 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.NvizCmdCommand(), and mapwindow.GLWindow.UpdateLight().
mapwindow.GLWindow.log |
Definition at line 140 of file nviz/mapwindow.py.
Referenced by toolbars.VDigitToolbar.OnSelectMap().
mapwindow.GLWindow.mouse |
Definition at line 106 of file nviz/mapwindow.py.
Referenced by frame.PsMapBufferedWindow.ComputeZoom(), frame.PsMapFrame.OnAddMap(), frame.PsMapBufferedWindow.OnButtonDClick(), frame.PsMapBufferedWindow.OnDragging(), frame.PsMapBufferedWindow.OnLeftDown(), frame.PsMapBufferedWindow.OnLeftUp(), frame.PsMapBufferedWindow.OnMiddleDown(), frame.PsMapBufferedWindow.OnMouseMoving(), frame.PsMapBufferedWindow.OnMouseWheel(), frame.PsMapFrame.OnPan(), frame.PsMapFrame.OnPointer(), frame.PsMapFrame.OnZoomIn(), and frame.PsMapFrame.OnZoomOut().
mapwindow.GLWindow.nvizDefault |
Definition at line 166 of file nviz/mapwindow.py.
mapwindow.GLWindow.nvizThread |
Definition at line 150 of file nviz/mapwindow.py.
mapwindow.GLWindow.overlay |
Definition at line 131 of file nviz/mapwindow.py.
Referenced by render.Map.GetLayerIndex().
mapwindow.GLWindow.overlays |
Definition at line 129 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.CreateTexture(), mapwindow.GLWindow.GetLegendRect(), mapwindow.GLWindow.OnLeftUp(), and mapwindow.GLWindow.UpdateOverlays().
mapwindow.GLWindow.parent |
Definition at line 76 of file nviz/mapwindow.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().
mapwindow.GLWindow.qpoints |
Definition at line 122 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.QuerySurface().
mapwindow.GLWindow.render |
Definition at line 101 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.DragItem(), mapwindow.GLWindow.FocusPanning(), mapwindow.GLWindow.GoTo(), mapwindow.GLWindow.HorizontalPanning(), mapwindow.GLWindow.OnDragging(), mapwindow.GLWindow.OnKeyDown(), mapwindow.GLWindow.OnLeftUp(), mapwindow.GLWindow.OnPaint(), and mapwindow.GLWindow.OnTimerFly().
mapwindow.GLWindow.resize |
Definition at line 1151 of file nviz/mapwindow.py.
mapwindow.GLWindow.saveHistory |
Definition at line 125 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.DoZoom(), mapwindow.GLWindow.GoTo(), mapwindow.GLWindow.OnLeftDown(), mapwindow.GLWindow.OnLeftUp(), and mapwindow.GLWindow.OnUpdateView().
mapwindow.GLWindow.size |
Definition at line 163 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.OnSize().
mapwindow.GLWindow.textdict |
Definition at line 133 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.CreateTexture(), mapwindow.GLWindow.OnLeftUp(), and mapwindow.GLWindow.UpdateOverlays().
mapwindow.GLWindow.timerAnim |
Definition at line 178 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.__del__(), and mapwindow.GLWindow.OnClose().
mapwindow.GLWindow.timerFly |
Definition at line 176 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.__del__(), mapwindow.GLWindow.OnClose(), mapwindow.GLWindow.OnKeyDown(), and mapwindow.GLWindow.OnLeftUp().
mapwindow.GLWindow.toolWin |
Definition at line 137 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.GetToolWin(), and mapwindow.GLWindow.SetToolWin().
mapwindow.GLWindow.view |
Definition at line 167 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.ChangeInnerView(), mapwindow.GLWindow.DoZoom(), mapwindow.GLWindow.DrawTextImage(), mapwindow.GLWindow.NvizCmdCommand(), mapwindow.GLWindow.ResetView(), and mapwindow.GLWindow.UpdateView().
mapwindow.GLWindow.viewhistory |
Definition at line 124 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.ResetViewHistory(), mapwindow.GLWindow.ViewHistory(), and mapwindow.GLWindow.ZoomBack().