Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Visible.cc File Reference
#include "G4Visible.hh"
#include "G4VisAttributes.hh"
#include "G4ios.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4Visible &v)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const G4Visible & v )

Definition at line 113 of file G4Visible.cc.

113 {
114 os << "G4Visible: ";
115 if (!v.fInfo.empty()) os << "User information: " << v.fInfo;
116 os << '\n';
117 if (v.fpVisAttributes != nullptr) return os << *(v.fpVisAttributes);
118 return os << "No Visualization Attributes";
119}
const G4VisAttributes * fpVisAttributes
Definition G4Visible.hh:87
G4String fInfo
Definition G4Visible.hh:86