mosaic.data.MosaicData#

class MosaicData(vtk_widget)[source]#

Bases: object

Initialize MosaicData instance for managing application state.

Parameters:
vtk_widgetVTKWidget

VTK widget instance for 3D visualization

__init__(vtk_widget)[source]#

Methods

__init__(vtk_widget)

activate_picking_mode()

activate_viewing_mode()

Activate viewing mode for all contaienrs.

format_datalist([type, mesh_only, selected])

Format data list for dialog display.

get_tree_state([type])

Get the tree state (group structure) for a container.

highlight_clusters_from_selected_points()

Highlight clusters containing currently selected points.

load_session(filename)

Load application state from file.

refresh_actors()

Reinitialize all vtk actors to accomodate render setting changes.

reset()

Reset the state of the class instance.

set_coloring_mode(mode)

swap_area_picker()

Toggle area picker between data and models containers.

to_file(filename)

Save current application state to file.

visibility_unselected([visible])

Hide clusters and models that are not selected.