open_viewmin.filter_tree_plot_Qt.menus.visualization_options#

Define actions and set up dialogs for actor visualization options accessed by a dropdown menu in the actor’s control toolbar

Attributes#

Functions#

active_scalars_color_callback(plotter, actor_name)

Color an actor by its most recently used scalar dataset

add_visualization_options_menu(actor_control_toolbar)

Create dropdown menu of actor customizations

apolar_callback(plotter, actor_name)

Toggle apolar flag for orientations.

circuit_options_callback(plotter, actor_name)

Launch dialog to set circuit filter settings.

color_picker(plotter, actor_name)

Launch system color dialog to set solid color of a mesh

glyph_settings_choice_callback(plotter, actor_name)

Launch dialog to set glyph filter settings.

line_settings_callback(plotter, actor_name)

make_color_array_widget(plotter, actor_name)

Launch dialog for coloring a mesh by a scalar array.

make_line_settings_widget(plotter, actor_name)

num_centroids_callback(plotter, actor_name)

Launch dialog to set centroids filter settings.

populate_viz_options_menu(plotter, actor_name[, ...])

Update visualization options dropdown menu in an actor's control

remove_callback(plotter, actor_name)

Launch dialog to remove a mesh.

rename_callback(plotter, actor_name)

Launch dialog to rename a mesh.

set_opacity_callback(plotter, actor_name)

Launch dialog for opacity and lighting settings.

streamlines_settings_callback(plotter, actor_name)

Launch dialog to set streamlines filter settings.

tensor_ellipsoids_settings_callback(plotter, actor_name)

Launch dialog to set tensor ellipsoids filter settings.

toggle_colorbar_callback(plotter, actor_name)

Toggle visibility of mesh's colorbar, if it exists.

Module Contents#

active_scalars_color_callback(plotter, actor_name)#

Color an actor by its most recently used scalar dataset

Parameters:
add_visualization_options_menu(actor_control_toolbar)#

Create dropdown menu of actor customizations

Parameters:

actor_control_toolbar (open_viewmin.filter_tree_plot_Qt.widgets_Qt.controls.ActorControlToolbar) – Actor control toolbar to which menu will be added.

Return type:

qtpy.QtWidgets.QPushButton

apolar_callback(plotter, actor_name)#

Toggle apolar flag for orientations.

Parameters:
circuit_options_callback(plotter, actor_name)#

Launch dialog to set circuit filter settings.

Parameters:
color_picker(plotter, actor_name)#

Launch system color dialog to set solid color of a mesh

Parameters:
glyph_settings_choice_callback(plotter, actor_name)#

Launch dialog to set glyph filter settings.

Parameters:
line_settings_callback(plotter, actor_name)#
make_color_array_widget(plotter, actor_name)#

Launch dialog for coloring a mesh by a scalar array.

Parameters:
make_line_settings_widget(plotter, actor_name)#
num_centroids_callback(plotter, actor_name)#

Launch dialog to set centroids filter settings.

Parameters:
populate_viz_options_menu(plotter, actor_name, viz_options_button=None)#

Update visualization options dropdown menu in an actor’s control toolbar.

Parameters:
  • plotter (FilterTreePlotQt)

  • actor_name (str)

  • viz_options_button (qtpy.QtWidgets.QPushButton, optional)

remove_callback(plotter, actor_name)#

Launch dialog to remove a mesh.

Parameters:
rename_callback(plotter, actor_name)#

Launch dialog to rename a mesh.

Parameters:
set_opacity_callback(plotter, actor_name)#

Launch dialog for opacity and lighting settings.

Parameters:
streamlines_settings_callback(plotter, actor_name)#

Launch dialog to set streamlines filter settings.

Parameters:
tensor_ellipsoids_settings_callback(plotter, actor_name)#

Launch dialog to set tensor ellipsoids filter settings.

Parameters:
toggle_colorbar_callback(plotter, actor_name)#

Toggle visibility of mesh’s colorbar, if it exists.

Parameters:
colormaps_list#