41 fDescription (
"No description"),
51 fDescription (
"No description"),
62 fDescription (description),
75 os <<
"Graphics System: " << gs.
GetName ();
76 os <<
", nicknames:";
for (
const auto& nickname: gs.
GetNicknames())
77 {os <<
' ' << nickname;}
79 os <<
"\n Functionality: ";
85 os <<
"nonEuclidian, e.g., tree representation of geometry hierarchy.";
88 os <<
"twoD: Simple 2D, e.g., X (no stored structures).";
91 os <<
"twoDStore: 2D with stored structures.";
94 os <<
"threeD: Passive 3D (with stored structures)";
97 os <<
"threeDInteractive: 3D with mouse control and \"pick\" functionality.";
100 os <<
"virtualReality";
113 size_t nScenes = scenes.size ();
115 G4int nScenesOfThisSystem = 0;
116 for (
size_t i = 0; i < nScenes; i++) {
117 if (scenes [i] -> GetGraphicsSystem () == &gs) {
118 nScenesOfThisSystem++;
121 if (nScenesOfThisSystem) {
122 os <<
"\n Its scenes are: ";
123 for (
size_t i = 0; i < nScenes; i++) {
124 if (scenes [i] -> GetGraphicsSystem () == &gs) {
125 os <<
"\n " << *(scenes [i]);
130 os <<
"\n It has no scenes at present.";
134 os <<
"\n There are no scenes instantiated at present.";
std::ostream & operator<<(std::ostream &os, const G4VGraphicsSystem &gs)
const std::vector< G4String > & GetNicknames() const
virtual G4bool IsUISessionCompatible() const
G4VGraphicsSystem(const G4String &name, Functionality f)
Functionality GetFunctionality() const
const G4String & GetDescription() const
const G4String & GetName() const
std::vector< G4String > fNicknames
virtual ~G4VGraphicsSystem()
static G4VisManager * GetInstance()