clear_scene#

MonostaticRCSPlotter.clear_scene(first_level=None, second_level=None, name=None)[source]#

Clear actors from the visualization scene.

This method removes elements from the scene based on the provided hierarchy levels. By default, it clears all annotations and results. The geometry (model) cannot be cleared using this method.

Parameters:
first_levelstr, default: None

Top-level key indicating what to clear. Options are "annotations", "model", and "results". If no option is provided, both annotations and results are cleared.

second_levelstr, default: None

Subcategory within the specified first_level key. If no value is provided, all data under the first_level key is cleared.

namestr, default: None

Specific item to remove within the second_level subcategory. If no value is provided, all items under the second_level subcategory are removed.

Returns:
bool

Returns True successful, False otherwise.