Import Geant4 1.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:34:16 +02:00
parent ca1c8cb059
commit 103bda00c8
2654 changed files with 29719 additions and 20203 deletions
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VisManMessExpert.cc,v 1.3.8.1 1999/12/07 20:54:02 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4VisManMessExpert.cc,v 1.4 1999/12/15 14:54:27 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// GEANT4 Visualization Manager Messenger - John Allison 22nd July 1996.
@@ -201,7 +201,7 @@ void G4VisManMessenger::DoCommandExpert (const G4String& commandPath,
if (ViewValid ()) {
G4double x, y, z, worldSize;
const char* aString = newValues;
istrstream is((char*) aString); is >> x >> y >> z >> worldSize;
G4std::istrstream is((char*) aString); is >> x >> y >> z >> worldSize;
G4Circle circle = G4Circle(G4Point3D(x,y,z));
circle.SetWorldSize (worldSize);
G4Colour c(0.0, 1.0, 1.0 );
@@ -217,7 +217,7 @@ void G4VisManMessenger::DoCommandExpert (const G4String& commandPath,
G4double x0, y0, z0;
G4double x1, y1, z1;
const char* aString = newValues;
istrstream is((char*) aString); is >> x0 >> y0 >> z0 >> x1 >> y1 >> z1 ;
G4std::istrstream is((char*) aString); is >> x0 >> y0 >> z0 >> x1 >> y1 >> z1 ;
G4Polyline line;
G4Colour c(1.0, 0.0, 0.0);
@@ -242,7 +242,7 @@ void G4VisManMessenger::DoCommandExpert (const G4String& commandPath,
if (ViewValid ()) {
G4double x, y, z, worldSize;
const char* aString = newValues;
istrstream is((char*) aString); is >> x >> y >> z >> worldSize;
G4std::istrstream is((char*) aString); is >> x >> y >> z >> worldSize;
// Draw squares
xx = x ; yy = y; zz = z ;
@@ -331,7 +331,7 @@ void G4VisManMessenger::DoCommandExpert (const G4String& commandPath,
if (ViewValid ()) {
int nPolyMarkers, type;
const char* aString = newValues;
istrstream is((char*) aString) ;is >> nPolyMarkers >> type;
G4std::istrstream is((char*) aString) ;is >> nPolyMarkers >> type;
G4Polymarker::MarkerType realType;
switch (type) {
default:
@@ -388,7 +388,7 @@ void G4VisManMessenger::DoCommandExpert (const G4String& commandPath,
if (ViewValid ()) {
int nSpirals;
const char* aString = newValues;
istrstream is((char*) aString) ; is >> nSpirals;
G4std::istrstream is((char*) aString) ; is >> nSpirals;
G4int i;
G4double a, fa, z, dz, t, dt = M_PI / 50.;
G4Polyline line;
@@ -419,7 +419,7 @@ void G4VisManMessenger::DoCommandExpert (const G4String& commandPath,
if (ViewValid ()) {
G4double x, y, z, worldSize;
const char* aString = newValues;
istrstream is((char*) aString); is >> x >> y >> z >> worldSize;
G4std::istrstream is((char*) aString); is >> x >> y >> z >> worldSize;
G4Square Square = G4Square (G4Point3D (x, y, z));
// Set attributes - begin snippet.
Square.SetWorldSize (worldSize);