Geant4 10.7.0
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 G4Transform3D &trans, const G4ModelingParameters *pMP)
 

Protected Attributes

G4VGraphicsScenefpSceneHandler
 
const G4Transform3DfpTransform
 
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 , fpTransform(nullptr)
57 , fpMP(nullptr)
58 {}
const G4ModelingParameters * fpMP
G4VGraphicsScene * fpSceneHandler
const G4Transform3D * fpTransform

◆ ~G4VUserVisAction()

virtual G4VUserVisAction::~G4VUserVisAction ( )
inlinevirtual

Definition at line 59 of file G4VUserVisAction.hh.

59{}

Member Function Documentation

◆ Draw()

virtual void G4VUserVisAction::Draw ( )
pure virtual

Referenced by operator()().

◆ operator()()

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

Definition at line 61 of file G4VUserVisAction.hh.

61 {
62 fpSceneHandler = &scene;
63 fpTransform = &trans;
64 fpMP = pMP;
65 Draw();
66 }
virtual void Draw()=0

Member Data Documentation

◆ fpMP

const G4ModelingParameters* G4VUserVisAction::fpMP
protected

Definition at line 70 of file G4VUserVisAction.hh.

Referenced by operator()().

◆ fpSceneHandler

G4VGraphicsScene* G4VUserVisAction::fpSceneHandler
protected

Definition at line 68 of file G4VUserVisAction.hh.

Referenced by operator()().

◆ fpTransform

const G4Transform3D* G4VUserVisAction::fpTransform
protected

Definition at line 69 of file G4VUserVisAction.hh.

Referenced by operator()().


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