GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Nviz (3D view) tools panel. More...
Public Member Functions | |
def | __init__ |
def | SetInitialMaps |
Set initial raster and vector map. More... | |
def | UpdateState |
def | LoadSettings |
Load Nviz settings and apply to current session. More... | |
def | OnPageChanged |
def | PostViewEvent |
Change view settings. More... | |
def | PostLightEvent |
Change light settings. More... | |
def | OnSize |
After window is resized, update scrolling. More... | |
def | OnPressCaption |
When foldpanel item collapsed/expanded, update scrollbars. More... | |
def | UpdateScrolling |
Update scrollbars in foldpanel. More... | |
Data Fields | |
parent | |
mapDisplay | |
mapWindow | |
win | |
page | |
pageChanging | |
vetoGSelectEvt | |
mainPanelData | |
def tools.NvizToolWindow.__init__ | ( | self, | |
parent, | |||
display, | |||
id = wx.ID_ANY , |
|||
style = globalvar.FNPageStyle|FN.FNB_NO_X_BUTTON , |
|||
kwargs | |||
) |
def tools.NvizToolWindow.LoadSettings | ( | self | ) |
Load Nviz settings and apply to current session.
Definition at line 158 of file tools.py.
References tools.NvizToolWindow.PostLightEvent(), tools.NvizToolWindow.PostViewEvent(), mapwindow.GLWindow.PostViewEvent(), dialogs.TextDialog.UpdateSettings(), preferences.VDigitSettingsDialog.UpdateSettings(), dialogs.OptDialog.UpdateSettings(), wxdisplay.DisplayDriver.UpdateSettings(), wxdigit.IVDigit.UpdateSettings(), manager.GrSettingsDialog.UpdateSettings(), and tools.NvizToolWindow.UpdateState().
def tools.NvizToolWindow.OnPressCaption | ( | self, | |
event | |||
) |
When foldpanel item collapsed/expanded, update scrollbars.
Definition at line 195 of file tools.py.
References tools.NvizToolWindow.UpdateScrolling().
def tools.NvizToolWindow.OnSize | ( | self, | |
event | |||
) |
After window is resized, update scrolling.
Definition at line 188 of file tools.py.
References tools.NvizToolWindow.UpdateScrolling().
def tools.NvizToolWindow.PostLightEvent | ( | self, | |
refresh = False |
|||
) |
Change light settings.
Definition at line 183 of file tools.py.
References animation.Animation.mapWindow, and tools.NvizToolWindow.mapWindow.
Referenced by tools.NvizToolWindow.LoadSettings().
def tools.NvizToolWindow.PostViewEvent | ( | self, | |
zExag = False |
|||
) |
Change view settings.
Definition at line 178 of file tools.py.
References animation.Animation.mapWindow, and tools.NvizToolWindow.mapWindow.
Referenced by tools.NvizToolWindow.LoadSettings().
def tools.NvizToolWindow.SetInitialMaps | ( | self | ) |
Set initial raster and vector map.
Definition at line 124 of file tools.py.
References widgets.SetValue(), and tools.NvizToolWindow.win.
def tools.NvizToolWindow.UpdateScrolling | ( | self, | |
foldpanels | |||
) |
Update scrollbars in foldpanel.
Definition at line 201 of file tools.py.
References model.ModelObject.GetId(), wxnviz.Texture.GetId(), animation.Animation.mapWindow, tools.NvizToolWindow.mapWindow, mapdisplay.MapFrame.page, wizard.TitledPage.page, tools.NvizToolWindow.page, frame.MapFrame.page, widgets.SetValue(), and tools.NvizToolWindow.win.
Referenced by tools.NvizToolWindow.OnPressCaption(), and tools.NvizToolWindow.OnSize().
def tools.NvizToolWindow.UpdateState | ( | self, | |
kwargs | |||
) |
Definition at line 144 of file tools.py.
References tools.NvizToolWindow.win.
Referenced by tools.NvizToolWindow.LoadSettings().
tools.NvizToolWindow.mapWindow |
Definition at line 68 of file tools.py.
Referenced by wxdigit.IVDigit.AddFeature(), tools.LightPositionWindow.PostDraw(), tools.NvizToolWindow.PostLightEvent(), tools.NvizToolWindow.PostViewEvent(), tools.ViewPositionWindow.UpdatePos(), tools.LightPositionWindow.UpdatePos(), and tools.NvizToolWindow.UpdateScrolling().
tools.NvizToolWindow.page |
Definition at line 79 of file tools.py.
Referenced by tools.NvizToolWindow.UpdateScrolling().
tools.NvizToolWindow.parent |
Definition at line 66 of file tools.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().
tools.NvizToolWindow.win |
Definition at line 78 of file tools.py.
Referenced by tools.NvizToolWindow.SetInitialMaps(), tools.NvizToolWindow.UpdateScrolling(), and tools.NvizToolWindow.UpdateState().