wolfhece._wolf2dresults_manager

Companion manager for Results 2D menu and actions (CPU and GPU). Extracted from PyDraw.WolfMapViewer.

Menu architecture:
  • menu_build() : base “Results 2D” menu, shared between CPU and GPU results.

  • menu_build_gpu_ext()extends the same menu with GPU-only items (cache, tiles,

    bathymetry); must be called after menu_build().

  • on_menu(event)single dispatcher for all items; GPU-specific branches are

    clearly marked with # — GPU ONLY — comments.

Module Contents

class wolfhece._wolf2dresults_manager.Wolf2DResultsManager(viewer: wolfhece.PyDraw.WolfMapViewer)[source]

Manages the Results 2D menu and all 2D result actions (CPU + GPU).

_viewer[source]
_menu: wx.Menu | None = None[source]
menu2d_cache_setup: wx.MenuItem | None = None[source]
menu_build() None[source]

Create the base ‘Results 2D’ menu, shared between CPU and GPU.

menu_build_gpu_ext() None[source]

Append GPU-only items to the existing Results 2D menu.

_on_read_last(event: wx.MenuEvent) None[source]
_on_export_as(event: wx.MenuEvent) None[source]
_on_explore(event: wx.MenuEvent) None[source]
_on_change_view(event: wx.MenuEvent) None[source]
_on_set_epsilon(event: wx.MenuEvent) None[source]
_on_filter_indep(event: wx.MenuEvent) None[source]
_on_video(event: wx.MenuEvent) None[source]
_on_danger_map_h(event: wx.MenuEvent) None[source]
_on_danger_map(event: wx.MenuEvent) None[source]
_on_danger_map_tiled(event: wx.MenuEvent) None[source]
_on_danger_map_mp(event: wx.MenuEvent) None[source]
_on_setup_cache(event: wx.MenuEvent) None[source]
_on_clear_cache(event: wx.MenuEvent) None[source]
_on_show_tiles(event: wx.MenuEvent) None[source]
_on_add_bathy(event: wx.MenuEvent) None[source]
_handle_change_current_view(views_2D, draw_type) None[source]
_handle_set_epsilon(draw_type, Wolfresults_2D) None[source]
_handle_filter_independent(draw_type, Wolfresults_2D) None[source]
_handle_danger_map_only_h() None[source]
_handle_danger_map(itemlabel: str) None[source]
_handle_setup_cache() None[source]
_handle_clear_cache() None[source]
_handle_show_tiles() None[source]
_handle_add_bathy() None[source]