NaviNIBS.Navigator.GUI.ViewPanels.TargetsPanel module¶
- class NaviNIBS.Navigator.GUI.ViewPanels.TargetsPanel.VisualizedTarget(target, plotter, style, color='#2222FF', visible=True)[source]¶
Bases:
object
Note: this doesn’t connect to any change signals from target, instead assuming that caller will re-instantiate the VisualizedTarget for any target changes.
- Parameters:
_target
_plotter
_style
_color
_visible
- _plotter: RemotePlotterProxy¶
- _style: str¶
- _color: str¶
- property visible¶
- property style¶
- property actors¶
- class NaviNIBS.Navigator.GUI.ViewPanels.TargetsPanel.TargetsPanel(session=None, label=None, iconFn=None, key='Set targets', surfKeys=NOTHING)[source]¶
Bases:
MainViewPanelWithDockWidgets
,QueuedRedrawMixin
- Parameters:
_session
_label
_iconFn
_key
_surfKeys
- finishedAsyncInit: Event¶
- canBeEnabled()[source]¶
Should return (True, None) if panel can be enabled, and (False, ‘<Reason why cannot be enabled>’) otherwise. The second output in the latter case should be a string explaining why the panel cannot be enabled, e.g. ‘Registration must be completed before navigating’
- Return type:
tuple
[bool
,Optional
[str
]]