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_level
str, 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_level
str, default:None Subcategory within the specified
first_levelkey. If no value is provided, all data under thefirst_levelkey is cleared.- name
str, default:None Specific item to remove within the
second_levelsubcategory. If no value is provided, all items under thesecond_levelsubcategory are removed.
- first_level
- Returns:
- bool
Returns
Truesuccessful,Falseotherwise.