Import Geant4 2.0.0 source tree
This commit is contained in:
+10
-1
@@ -1,4 +1,4 @@
|
||||
$Id: History,v 1.4 1999/11/10 16:27:22 johna Exp $
|
||||
$Id: History,v 1.6 2000/06/09 10:09:21 barrand Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -18,6 +18,15 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
envs-V01-01-01 09 June 2000 John Allison
|
||||
- Only OPACS and History tagged.
|
||||
|
||||
09 June 2000 Guy Barrand
|
||||
- Some correction to be able to compile
|
||||
with 01-01-ref-04
|
||||
|
||||
envs-V01-01-00 7th June 2000 Guy Barrand
|
||||
|
||||
envs-V00-01-00 10th November 1999 John Allison
|
||||
- Only OPACS and History tagged.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History,v 1.2 1999/09/15 12:28:18 barrand Exp $
|
||||
$Id: History,v 1.3 2000/03/17 08:59:46 barrand Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -18,6 +18,9 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
15 March 2000 Guy Barrand
|
||||
- Modification to compile on Linux-g++ with STL.
|
||||
|
||||
15 Sep 1999 Guy Barrand
|
||||
- Modification to compile on Linux-g++ with STL.
|
||||
|
||||
|
||||
@@ -5,15 +5,11 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: EXPO.cc,v 1.5.2.1.2.1 1999/12/07 20:46:48 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: EXPO.cc,v 1.8 2000/03/17 08:56:10 barrand Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
#include <stdlib.h>
|
||||
|
||||
// GB : put this include before the GL ones.
|
||||
// It avoid a clash with STL includes on Linux.
|
||||
#include "g4rw/tvhdict.h"
|
||||
|
||||
/*Geant4*/
|
||||
#include <G4RunManager.hh>
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: TEST.cc,v 1.2.6.1 1999/12/07 20:46:49 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: TEST.cc,v 1.3 1999/12/15 14:48:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: EXPO_Detector.icc,v 1.2.6.1 1999/12/07 20:46:49 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: EXPO_Detector.icc,v 1.3 1999/12/15 14:48:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// See also G4/run/example/MyDetectorConstruction.cc.
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: EXPO_PhysicsList.hh,v 1.3.6.1 1999/12/07 20:46:49 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: EXPO_PhysicsList.hh,v 1.4 1999/12/15 14:48:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: EXPO_PhysicsList.icc,v 1.3.6.1.2.3 1999/12/14 07:06:18 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: EXPO_PhysicsList.icc,v 1.4 1999/12/15 14:48:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: EXPO_Primary.icc,v 1.2.6.1 1999/12/07 20:46:50 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: EXPO_Primary.icc,v 1.3 1999/12/15 14:48:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// See also G4/run/example/EXPO_PrimaryGeneratorAction.cc.
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4o.h,v 1.2.6.1 1999/12/07 20:46:50 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4o.h,v 1.3 1999/12/15 14:48:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
/* +---------------------- Copyright notice -------------------------------+ */
|
||||
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4oCommon.hh,v 1.2.6.1 1999/12/07 20:46:50 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4oCommon.hh,v 1.3 1999/12/15 14:48:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
/*
|
||||
Included by G4o.h.
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4oCommon.icc,v 1.2.6.1 1999/12/07 20:46:50 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4oCommon.icc,v 1.3 1999/12/15 14:48:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
/*
|
||||
Included by G4o.cc.
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4oDrawer.hh,v 1.2.6.1 1999/12/07 20:46:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4oDrawer.hh,v 1.3 1999/12/15 14:48:43 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
/* +---------------------- Copyright notice -------------------------------+ */
|
||||
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4oEXPO.h,v 1.2.6.1 1999/12/07 20:46:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4oEXPO.h,v 1.3 1999/12/15 14:48:43 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
/* +---------------------- Copyright notice -------------------------------+ */
|
||||
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4oScene.hh,v 1.2.6.1 1999/12/07 20:46:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4oScene.hh,v 1.4 2000/03/17 08:58:32 barrand Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
/* +---------------------- Copyright notice -------------------------------+ */
|
||||
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
|
||||
@@ -44,6 +44,16 @@ public:
|
||||
void AddThis (const G4Polyhedra&);
|
||||
void AddThis (const G4VSolid& solid); // For solids not above.
|
||||
|
||||
void BeginPrimitives (const G4Transform3D&);
|
||||
void EndPrimitives ();
|
||||
void AddPrimitive (const G4Polyline&);
|
||||
void AddPrimitive (const G4Text&);
|
||||
void AddPrimitive (const G4Circle&);
|
||||
void AddPrimitive (const G4Square&);
|
||||
void AddPrimitive (const G4Polymarker&);
|
||||
void AddPrimitive (const G4Polyhedron&);
|
||||
void AddPrimitive (const G4NURBS&);
|
||||
|
||||
void PreAddThis (const G4Transform3D& objectTransformation,
|
||||
const G4VisAttributes& visAttribs);
|
||||
void PostAddThis ();
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4oState.hh,v 1.3.4.1 1999/12/07 20:46:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4oState.hh,v 1.4 1999/12/15 14:48:43 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
#ifndef G4oState_h
|
||||
#define G4oState_h
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: WoG4o.h,v 1.2.6.1 1999/12/07 20:46:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: WoG4o.h,v 1.3 1999/12/15 14:48:43 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
/* +---------------------- Copyright notice -------------------------------+ */
|
||||
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
|
||||
|
||||
@@ -39,7 +39,7 @@ OSF1-cxx : This_needed
|
||||
"CCLDFLAGS = -std1" \
|
||||
"CCLDEND = -lots -lSM -lICE -ldnet_stub" \
|
||||
"CXX = cxx" \
|
||||
"CXXFLAGS = -ptr ${OREPOSITORY} -DG4_HAVE_BOOL -g" \
|
||||
"CXXFLAGS = -std strict_ansi -ptr ${OREPOSITORY} -DG4_HAVE_BOOL -g" \
|
||||
"CXXLD = cxx" \
|
||||
"CXXLDFLAGS = -ptr ${OREPOSITORY} -non_shared" \
|
||||
"CXXLDEND = -lots -lSM -lICE -ldnet_stub" \
|
||||
@@ -131,7 +131,7 @@ Linux-gxx : This_needed
|
||||
"libXt = -L/usr/X11R6/lib -lXt" \
|
||||
"libXmu = -L/usr/X11R6/lib -lXmu" \
|
||||
"libXaw = -L/usr/X11R6/lib -lXaw" \
|
||||
"libXm = -L/usr/X11R6/lib -lXm" \
|
||||
"libXm = -L/usr/X11R6/lib -lXm -lXaw" \
|
||||
$(This_macros)
|
||||
|
||||
SunOS-CC : This_needed
|
||||
|
||||
@@ -37,8 +37,8 @@ This_macros = \
|
||||
"libGo = -L${GOROOT}/${OCONFIG} -lGo" \
|
||||
"libwww = -L${W3OROOT}/${OCONFIG} -lW3o" \
|
||||
"libhtmlw = -L${HTMLOROOT}/${OCONFIG} -lHTMLo" \
|
||||
"G4_CPPFLAGS = -I${G4INSTALL}/source/global/management/include -I${G4INSTALL}/source/global/HEPRandom/include -I${G4INSTALL}/source/global/HEPGeometry/include -I${G4INSTALL}/source/run/include -I${G4INSTALL}/source/materials/include -I${G4INSTALL}/source/particles/management/include -I${G4INSTALL}/source/particles/bosons/include -I${G4INSTALL}/source/particles/leptons/include -I${G4INSTALL}/source/particles/hadrons/barions/include -I${G4INSTALL}/source/particles/hadrons/ions/include -I${G4INSTALL}/source/particles/hadrons/mesons/include -I${G4INSTALL}/source/processes/management/include -I${G4INSTALL}/source/processes/general/include -I${G4INSTALL}/source/processes/decay/include -I${G4INSTALL}/source/processes/optical/include -I${G4INSTALL}/source/processes/transportation/include -I${G4INSTALL}/source/processes/parameterisation/include -I${G4INSTALL}/source/processes/electromagnetic/standard/include -I${G4INSTALL}/source/processes/electromagnetic/muons/include -I${G4INSTALL}/source/processes/electromagnetic/utils/include -I${G4INSTALL}/source/processes/electromagnetic/xrays/include -I${G4INSTALL}/source/processes/hadronic/management/include -I${G4INSTALL}/source/processes/hadronic/processes/include -I${G4INSTALL}/source/processes/hadronic/util/include -I${G4INSTALL}/source/processes/hadronic/cross_sections/include -I${G4INSTALL}/source/processes/hadronic/models/generator/include -I${G4INSTALL}/source/processes/hadronic/models/high_energy/include -I${G4INSTALL}/source/processes/hadronic/models/low_energy/include -I${G4INSTALL}/source/processes/hadronic/stopping/include -I${G4INSTALL}/source/geometry/management/include -I${G4INSTALL}/source/geometry/solids/CSG/include -I${G4INSTALL}/source/geometry/solids/BREPS/include -I${G4INSTALL}/source/geometry/solids/STEP/include -I${G4INSTALL}/source/geometry/volumes/include -I${G4INSTALL}/source/geometry/magneticfield/include -I${G4INSTALL}/source/track/include -I${G4INSTALL}/source/tracking/include -I${G4INSTALL}/source/digits+hits/detector/include -I${G4INSTALL}/source/digits+hits/hits/include -I${G4INSTALL}/source/digits+hits/digits/include -I${G4INSTALL}/source/readout/include -I${G4INSTALL}/source/event/include -I${G4INSTALL}/source/graphics_reps/include -I${G4INSTALL}/source/persistency/include -I${G4INSTALL}/source/intercoms/include -I${G4INSTALL}/source/visualization/modeling/include" \
|
||||
"libg4 = -L${G4LIB}/$${G4SYSTEM} -lG4modeling -lG4emstandard -lG4decay -lG4UIbasic -lG4muons -lG4ions -lG4mesons -lG4leptons -lG4barions -lG4run -lG4event -lG4bosons -lG4tracking -lG4transportation -lG4detector -lG4emutils -lG4hits -lG4procman -lG4digits -lG4track -lG4UIcommon -lG4partman -lG4volumes -lG4magneticfield -lG4csg -lG4geometrymng -lG4materials -lG4intercoms -lG4graphics_reps -lG4globman"
|
||||
"G4_CPPFLAGS = -DG4USE_STL -DG4USE_NAMESPACE -DG4USE_STD_NAMESPACE -I${G4INSTALL}/source/global/management/include -I${G4INSTALL}/source/global/HEPRandom/include -I${G4INSTALL}/source/global/HEPGeometry/include -I${G4INSTALL}/source/run/include -I${G4INSTALL}/source/materials/include -I${G4INSTALL}/source/particles/management/include -I${G4INSTALL}/source/particles/bosons/include -I${G4INSTALL}/source/particles/leptons/include -I${G4INSTALL}/source/particles/hadrons/barions/include -I${G4INSTALL}/source/particles/hadrons/ions/include -I${G4INSTALL}/source/particles/hadrons/mesons/include -I${G4INSTALL}/source/processes/management/include -I${G4INSTALL}/source/processes/general/include -I${G4INSTALL}/source/processes/decay/include -I${G4INSTALL}/source/processes/optical/include -I${G4INSTALL}/source/processes/transportation/include -I${G4INSTALL}/source/processes/parameterisation/include -I${G4INSTALL}/source/processes/electromagnetic/standard/include -I${G4INSTALL}/source/processes/electromagnetic/muons/include -I${G4INSTALL}/source/processes/electromagnetic/utils/include -I${G4INSTALL}/source/processes/electromagnetic/xrays/include -I${G4INSTALL}/source/processes/hadronic/management/include -I${G4INSTALL}/source/processes/hadronic/processes/include -I${G4INSTALL}/source/processes/hadronic/util/include -I${G4INSTALL}/source/processes/hadronic/cross_sections/include -I${G4INSTALL}/source/processes/hadronic/models/generator/include -I${G4INSTALL}/source/processes/hadronic/models/high_energy/include -I${G4INSTALL}/source/processes/hadronic/models/low_energy/include -I${G4INSTALL}/source/processes/hadronic/stopping/include -I${G4INSTALL}/source/geometry/management/include -I${G4INSTALL}/source/geometry/solids/CSG/include -I${G4INSTALL}/source/geometry/solids/specific/include -I${G4INSTALL}/source/geometry/solids/BREPS/include -I${G4INSTALL}/source/geometry/solids/STEP/include -I${G4INSTALL}/source/geometry/volumes/include -I${G4INSTALL}/source/geometry/magneticfield/include -I${G4INSTALL}/source/track/include -I${G4INSTALL}/source/tracking/include -I${G4INSTALL}/source/digits+hits/detector/include -I${G4INSTALL}/source/digits+hits/hits/include -I${G4INSTALL}/source/digits+hits/digits/include -I${G4INSTALL}/source/readout/include -I${G4INSTALL}/source/event/include -I${G4INSTALL}/source/graphics_reps/include -I${G4INSTALL}/source/persistency/include -I${G4INSTALL}/source/intercoms/include -I${G4INSTALL}/source/visualization/modeling/include" \
|
||||
"libg4 = -L${G4LIB}/$${G4SYSTEM} -lG4modeling -lG4emstandard -lG4decay -lG4UIbasic -lG4muons -lG4ions -lG4mesons -lG4leptons -lG4baryons -lG4run -lG4event -lG4bosons -lG4tracking -lG4transportation -lG4detector -lG4emutils -lG4hits -lG4procman -lG4digits -lG4track -lG4UIcommon -lG4partman -lG4volumes -lG4magneticfield -lG4geomBoolean -lG4csg -lG4geometrymng -lG4materials -lG4intercoms -lG4graphics_reps -lG4globman"
|
||||
|
||||
# With Geant4 global libs use :
|
||||
#"libg4 = -L${G4LIB}/$${G4SYSTEM} -lG4modeling -lG4run -lG4event -lG4tracking -lG4processes -lG4particles -lG4digits+hits -lG4track -lG4materials -lG4geometry -lG4graphics_reps -lG4intercoms -lG4global"
|
||||
|
||||
@@ -19,18 +19,23 @@ setenv CLHEPROOT /lal/CLHEP/1.4/HP-UX-aCC
|
||||
setenv RWLIBS "-lrwtool"
|
||||
endif
|
||||
if ( `uname -n` == "asc" ) then
|
||||
setenv G4WORKDIR /geant4/geant4-01-01
|
||||
setenv G4INSTALL $G4WORKDIR
|
||||
setenv G4LIB $G4WORKDIR/lib
|
||||
setenv G4SYSTEM DEC-cxx
|
||||
setenv CLHEPROOT /lal/CLHEP/1.4/OSF1-cxx
|
||||
setenv RWROOT /lal/rogue/6.1/OSF1-cxx
|
||||
setenv RWFLAGS "-I${RWROOT}"
|
||||
setenv RWLIBS "-L${RWROOT}/lib -lrwtool"
|
||||
setenv RWFLAGS "-I$G4INSTALL/source/global/STLInterface"
|
||||
setenv RWLIBS ""
|
||||
# To be able to link :
|
||||
limit datasize 500000
|
||||
endif
|
||||
if ( `uname -n` == "lx1.lal.in2p3.fr" ) then
|
||||
setenv G4WORKDIR /geant4/geant4-01-01
|
||||
setenv G4INSTALL $G4WORKDIR
|
||||
setenv G4LIB $G4WORKDIR/lib
|
||||
setenv G4SYSTEM Linux-g++
|
||||
setenv CLHEPROOT /lal/CLHEP/1.4/Linux-gxx
|
||||
# With RogueWave :
|
||||
#setenv RWROOT /lal/rogue/6.1/Linux-gxx
|
||||
#setenv RWFLAGS "-I${RWROOT}"
|
||||
#setenv RWLIBS "-L${RWROOT}/lib -lrwtool"
|
||||
# With STL :
|
||||
# With STL, hook the dummy rw things :
|
||||
setenv RWFLAGS "-I$G4INSTALL/source/global/STLInterface"
|
||||
setenv RWLIBS ""
|
||||
endif
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4o.cc,v 1.4.2.1.2.1 1999/12/07 20:46:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4o.cc,v 1.7 2000/03/17 08:57:45 barrand Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
/*
|
||||
#define DEBUG
|
||||
@@ -15,10 +15,6 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
// GB : put this include before the GL ones.
|
||||
// It avoid a clash with STL includes on Linux.
|
||||
#include "g4rw/tvhdict.h"
|
||||
|
||||
// Geant4 :
|
||||
#include <G4VPhysicalVolume.hh>
|
||||
#include <G4LogicalVolume.hh>
|
||||
|
||||
@@ -5,18 +5,14 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4oDrawer.cc,v 1.3.2.1.2.1 1999/12/07 20:46:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4oDrawer.cc,v 1.6 2000/03/17 08:57:46 barrand Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
/*
|
||||
From geant4/visualization/management/src/G4VisManager.cc.
|
||||
*/
|
||||
#include <stddef.h>
|
||||
|
||||
// GB : put this include before the GL ones.
|
||||
// It avoid a clash with STL includes on Linux.
|
||||
#include "g4rw/tvhdict.h"
|
||||
|
||||
#include <G4oDrawer.hh>
|
||||
|
||||
/*G4*/
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4oScene.cc,v 1.3.2.1.2.1 1999/12/07 20:46:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4oScene.cc,v 1.7 2000/06/09 10:00:58 barrand Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
/* +---------------------- Copyright notice -------------------------------+ */
|
||||
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
|
||||
@@ -25,10 +25,6 @@
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
// GB : put this include before the GL ones.
|
||||
// It avoid a clash with STL includes on Linux.
|
||||
#include "g4rw/tvhdict.h"
|
||||
|
||||
/*Co*/
|
||||
#include <CPrinter.h>
|
||||
#include <CString.h>
|
||||
@@ -52,6 +48,7 @@
|
||||
#include <G4Polyline.hh>
|
||||
#include <G4Transform3D.hh>
|
||||
#include <G4PhysicalVolumeModel.hh>
|
||||
#include <G4Normal3D.hh>
|
||||
|
||||
#include <G4oScene.hh>
|
||||
|
||||
@@ -251,6 +248,100 @@ void G4oScene::AddThis (
|
||||
AddPolyhedron (solid.CreatePolyhedron());
|
||||
}
|
||||
/***************************************************************************/
|
||||
void G4oScene::BeginPrimitives(
|
||||
const G4Transform3D& objectTransformation
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
{
|
||||
//G4VSceneHandler::BeginPrimitives (objectTransformation);
|
||||
}
|
||||
/***************************************************************************/
|
||||
void G4oScene::EndPrimitives(
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
{
|
||||
//G4VSceneHandler::EndPrimitives ();
|
||||
}
|
||||
/***************************************************************************/
|
||||
void G4oScene::AddPrimitive(
|
||||
const G4Polyline&
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf ("debug : AddPrimitive : polyline.\n");
|
||||
#endif
|
||||
}
|
||||
/***************************************************************************/
|
||||
void G4oScene::AddPrimitive(
|
||||
const G4Text&
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf ("debug : AddPrimitive : text.\n");
|
||||
#endif
|
||||
}
|
||||
/***************************************************************************/
|
||||
void G4oScene::AddPrimitive(
|
||||
const G4Circle&
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf ("debug : AddPrimitive : circle.\n");
|
||||
#endif
|
||||
}
|
||||
/***************************************************************************/
|
||||
void G4oScene::AddPrimitive(
|
||||
const G4Square&
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf ("debug : AddPrimitive : square.\n");
|
||||
#endif
|
||||
}
|
||||
/***************************************************************************/
|
||||
void G4oScene::AddPrimitive(
|
||||
const G4Polymarker&
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf ("debug : AddPrimitive : polymarker.\n");
|
||||
#endif
|
||||
}
|
||||
/***************************************************************************/
|
||||
void G4oScene::AddPrimitive(
|
||||
const G4Polyhedron&
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf ("debug : AddPrimitive : polyhedron.\n");
|
||||
#endif
|
||||
}
|
||||
/***************************************************************************/
|
||||
void G4oScene::AddPrimitive(
|
||||
const G4NURBS&
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf ("debug : AddPrimitive : NURBS.\n");
|
||||
#endif
|
||||
}
|
||||
/***************************************************************************/
|
||||
void G4oScene::SetNodeName (
|
||||
char* a_name
|
||||
)
|
||||
|
||||
@@ -5,15 +5,11 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4oState.cc,v 1.3.2.1.2.1 1999/12/07 20:46:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4oState.cc,v 1.6 2000/03/17 08:57:48 barrand Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
//#define DEBUG
|
||||
|
||||
// GB : put this include before the GL ones.
|
||||
// It avoid a clash with STL includes on Linux.
|
||||
#include "g4rw/tvhdict.h"
|
||||
|
||||
//G4
|
||||
#include <globals.hh>
|
||||
#include <G4UImanager.hh>
|
||||
|
||||
Reference in New Issue
Block a user