Qt widget that displays the geometry hierarchy and allows interactive style edits.
More...
|
| | GTree (const std::shared_ptr< GOptions > &gopt, std::unordered_map< std::string, G4Volume * > g4volumes_map, std::unordered_map< std::string, const GVolume * > gvolumes_map={}, QWidget *parent=nullptr) |
| | Construct the geometry tree widget.
|
| | GTree (const GTree &)=delete |
| | Non-copyable: the widget owns unique model resources.
|
| GTree & | operator= (const GTree &)=delete |
| | Non-assignable: the widget owns unique model resources.
|
| | GBase (const std::shared_ptr< GOptions > &gopt, std::string logger_name="") |
| virtual | ~GBase () |
| GBase & | operator= (const GBase &)=default |
The widget builds an internal model of systems and volumes from a provided geometry volume map, then constructs a QTreeWidget view with:
- a visibility checkbox column
- a per-item color button column
- a name column
User interactions trigger slots that:
- update Qt state (checkboxes, button styles, slider labels)
- send visualization commands to the Geant4 UI manager
The right-side panel shows properties of the selected volume and provides controls for representation and opacity.
Definition at line 292 of file gtree.h.