80 G4cerr <<
"ERROR: No file was specified from which to read Visualisation parameters"
88 <<
" to read visualisation parameters..."
99 G4cout <<
" Default visualization parameters will be used." <<
G4endl;
108 if (viewvol==
"Sensitive")
110 else if (viewvol==
"Electronics")
112 else if (viewvol==
"Support")
114 else if (viewvol==
"Absorber")
116 else if (viewvol==
"Cable")
118 else if (viewvol==
"OtherServices")
120 else if (viewvol==
"PseudoVolumes")
124 G4cerr <<
"WARNING: Unknown type of visualisable object \"" << viewvol
129 int isvisible, wireframe;
132 is >> isvisible >> r >> g >> b >> wireframe >>
jump;
141 << r <<
" " << g <<
" "<< b <<
tab
159 G4cerr <<
"ERROR: In " <<
visFile <<
". Color " << ctype <<
"="
160 << cvalue <<
" > 1" <<
G4endl;
165 G4cerr <<
"ERROR: In " <<
visFile <<
". Color " << ctype <<
"="
166 << cvalue <<
" < 0" <<
G4endl;
bool openGeomFile(std::ifstream &is, const G4String &pathname, const G4String &filename)
std::istream & jump(std::istream &)
static const char * pathName
std::ifstream & readName(std::ifstream &, G4String &)
G4GLOB_DLL std::ostream G4cout
std::ostream & tab(std::ostream &)
void setColor(visType v, double r, double g, double b)
double checkColorRange(double color, char type) const
visParameters theParameters[TotalVisTypes]
CCalVisualisable(G4String file)
G4GLOB_DLL std::ostream G4cerr