Import Geant4 11.2.0.beta source tree
This commit is contained in:
@@ -5,6 +5,14 @@ which **must** added in reverse chronological order (newest at the top). It must
|
||||
be used as a substitute for writing good git commit messages!
|
||||
|
||||
|
||||
## 2023-03-28 John Allison (exam-ext-vis-persp-V11-01-01)
|
||||
- PerspectiveVisAction.hh:
|
||||
- Remove unnecessary forward class declarations.
|
||||
- clang-format.
|
||||
|
||||
## 2023-02-02 Igor Semeniouk (exam-ext-vis-persp-V11-01-00)
|
||||
- PerspectiveVisAction.hh - fix missing include for G4Transform3D
|
||||
|
||||
## 2021-12-10 Ben Morgan (exam-ext-vis-persp-V11-00-00)
|
||||
- Change to new Markdown History format
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user