wolfhece.assets.curve.editor

Graphical editor for curve plot asset configuration.

Module Contents

wolfhece.assets.curve.editor.GROUP_GEOM = 'Curve - Geometry'[source]
wolfhece.assets.curve.editor.GROUP_NORM = 'Curve - Normalization'[source]
wolfhece.assets.curve.editor.GROUP_STYLE = 'Curve - Style'[source]
wolfhece.assets.curve.editor.GROUP_AXES_GRID = 'Curve - Axes/Grid'[source]
wolfhece.assets.curve.editor.GROUP_CURVE_TEMPLATE = 'Curve $n$'[source]
wolfhece.assets.curve.editor.LINE_STYLE_LABEL_TO_CODE[source]
wolfhece.assets.curve.editor.LINE_STYLE_CODE_TO_NAME[source]
wolfhece.assets.curve.editor.LINE_STYLE_NAME_TO_CODE[source]
wolfhece.assets.curve.editor.TICK_POS_LABEL_TO_CODE[source]
wolfhece.assets.curve.editor.TICK_POS_CODE_TO_NAME[source]
wolfhece.assets.curve.editor.TICK_POS_NAME_TO_CODE[source]
class wolfhece.assets.curve.editor.CurveZonesEditor(parent, controller: wolfhece.assets.curve.controller.CurveZonesController)[source]

Bases: wx.Frame

Inheritance diagram of wolfhece.assets.curve.editor.CurveZonesEditor

Editor for curve points with Wolf_Param for options.

controller[source]
_updating_ui = False[source]
_wp[source]
_grid[source]
_pick_position[source]
_transform_map[source]
_live[source]
_add[source]
_del[source]
_apply[source]
_save_json[source]
_load_json[source]
_init_wolf_param_schema() None[source]
static _curve_group_name(idx: int) str[source]
_curve_ids_from_grid() list[int][source]
_sync_incremental_curve_groups(count: int) None[source]
_styles_from_controller(count: int) tuple[list[tuple[int, int, int, int]], list[dict]][source]
_set_incremental_curve_values(colors: list[tuple[int, int, int, int]], styles: list[dict]) None[source]
_read_incremental_curve_values(count: int) tuple[list[tuple[int, int, int, int]], list[dict]][source]
_read_wp() dict[source]
_bind_events() None[source]
_collect_curves() tuple[list[list[tuple[float, float]]], list[str]][source]
_apply_controller() None[source]
refresh_from_controller() None[source]
_maybe_live() None[source]
_sync_groups_from_grid() None[source]
on_pick_position(event)[source]
on_transform_map(event)[source]

Start interactive move/resize mode with map handles.

on_prop_changed(event)[source]
on_grid_changed(event)[source]
on_grid_editor_hidden(event)[source]

Keep focus on grid after Enter validation to avoid focus jump.

on_add_row(event)[source]
on_del_row(event)[source]
on_apply(event)[source]
on_save_json(event)[source]
on_load_json(event)[source]