GRASS Programmer's Manual
6.4.3(2013)-r
|
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... | |
![]() | |
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 | |
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 | |
![]() | |
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 302 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 1555 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.NewConstant().
def mapwindow.GLWindow.ChangeFlySpeed | ( | self, | |
increase | |||
) |
Increase/decrease flight spped.
Definition at line 295 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 1072 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 280 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 245 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 510 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 1563 of file nviz/mapwindow.py.
References mapwindow.GLWindow.constants.
def mapwindow.GLWindow.DoPaint | ( | self) |
Definition at line 369 of file nviz/mapwindow.py.
References 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 754 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 928 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 407 of file nviz/mapwindow.py.
References mapwindow.GLWindow.imagelist.
def mapwindow.GLWindow.DrawTextImage | ( | self, | |
textDict, | |||
relCoords | |||
) |
Draw overlay text.
Definition at line 434 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 1188 of file nviz/mapwindow.py.
def mapwindow.GLWindow.FindObjects | ( | self, | |
mouseX, | |||
mouseY, | |||
radius | |||
) |
Find object which was clicked on
Definition at line 538 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 860 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 548 of file nviz/mapwindow.py.
References mapwindow.GLWindow.animation.
def mapwindow.GLWindow.GetDisplay | ( | self) |
Get display instance.
Definition at line 2492 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 2142 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 2125 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 413 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 328 of file nviz/mapwindow.py.
References mapwindow.GLWindow.toolWin.
def mapwindow.GLWindow.GoTo | ( | self, | |
e, | |||
n | |||
) |
Focus on given point.
Definition at line 1005 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 882 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 317 of file nviz/mapwindow.py.
References tools.range.
def mapwindow.GLWindow.InitFly | ( | self) |
Initialize fly through dictionary.
Definition at line 210 of file nviz/mapwindow.py.
def mapwindow.GLWindow.IsLoaded | ( | self, | |
item | |||
) |
Check if layer (item) is already loaded.
item | layer item |
Definition at line 1234 of file nviz/mapwindow.py.
References mapwindow.GLWindow._GetDataLayers().
def mapwindow.GLWindow.LoadDataLayers | ( | self) |
Load raster/vector from current layer tree.
Definition at line 1274 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, ghelp.MenuTreeWindow.tree, model.ProcessModelFile.tree, and while().
Referenced by mapwindow.GLWindow.DoPaint().
def mapwindow.GLWindow.LoadRaster | ( | self, | |
item | |||
) |
Load 2d raster map and set surface attributes.
layer | item |
Definition at line 1478 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 1485 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 1666 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 1542 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 2191 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 332 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 847 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 715 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 338 of file nviz/mapwindow.py.
def mapwindow.GLWindow.OnKeyDown | ( | self, | |
event | |||
) |
Key was pressed.
Used for fly-through mode.
Definition at line 551 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 610 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 676 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 786 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, ghelp.MenuTreeWindow.parent, goutput.GMConsole.parent, dialogs.ModelRelationDialog.parent, manager.LocationPage.parent, forms.UpdateQThread.parent, ghelp.MenuTree.parent, forms.TaskFrame.parent, dialogs.ModelItemDialog.parent, manager.GroupPage.parent, dialogs.DecorationDialog.parent, manager.AttributeManager.parent, dialogs.ModelListCtrl.parent, manager.DispMapPage.parent, gselect.LayerSelect.parent, dialogs.TextLayerDialog.parent, forms.CmdPanel.parent, manager.GCP.parent, ghelp.HelpWindow.parent, dialogs.GroupDialog.parent, model.ModelAction.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, dialogs.ImportDialog.parent, frame.ItemPanel.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 627 of file nviz/mapwindow.py.
References mapwindow.GLWindow.OnDClick(), mapwindow.GLWindow.OnDragging(), mapwindow.BufferedWindow.OnDragging(), gselect.TreeCtrlComboPopup.OnLeftDown(), widgets.SingleSymbolPanel.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 651 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 2468 of file nviz/mapwindow.py.
References mapwindow.GLWindow.NvizCmdCommand().
def mapwindow.GLWindow.OnPaint | ( | self, | |
event | |||
) |
Definition at line 361 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 1068 of file nviz/mapwindow.py.
def mapwindow.GLWindow.OnSize | ( | self, | |
event | |||
) |
Definition at line 341 of file nviz/mapwindow.py.
References preferences.PreferencesBaseDialog.size, mapwindow.GLWindow.size, and model.ProcessModelFile.size.
def mapwindow.GLWindow.OnTimerAnim | ( | self, | |
event | |||
) |
Definition at line 545 of file nviz/mapwindow.py.
def mapwindow.GLWindow.OnTimerFly | ( | self, | |
event | |||
) |
Fly event was emitted, move the scene.
Definition at line 228 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 1583 of file nviz/mapwindow.py.
References mapwindow.GLWindow.UpdateCPlane().
def mapwindow.GLWindow.OnUpdateView | ( | self, | |
event | |||
) |
Change view settings.
Definition at line 1083 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 737 of file nviz/mapwindow.py.
def mapwindow.GLWindow.PostViewEvent | ( | self, | |
zExag = False |
|||
) |
Change view settings.
Definition at line 1063 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 598 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 1020 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 2175 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 1767 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 1001 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 2472 of file nviz/mapwindow.py.
def mapwindow.GLWindow.SelectCPlane | ( | self, | |
index | |||
) |
Select cutting plane.
Definition at line 1569 of file nviz/mapwindow.py.
References mapwindow.GLWindow.cplanes.
def mapwindow.GLWindow.SetDrawArrow | ( | self, | |
pos | |||
) |
Definition at line 1202 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 1214 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 1395 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 324 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 1377 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.SetMapObjProperties().
def mapwindow.GLWindow.SetVectorSurface | ( | self, | |
data | |||
) |
Set reference surfaces of vector.
Definition at line 1368 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 308 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 2501 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 1319 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, ghelp.MenuTreeWindow.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 1600 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 1607 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 1721 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 1845 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.UpdateMapObjProperties().
def mapwindow.GLWindow.UpdateCPlane | ( | self, | |
index, | |||
changes | |||
) |
Change cutting plane settings.
Definition at line 1587 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 1118 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 1129 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 1812 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 461 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 1855 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 2036 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 2081 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 2024 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 1093 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 1935 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 965 of file nviz/mapwindow.py.
References mapwindow.GLWindow.viewhistory.
def mapwindow.GLWindow.ZoomBack | ( | self) |
Set previous view in history list.
Definition at line 946 of file nviz/mapwindow.py.
References mapwindow.GLWindow.viewhistory.
def mapwindow.GLWindow.ZoomToMap | ( | self) |
Reset view.
Definition at line 2496 of file nviz/mapwindow.py.
mapwindow.GLWindow.animation |
Definition at line 176 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.GetAnimation().
mapwindow.GLWindow.baseId |
Definition at line 115 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.LoadVector(), and mapwindow.GLWindow.UnloadDataLayers().
mapwindow.GLWindow.constants |
Definition at line 113 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.cplanes |
Definition at line 117 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.NvizCmdCommand(), mapwindow.GLWindow.SelectCPlane(), and mapwindow.GLWindow.UpdateCPlane().
mapwindow.GLWindow.cursors |
Definition at line 106 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 167 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.NvizCmdCommand(), mapwindow.GLWindow.SetDrawArrow(), and mapwindow.GLWindow.SetDrawScalebar().
mapwindow.GLWindow.dialogOffset |
Definition at line 124 of file nviz/mapwindow.py.
mapwindow.GLWindow.dragid |
Definition at line 131 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 170 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 132 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.OnDClick(), and mapwindow.GLWindow.OnLeftDown().
mapwindow.GLWindow.imagelist |
Definition at line 127 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 157 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 165 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 111 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 166 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.NvizCmdCommand(), and mapwindow.GLWindow.UpdateLight().
mapwindow.GLWindow.log |
Definition at line 137 of file nviz/mapwindow.py.
Referenced by toolbars.VDigitToolbar.OnSelectMap().
mapwindow.GLWindow.mouse |
Definition at line 103 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 163 of file nviz/mapwindow.py.
mapwindow.GLWindow.nvizThread |
Definition at line 147 of file nviz/mapwindow.py.
mapwindow.GLWindow.overlay |
Definition at line 128 of file nviz/mapwindow.py.
Referenced by render.Map.GetLayerIndex().
mapwindow.GLWindow.overlays |
Definition at line 126 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 119 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.QuerySurface().
mapwindow.GLWindow.render |
Definition at line 98 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 1137 of file nviz/mapwindow.py.
mapwindow.GLWindow.saveHistory |
Definition at line 122 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 160 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.OnSize().
mapwindow.GLWindow.textdict |
Definition at line 130 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.CreateTexture(), mapwindow.GLWindow.OnLeftUp(), and mapwindow.GLWindow.UpdateOverlays().
mapwindow.GLWindow.timerAnim |
Definition at line 175 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.__del__(), and mapwindow.GLWindow.OnClose().
mapwindow.GLWindow.timerFly |
Definition at line 173 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 134 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.GetToolWin(), and mapwindow.GLWindow.SetToolWin().
mapwindow.GLWindow.view |
Definition at line 164 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 121 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.ResetViewHistory(), mapwindow.GLWindow.ViewHistory(), and mapwindow.GLWindow.ZoomBack().