Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
+16 -11
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4VisAttributes.hh 85261 2014-10-27 08:54:57Z gcosmo $
// $Id: G4VisAttributes.hh 98730 2016-08-09 10:47:54Z gcosmo $
//
//
// John Allison 23rd October 1996
@@ -73,13 +73,18 @@ public: // With description
enum {fMinLineSegmentsPerCircle = 3}; // number of sides per circle
G4VisAttributes ();
G4VisAttributes (const G4VisAttributes&);
G4VisAttributes (G4bool visibility);
G4VisAttributes (const G4Colour& colour);
G4VisAttributes (G4bool visibility, const G4Colour& colour);
G4VisAttributes (const G4VisAttributes&);
~G4VisAttributes ();
G4VisAttributes& operator= (const G4VisAttributes&);
// Deprecated 14 July 2016 JA
// Use GetInvisible() instead. E.g.:
// logical_volume->SetVisAttributes(G4VisAttributes::GetInvisible());
// or use one of the above constructors or SetVisibility and
// logical_volume->SetVisAttributes(my_vis_attributes);
static const G4VisAttributes Invisible;
static const G4VisAttributes& GetInvisible();
@@ -87,8 +92,8 @@ public: // With description
G4bool operator != (const G4VisAttributes& a) const;
G4bool operator == (const G4VisAttributes& a) const;
void SetVisibility (G4bool);
void SetDaughtersInvisible (G4bool);
void SetVisibility (G4bool = true);
void SetDaughtersInvisible (G4bool = true);
void SetColour (const G4Colour&);
void SetColor (const G4Color&);
void SetColour (G4double red, G4double green, G4double blue,
@@ -97,9 +102,9 @@ public: // With description
G4double alpha = 1.);
void SetLineStyle (LineStyle);
void SetLineWidth (G4double);
void SetForceWireframe (G4bool);
void SetForceSolid (G4bool);
void SetForceAuxEdgeVisible (G4bool);
void SetForceWireframe (G4bool = true);
void SetForceSolid (G4bool = true);
void SetForceAuxEdgeVisible (G4bool = true);
void SetForceLineSegmentsPerCircle (G4int nSegments);
// Allows choice of circle approximation. A circle of 360 degrees
// will be composed of nSegments line segments. If your solid has
@@ -119,13 +124,12 @@ public: // With description
G4bool IsForceDrawingStyle () const;
ForcedDrawingStyle GetForcedDrawingStyle () const;
G4bool IsForceAuxEdgeVisible () const;
G4bool IsForcedAuxEdgeVisible () const;
G4bool IsForceLineSegmentsPerCircle () const;
G4int GetForcedLineSegmentsPerCircle () const;
G4double GetStartTime () const;
G4double GetEndTime () const;
static G4int GetMinLineSegmentsPerCircle () {
return fMinLineSegmentsPerCircle;
};
static G4int GetMinLineSegmentsPerCircle ();
// Returns an expendable copy of the G4AttValues...
const std::vector<G4AttValue>* CreateAttValues () const;
// Returns the orginal long life G4AttDefs...
@@ -141,7 +145,8 @@ private:
// pixels for screen, 0.1 mm for paper.
G4bool fForceDrawingStyle; // To switch on forced drawing style.
ForcedDrawingStyle fForcedStyle; // Value of forced drawing style.
G4bool fForceAuxEdgeVisible; // Force drawing of auxilary edges.
G4bool fForceAuxEdgeVisible; // To switch on a forced auxiliary edge mode.
G4bool fForcedAuxEdgeVisible; // Whether aux edges are visible or not.
G4int fForcedLineSegmentsPerCircle; // Forced lines segments per
// circle. <=0 means not forced.
G4double fStartTime, fEndTime; // Time range.