Import Geant4 11.2.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2023-06-30 09:09:57 +02:00
parent aef78ca386
commit dd1f179cda
3780 changed files with 212808 additions and 142780 deletions
@@ -31,46 +31,41 @@
#ifndef PERSPECTIVEVISACTION_HH
#define PERSPECTIVEVISACTION_HH
#include "G4String.hh"
#include "G4Transform3D.hh"
#include "G4VUserVisAction.hh"
#include "G4String.hh"
#include <map>
#include <vector>
/*
class G4AttDef;
class G4AttValue;
*/
class G4VVisManager;
class G4VSolid;
class G4VisAttributes;
class PerspectiveVisAction: public G4VUserVisAction {
public:
PerspectiveVisAction();
void SetOptionString(const G4String& optionString)
{fOptionString = optionString;}
void SetScene(const G4String& scene)
{fScene = scene;}
virtual void Draw();
private:
void ExtendedDraw (const G4VSolid&, const G4VisAttributes&,
const G4Transform3D& objectTransformation = G4Transform3D());
void RoomAndChair();
void Chair(const G4VisAttributes&, const G4Transform3D&);
G4VVisManager* fpVisManager;
G4String fOptionString;
G4String fScene;
G4double fRoomX, fRoomY, fRoomZ, // Half lengths.
fWindowX, fWindowY, fWindowZ, fWindowSillHeight, fWindowOffset,
fDoorFrameX, fDoorFrameY, fDoorFrameZ, fDoorFrameOffset,
fDoorX, fDoorY, fDoorZ,
fChairX, // Half width.
fChairY, // Half depth.
fChairZ, // Half height.
fChairSeat, // Half height of top of seat.
fChairThickness; // Half thicknes of back, seat, legs.
class PerspectiveVisAction : public G4VUserVisAction
{
public:
PerspectiveVisAction();
void SetOptionString(const G4String& optionString) { fOptionString = optionString; }
void SetScene(const G4String& scene) { fScene = scene; }
virtual void Draw();
private:
void ExtendedDraw(const G4VSolid&, const G4VisAttributes&,
const G4Transform3D& objectTransformation = G4Transform3D());
void RoomAndChair();
void Chair(const G4VisAttributes&, const G4Transform3D&);
G4VVisManager* fpVisManager;
G4String fOptionString;
G4String fScene;
G4double fRoomX, fRoomY, fRoomZ, // Half lengths.
fWindowX, fWindowY, fWindowZ, fWindowSillHeight, fWindowOffset, fDoorFrameX, fDoorFrameY,
fDoorFrameZ, fDoorFrameOffset, fDoorX, fDoorY, fDoorZ,
fChairX, // Half width.
fChairY, // Half depth.
fChairZ, // Half height.
fChairSeat, // Half height of top of seat.
fChairThickness; // Half thicknes of back, seat, legs.
};
#endif