Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -46,16 +46,28 @@
#include "G4Transform3D.hh"
class G4VGraphicsScene;
class G4ModelingParameters;
class G4VUserVisAction
{
public: // With description
G4VUserVisAction() {}
G4VUserVisAction()
: fpSceneHandler(nullptr)
, fpTransform(nullptr)
, fpMP(nullptr)
{}
virtual ~G4VUserVisAction() {}
virtual void Draw() = 0;
void operator()(G4VGraphicsScene&, const G4Transform3D&) {
void operator()(G4VGraphicsScene& scene, const G4Transform3D& trans, const G4ModelingParameters* pMP) {
fpSceneHandler = &scene;
fpTransform = &trans;
fpMP = pMP;
Draw();
}
protected:
G4VGraphicsScene* fpSceneHandler;
const G4Transform3D* fpTransform;
const G4ModelingParameters* fpMP;
};
#endif