Geant4 11.2.2
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 ()
 
void operator() (G4VGraphicsScene &scene, const G4ModelingParameters *pMP)
 

Protected Member Functions

virtual void Draw ()=0
 

Protected Attributes

G4VGraphicsScenefpSceneHandler
 
const G4ModelingParametersfpMP
 

Detailed Description

Definition at line 59 of file G4VUserVisAction.hh.

Constructor & Destructor Documentation

◆ G4VUserVisAction()

G4VUserVisAction::G4VUserVisAction ( )
inline

Definition at line 62 of file G4VUserVisAction.hh.

62: fpSceneHandler(nullptr), fpMP(nullptr) {}
const G4ModelingParameters * fpMP
G4VGraphicsScene * fpSceneHandler

◆ ~G4VUserVisAction()

virtual G4VUserVisAction::~G4VUserVisAction ( )
inlinevirtual

Definition at line 63 of file G4VUserVisAction.hh.

63{}

Member Function Documentation

◆ Draw()

virtual void G4VUserVisAction::Draw ( )
protectedpure virtual

Referenced by operator()().

◆ operator()()

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

Definition at line 64 of file G4VUserVisAction.hh.

64 {
65 fpSceneHandler = &scene;
66 fpMP = pMP;
67 Draw();
68 }
virtual void Draw()=0

Member Data Documentation

◆ fpMP

const G4ModelingParameters* G4VUserVisAction::fpMP
protected

Definition at line 72 of file G4VUserVisAction.hh.

Referenced by operator()().

◆ fpSceneHandler

G4VGraphicsScene* G4VUserVisAction::fpSceneHandler
protected

Definition at line 71 of file G4VUserVisAction.hh.

Referenced by operator()().


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