Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VUserVisAction Class Referenceabstract

#include <G4VUserVisAction.hh>

Public Member Functions

 G4VUserVisAction ()
 
virtual ~G4VUserVisAction ()
 
virtual void Draw ()=0
 
void operator() (G4VGraphicsScene &scene, const G4ModelingParameters *pMP)
 

Protected Attributes

G4VGraphicsScenefpSceneHandler
 
const G4ModelingParametersfpMP
 

Detailed Description

Definition at line 51 of file G4VUserVisAction.hh.

Constructor & Destructor Documentation

◆ G4VUserVisAction()

G4VUserVisAction::G4VUserVisAction ( )
inline

Definition at line 54 of file G4VUserVisAction.hh.

55 : fpSceneHandler(nullptr)
56 , fpMP(nullptr)
57 {}
const G4ModelingParameters * fpMP
G4VGraphicsScene * fpSceneHandler

◆ ~G4VUserVisAction()

virtual G4VUserVisAction::~G4VUserVisAction ( )
inlinevirtual

Definition at line 58 of file G4VUserVisAction.hh.

58{}

Member Function Documentation

◆ Draw()

virtual void G4VUserVisAction::Draw ( )
pure virtual

Referenced by operator()().

◆ operator()()

void G4VUserVisAction::operator() ( G4VGraphicsScene scene,
const G4ModelingParameters pMP 
)
inline

Definition at line 60 of file G4VUserVisAction.hh.

60 {
61 fpSceneHandler = &scene;
62 fpMP = pMP;
63 Draw();
64 }
virtual void Draw()=0

Member Data Documentation

◆ fpMP

const G4ModelingParameters* G4VUserVisAction::fpMP
protected

Definition at line 67 of file G4VUserVisAction.hh.

Referenced by operator()().

◆ fpSceneHandler

G4VGraphicsScene* G4VUserVisAction::fpSceneHandler
protected

Definition at line 66 of file G4VUserVisAction.hh.

Referenced by operator()().


The documentation for this class was generated from the following file: