Package peppy :: Package hsi :: Module hsi_major_mode :: Class HSIXProfileMinorMode
[frames] | no frames]

Class HSIXProfileMinorMode

                 object --+                
                          |                
  lib.userparams.ClassPrefs --+            
                              |            
                 object --+   |            
                          |   |            
           debug.debugmixin --+            
                              |            
                minor.MinorMode --+        
                                  |        
                  HSIMinorModeMixin --+    
                                      |    
     object --+                       |    
              |                       |    
wx._core.Object --+                   |    
                  |                   |    
wx._core.EvtHandler --+               |    
                      |               |    
        wx._core.Window --+           |    
                          |           |    
          wx._windows.Panel --+       |    
                              |       |    
         wx.lib.plot.PlotCanvas --+   |    
                                  |   |    
                     object --+   |   |    
                              |   |   |    
               debug.debugmixin --+   |    
                                  |   |    
           lib.plotter.MultiPlotter --+    
                                      |    
                         object --+   |    
                                  |   |    
              lib.plotter.PlotProxy --+    
                                      |    
                       HSIPlotMinorMode --+
                                          |
                                         HSIXProfileMinorMode

Display the X profile at the current crosshair line.

Nested Classes

Inherited from lib.userparams.ClassPrefs: __metaclass__

Instance Methods
 
setupAxes(self)
 
getLines(self, x, y)
Users should override this to return a list of plot.Polyline instances that represent the data to be plotted.

Inherited from HSIPlotMinorMode: __init__, setupTitle, updateYAxis

Inherited from minor.MinorMode: deletePreHook, getDefaultPaneInfo, getPaneInfo, paneInfoHook, setup

Inherited from lib.plotter.MultiPlotter: OnMotion, OnMouseLeftDown, OnMouseLeftUp, addProxy, drawPointLabel, findNearest, getExtrema, getXAxis, getYAxis, resetDefaults, setProxy, setYAxis, show, update, updateExtrema

Inherited from wx.lib.plot.PlotCanvas: Clear, Draw, GetClosestPoint, GetClosestPoints, GetClosetPoint, GetEnableDrag, GetEnableGrid, GetEnableLegend, GetEnablePointLabel, GetEnableTitle, GetEnableZoom, GetFontSizeAxis, GetFontSizeLegend, GetFontSizeTitle, GetGridColour, GetPointLabelFunc, GetShowScrollbars, GetUseScientificNotation, GetXCurrentRange, GetXMaxRange, GetXSpec, GetXY, GetYCurrentRange, GetYMaxRange, GetYSpec, OnLeave, OnMouseDoubleClick, OnMouseRightDown, OnPaint, OnScroll, OnSize, PageSetup, PositionScreenToUser, PositionUserToScreen, PrintPreview, Printout, Redraw, Reset, SaveFile, ScrollRight, ScrollUp, SetCursor, SetEnableDrag, SetEnableGrid, SetEnableLegend, SetEnablePointLabel, SetEnableTitle, SetEnableZoom, SetFontSizeAxis, SetFontSizeLegend, SetFontSizeTitle, SetGridColour, SetPointLabelFunc, SetShowScrollbars, SetUseScientificNotation, SetXSpec, SetYSpec, UpdatePointLabel, Zoom, getLogScale, setLogScale

Inherited from wx._windows.Panel: Create, SetFocusIgnoringChildren, __repr__

Inherited from wx._core.Window: AcceptsFocus, AcceptsFocusFromKeyboard, AddChild, AdjustForLayoutDirection, AssociateHandle, CacheBestSize, CanSetTransparent, CaptureMouse, Center, CenterOnParent, Centre, CentreOnParent, ClearBackground, ClientToScreen, ClientToScreenXY, Close, ConvertDialogPointToPixels, ConvertDialogSizeToPixels, ConvertPixelPointToDialog, ConvertPixelSizeToDialog, DLG_PNT, DLG_SZE, Destroy, DestroyChildren, Disable, DissociateHandle, DragAcceptFiles, Enable, FindWindowById, FindWindowByName, Fit, FitInside, Freeze, GetAcceleratorTable, GetAdjustedBestSize, GetAutoLayout, GetBackgroundColour, GetBackgroundStyle, GetBestFittingSize, GetBestSize, GetBestSizeTuple, GetBestVirtualSize, GetBorder, GetCaret, GetCharHeight, GetCharWidth, GetChildren, GetClientAreaOrigin, GetClientRect, GetClientSize, GetClientSizeTuple, GetConstraints, GetContainingSizer, GetCursor, GetDefaultAttributes, GetDropTarget, GetEffectiveMinSize, GetEventHandler, GetExtraStyle, GetFont, GetForegroundColour, GetFullTextExtent, GetGrandParent, GetGtkWidget, GetHandle, GetHelpText, GetHelpTextAtPoint, GetId, GetLabel, GetLayoutDirection, GetMaxHeight, GetMaxSize, GetMaxWidth, GetMinHeight, GetMinSize, GetMinWidth, GetName, GetParent, GetPosition, GetPositionTuple, GetRect, GetScreenPosition, GetScreenPositionTuple, GetScreenRect, GetScrollPos, GetScrollRange, GetScrollThumb, GetSize, GetSizeTuple, GetSizer, GetTextExtent, GetThemeEnabled, GetToolTip, GetTopLevelParent, GetUpdateClientRect, GetUpdateRegion, GetValidator, GetVirtualSize, GetVirtualSizeTuple, GetWindowBorderSize, GetWindowStyle, GetWindowStyleFlag, GetWindowVariant, HasCapture, HasFlag, HasMultiplePages, HasScrollbar, HasTransparentBackground, Hide, HitTest, HitTestXY, InheritAttributes, InheritsBackgroundColour, InitDialog, InvalidateBestSize, IsBeingDeleted, IsDoubleBuffered, IsEnabled, IsExposed, IsExposedPoint, IsExposedRect, IsFrozen, IsRetained, IsShown, IsShownOnScreen, IsTopLevel, Layout, LineDown, LineUp, Lower, MakeModal, Move, MoveAfterInTabOrder, MoveBeforeInTabOrder, MoveXY, Navigate, PageDown, PageUp, PopEventHandler, PopupMenu, PopupMenuXY, PostCreate, PrepareDC, PushEventHandler, Raise, Refresh, RefreshRect, RegisterHotKey, ReleaseMouse, RemoveChild, RemoveEventHandler, Reparent, ScreenToClient, ScreenToClientXY, ScrollLines, ScrollPages, ScrollWindow, SendSizeEvent, SetAcceleratorTable, SetAutoLayout, SetBackgroundColour, SetBackgroundStyle, SetBestFittingSize, SetCaret, SetClientRect, SetClientSize, SetClientSizeWH, SetConstraints, SetContainingSizer, SetDimensions, SetDoubleBuffered, SetDropTarget, SetEventHandler, SetExtraStyle, SetFocus, SetFocusFromKbd, SetFont, SetForegroundColour, SetHelpText, SetHelpTextForId, SetId, SetInitialSize, SetLabel, SetLayoutDirection, SetMaxSize, SetMinSize, SetName, SetOwnBackgroundColour, SetOwnFont, SetOwnForegroundColour, SetPosition, SetRect, SetScrollPos, SetScrollbar, SetSize, SetSizeHints, SetSizeHintsSz, SetSizeWH, SetSizer, SetSizerAndFit, SetThemeEnabled, SetToolTip, SetToolTipString, SetTransparent, SetValidator, SetVirtualSize, SetVirtualSizeHints, SetVirtualSizeHintsSz, SetVirtualSizeWH, SetWindowStyle, SetWindowStyleFlag, SetWindowVariant, ShouldInheritColours, Show, Thaw, ToggleWindowStyle, TransferDataFromWindow, TransferDataToWindow, UnregisterHotKey, Update, UpdateWindowUI, UseBgCol, Validate, WarpPointer

Inherited from wx._core.EvtHandler: AddPendingEvent, Bind, Connect, Disconnect, GetEvtHandlerEnabled, GetNextHandler, GetPreviousHandler, ProcessEvent, ProcessPendingEvents, SetEvtHandlerEnabled, SetNextHandler, SetPreviousHandler, Unbind

Inherited from wx._core.Object: GetClassName, IsSameAs

Inherited from lib.plotter.PlotProxy: addListener, getListeners, updateLines, updateListenerExtrema, updateListeners

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Methods

Inherited from HSIMinorModeMixin: worksWithMajorMode

Inherited from minor.MinorMode: getValidMinorModes

Inherited from debug.debugmixin: dprint

Static Methods

Inherited from wx._windows.Panel: GetClassDefaultAttributes

Inherited from wx._core.Window: FindFocus, GetCapture, NewControlId, NextControlId, PrevControlId

Class Variables
  keyword = 'X Profile'
  classprefs = <peppy.lib.userparams.PrefsProxy object at 0x635d...

Inherited from HSIPlotMinorMode: default_classprefs, plot_proxy

Inherited from lib.userparams.ClassPrefs: preferences_sort_weight

Inherited from debug.debugmixin: debuglevel

Properties

Inherited from wx._windows.Panel: thisown

Inherited from wx._core.Window: AcceleratorTable, AutoLayout, BackgroundColour, BackgroundStyle, BestSize, BestVirtualSize, Border, Caret, CharHeight, CharWidth, Children, ClientAreaOrigin, ClientRect, ClientSize, Constraints, ContainingSizer, Cursor, DefaultAttributes, DropTarget, EffectiveMinSize, Enabled, EventHandler, ExtraStyle, Font, ForegroundColour, GrandParent, GtkWidget, Handle, HelpText, Id, Label, LayoutDirection, MaxHeight, MaxSize, MaxWidth, MinHeight, MinSize, MinWidth, Name, Parent, Position, Rect, ScreenPosition, ScreenRect, Shown, Size, Sizer, ThemeEnabled, ToolTip, TopLevel, TopLevelParent, UpdateClientRect, UpdateRegion, Validator, VirtualSize, WindowStyle, WindowStyleFlag, WindowVariant

Inherited from wx._core.EvtHandler: EvtHandlerEnabled, NextHandler, PreviousHandler

Inherited from wx._core.Object: ClassName

Inherited from object: __class__

Method Details

setupAxes(self)

 
Overrides: HSIPlotMinorMode.setupAxes

getLines(self, x, y)

 

Users should override this to return a list of plot.Polyline instances that represent the data to be plotted.

The x and y values are optional and are dependent on the user application to have passed them in through updateLines.

Overrides: lib.plotter.PlotProxy.getLines
(inherited documentation)

Class Variable Details

classprefs

Value:
<peppy.lib.userparams.PrefsProxy object at 0x635d410>