g4display
G4Display Class Reference

The main widget for controlling Geant4 visualization. More...

#include <g4display.h>

Inheritance diagram for G4Display:
Inheritance graph
Collaboration diagram for G4Display:
Collaboration graph

Public Member Functions

 G4Display (GOptions *gopt, QWidget *parent=nullptr)
 Constructs the G4Display widget. More...
 
 ~G4Display () override
 Destructor. Manages the lifetime of owned resources (like the logger). More...
 
 G4Display (const G4Display &)=delete
 
G4Displayoperator= (const G4Display &)=delete
 

Detailed Description

This class acts as a container (using QTabWidget) for different panels that control various aspects of the Geant4 visualization, such as camera, lighting, slicing, and other utilities. It owns the primary logger instance for the display module.

Definition at line 24 of file g4display.h.

Constructor & Destructor Documentation

◆ G4Display() [1/2]

G4Display::G4Display ( GOptions *  gopt,
QWidget *  parent = nullptr 
)
explicit
Parameters
goptPointer to the GOptions object containing application settings. Used to configure the logger.
parentOptional parent QWidget for Qt's memory management.

Definition at line 10 of file g4display.cc.

◆ ~G4Display()

G4Display::~G4Display ( )
override

Definition at line 37 of file g4display.cc.

◆ G4Display() [2/2]

G4Display::G4Display ( const G4Display )
delete

Member Function Documentation

◆ operator=()

G4Display& G4Display::operator= ( const G4Display )
delete

The documentation for this class was generated from the following files: