GRASS Programmer's Manual
6.4.4(2014)-r
|
OpenGL canvas for Map Display Window. More...
Public Member Functions | |
def | __init__ |
def | InitFly (self) |
Initialize fly through dictionary. More... | |
def | OnTimerFly (self, event) |
Fly event was emitted, move the scene. More... | |
def | ComputeMxMy (self, x, y) |
Compute values for flythrough navigation (ComputeFlyValues should follow). More... | |
def | ComputeFlyValues (self, mx, my) |
Compute parameters for fly-through navigation. More... | |
def | ChangeFlySpeed (self, increase) |
Increase/decrease flight spped. More... | |
def | __del__ (self) |
Stop timers if running, unload data. More... | |
def | StopTimer (self, timer) |
Stop timer if running. More... | |
def | InitCPlanes (self) |
Initialize cutting planes list. More... | |
def | SetToolWin (self, toolWin) |
Sets reference to nviz toolwindow in layer manager. More... | |
def | GetToolWin (self) |
Returns reference to nviz toolwindow in layer manager. More... | |
def | OnClose (self, event) |
def | OnEraseBackground (self, event) |
def | OnSize (self, event) |
def | OnPaint (self, event) |
def | DoPaint (self) |
def | DrawImages (self) |
Draw overlay image. More... | |
def | GetLegendRect (self) |
Estimates legend size for dragging. More... | |
def | DrawTextImage (self, textDict, relCoords) |
Draw overlay text. More... | |
def | UpdateOverlays (self) |
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 (self, mouseX, mouseY, radius) |
def | OnTimerAnim (self, event) |
def | GetAnimation (self) |
def | OnKeyDown (self, event) |
Key was pressed. More... | |
def | ProcessFlyByArrows (self, keyCode) |
Process arrow key during fly-through. More... | |
def | OnKeyUp (self, event) |
Key was released. More... | |
def | OnMouseAction (self, event) |
Handle mouse events. More... | |
def | OnMouseWheel (self, event) |
Change perspective. More... | |
def | OnLeftDown (self, event) |
On left mouse down. More... | |
def | OnDragging (self, event) |
def | Pixel2Cell (self, x, y) |
Convert image coordinates to real word coordinates. More... | |
def | DoZoom (self, zoomtype, pos) |
Change perspective and focus. More... | |
def | OnLeftUp (self, event) |
def | OnDClick (self, event) |
On mouse double click. More... | |
def | FocusPanning (self, event) |
Simulation of panning using focus. More... | |
def | HorizontalPanning (self, event) |
Move all layers in horizontal (x, y) direction. More... | |
def | DragItem (self, id, event) |
Drag an overlay decoration item. More... | |
def | ZoomBack (self) |
Set previous view in history list. More... | |
def | ViewHistory (self, view, iview) |
Manages a list of last 10 views. More... | |
def | ResetViewHistory (self) |
Reset view history. More... | |
def | GoTo (self, e, n) |
Focus on given point. More... | |
def | QuerySurface (self, x, y) |
Query surface on given position. More... | |
def | PostViewEvent |
Change view settings. More... | |
def | OnQueryVector (self, event) |
Query vector on given position. More... | |
def | ChangeInnerView (self) |
Get current viewdir and viewpoint and set view. More... | |
def | OnUpdateView (self, event) |
Change view settings. More... | |
def | UpdateView |
Change view settings. More... | |
def | UpdateLight (self, event) |
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 (self) |
Erase the canvas. More... | |
def | SetDrawArrow (self, pos) |
def | SetDrawScalebar (self, pos) |
Add scale bar, sets properties and draw. More... | |
def | IsLoaded (self, item) |
Check if layer (item) is already loaded. More... | |
def | LoadDataLayers (self) |
Load raster/vector from current layer tree. More... | |
def | UnloadDataLayers |
Unload any layers that have been deleted from layer tree. More... | |
def | SetVectorSurface (self, data) |
Set reference surfaces of vector. More... | |
def | SetVectorFromCmd (self, item, data) |
Set 3D view properties from cmd (d.vect) More... | |
def | SetMapObjProperties (self, item, id, nvizType) |
Set map object properties. More... | |
def | LoadRaster (self, item) |
Load 2d raster map and set surface attributes. More... | |
def | LoadRaster3d (self, item) |
Load 3d raster map and set surface attributes. More... | |
def | NewConstant (self) |
Create new constant. More... | |
def | AddConstant (self, data, name) |
Add new constant. More... | |
def | DeleteConstant (self, index) |
Delete constant layer. More... | |
def | SelectCPlane (self, index) |
Select cutting plane. More... | |
def | OnUpdateCPlane (self, event) |
Change cutting plane settings. More... | |
def | UpdateCPlane (self, index, changes) |
Change cutting plane settings. More... | |
def | UnloadRaster (self, item) |
Unload 2d raster map. More... | |
def | UnloadRaster3d (self, item) |
Unload 3d raster map. More... | |
def | LoadVector |
Load 2D or 3D vector map overlay. More... | |
def | UnloadVector |
Unload vector map overlay. More... | |
def | ResetView (self) |
Reset to default view. More... | |
def | UpdateMapObjProperties (self, event) |
Generic method to update data layer properties. More... | |
def | UpdateConstantProperties (self, id, data) |
Update surface map object properties. More... | |
def | UpdateSurfaceProperties (self, id, data) |
Update surface map object properties. More... | |
def | UpdateVolumeProperties |
Update volume (isosurface/slice) map object properties. More... | |
def | UpdateVectorProperties (self, id, data, type) |
Update vector layer properties. More... | |
def | UpdateVectorLinesProperties (self, id, data) |
Update vector line map object properties. More... | |
def | UpdateVectorPointsProperties (self, id, data) |
Update vector point map object properties. More... | |
def | GetLayerNames (self, type) |
Return list of map layer names of given type. More... | |
def | GetLayerId |
Get layer object id or -1. More... | |
def | ReloadLayersData (self) |
Delete nviz data of all loaded layers and reload them from current settings. More... | |
def | NvizCmdCommand (self) |
Generate command for m.nviz.image according to current state. More... | |
def | OnNvizCmd (self) |
Generate and write command to command output. More... | |
def | SaveToFile (self, FileName, FileType, width, height) |
This draws the DC to a buffer that can be saved to a file. More... | |
def | GetDisplay (self) |
Get display instance. More... | |
def | ZoomToMap (self) |
Reset view. More... | |
def | TextBounds (self, textinfo) |
Return text boundary data. More... | |
![]() | |
def | __init__ (self, parent, id=wx.ID_ANY, Map=None, tree=None, lmgr=None, kwargs) |
def | RegisterMouseEventHandler |
Binds event handler. More... | |
def | UnregisterMouseEventHandler (self, event) |
Unbinds event handler a restores previous state. More... | |
def | Pixel2Cell (self, x, y) |
def | Cell2Pixel (self, east, north) |
def | OnMotion (self, event) |
Tracks mouse motion and update statusbar. More... | |
def | GetLastEN (self) |
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 | |
![]() | |
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 1570 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 1085 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 523 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 1578 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 767 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 941 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 1201 of file nviz/mapwindow.py.
def mapwindow.GLWindow.FindObjects | ( | self, | |
mouseX, | |||
mouseY, | |||
radius | |||
) |
Find object which was clicked on
Definition at line 551 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 873 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 561 of file nviz/mapwindow.py.
References mapwindow.GLWindow.animation.
def mapwindow.GLWindow.GetDisplay | ( | self | ) |
Get display instance.
Definition at line 2511 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 2161 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 2144 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 1018 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 895 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 1247 of file nviz/mapwindow.py.
References mapwindow.GLWindow._GetDataLayers().
def mapwindow.GLWindow.LoadDataLayers | ( | self | ) |
Load raster/vector from current layer tree.
Definition at line 1287 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, 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 1493 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 1500 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 1681 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 1557 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 2210 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 860 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 728 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 564 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 623 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 689 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 799 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, ghelp.MenuTreeWindow.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 640 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 664 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 2487 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 1081 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 558 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 1598 of file nviz/mapwindow.py.
References mapwindow.GLWindow.UpdateCPlane().
def mapwindow.GLWindow.OnUpdateView | ( | self, | |
event | |||
) |
Change view settings.
Definition at line 1096 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 750 of file nviz/mapwindow.py.
def mapwindow.GLWindow.PostViewEvent | ( | self, | |
zExag = False |
|||
) |
Change view settings.
Definition at line 1076 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 611 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 1033 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 2194 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 1782 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 1014 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 2491 of file nviz/mapwindow.py.
def mapwindow.GLWindow.SelectCPlane | ( | self, | |
index | |||
) |
Select cutting plane.
Definition at line 1584 of file nviz/mapwindow.py.
References mapwindow.GLWindow.cplanes.
def mapwindow.GLWindow.SetDrawArrow | ( | self, | |
pos | |||
) |
Definition at line 1215 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 1227 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 1410 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 1392 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.SetMapObjProperties().
def mapwindow.GLWindow.SetVectorSurface | ( | self, | |
data | |||
) |
Set reference surfaces of vector.
Definition at line 1383 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 2520 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 1334 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 1615 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 1622 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 1736 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 1860 of file nviz/mapwindow.py.
Referenced by mapwindow.GLWindow.UpdateMapObjProperties().
def mapwindow.GLWindow.UpdateCPlane | ( | self, | |
index, | |||
changes | |||
) |
Change cutting plane settings.
Definition at line 1602 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 1131 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 1142 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 1827 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 1870 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 2051 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 2096 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 2039 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 1106 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 1950 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 978 of file nviz/mapwindow.py.
References mapwindow.GLWindow.viewhistory.
def mapwindow.GLWindow.ZoomBack | ( | self | ) |
Set previous view in history list.
Definition at line 959 of file nviz/mapwindow.py.
References mapwindow.GLWindow.viewhistory.
def mapwindow.GLWindow.ZoomToMap | ( | self | ) |
Reset view.
Definition at line 2515 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 1150 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().