42 fDescription (
"No description"),
52 fDescription (
"No description"),
63 fDescription (description),
76 os <<
"Graphics System: " << gs.
GetName ();
77 os <<
", nicknames:";
for (
const auto& nickname: gs.
GetNicknames())
78 {os <<
' ' << nickname;}
80 os <<
"\n Functionality: ";
86 os <<
"nonEuclidian, e.g., tree representation of geometry hierarchy.";
89 os <<
"twoD: Simple 2D, e.g., X (no stored structures).";
92 os <<
"twoDStore: 2D with stored structures.";
95 os <<
"threeD: Passive 3D (with stored structures)";
98 os <<
"threeDInteractive: 3D with \"pick\" functionality.";
101 os <<
"virtualReality";
114 size_t nScenes = scenes.size ();
116 G4int nScenesOfThisSystem = 0;
117 for (
size_t i = 0; i < nScenes; i++) {
118 if (scenes [i] -> GetGraphicsSystem () == &gs) {
119 nScenesOfThisSystem++;
122 if (nScenesOfThisSystem) {
123 os <<
"\n Its scenes are: ";
124 for (
size_t i = 0; i < nScenes; i++) {
125 if (scenes [i] -> GetGraphicsSystem () == &gs) {
126 os <<
"\n " << *(scenes [i]);
131 os <<
"\n It has no scenes at present.";
135 os <<
"\n There are no scenes instantiated at present.";
std::vector< G4String > fNicknames
const std::vector< G4String > & GetNicknames() const
const char * name(G4int ptype)
virtual G4bool IsUISessionCompatible() const
static G4VisManager * GetInstance()
G4VGraphicsSystem(const G4String &name, Functionality f)
virtual ~G4VGraphicsSystem()
const G4String & GetName() const
const G4String & GetDescription() const
Functionality GetFunctionality() const
std::ostream & operator<<(std::ostream &os, const G4VGraphicsSystem &gs)