Import Geant4 11.4.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2025-06-26 09:17:29 +02:00
parent 20a218bbe1
commit a499fb82e9
1941 changed files with 203285 additions and 95593 deletions
@@ -34,6 +34,13 @@
// graphics-system-indepedent description of a Geant4 component.
// The key fuctionality of a model is to know how to describe itself
// to a scene handler. A scene is a collection of models.
//
// The static data member const fpCurrentMP is provided so that it
// can be access statically: G4VModel::GetCurrentModelingParameters().
// Its value is expected to be identical to fpMP set in the scene
// handler, but to avoid linking problems, it must *not* be set on
// the vis side; it must be set in modeling by any model that
// requires it, G4TrajectoriesModel.
#ifndef G4VMODEL_HH
#define G4VMODEL_HH
@@ -58,6 +65,8 @@ public: // With description
// The main task of a model is to describe itself to the graphics scene.
const G4ModelingParameters* GetModelingParameters () const;
static const G4ModelingParameters* GetCurrentModelingParameters ();
// The latter for static access
const G4String& GetType() const;
// The sub-class should set its type, which could be the class
@@ -81,6 +90,7 @@ public: // With description
// Set methods for above...
void SetModelingParameters (const G4ModelingParameters*);
static void SetCurrentModelingParameters (const G4ModelingParameters*);
void SetExtent (const G4VisExtent&);
void SetType (const G4String&);
void SetGlobalDescription (const G4String&);
@@ -103,6 +113,8 @@ private:
// assignment not allowed. Keeps CodeWizard happy.
G4VModel (const G4VModel&);
G4VModel& operator = (const G4VModel&);
static const G4ModelingParameters* fpCurrentMP;
};
#include "G4VModel.icc"