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

#include <G4RayTracerXViewer.hh>

+ Inheritance diagram for G4RayTracerXViewer:

Public Member Functions

 G4RayTracerXViewer (G4VSceneHandler &, const G4String &name)
 
virtual ~G4RayTracerXViewer ()
 
void Initialise ()
 
- Public Member Functions inherited from G4RayTracerViewer
 G4RayTracerViewer (G4VSceneHandler &, const G4String &name, G4TheRayTracer *=0)
 
virtual ~G4RayTracerViewer ()
 
void Initialise ()
 
void SetView ()
 
void ClearView ()
 
void DrawView ()
 
G4TheRayTracerGetTracer ()
 
- Public Member Functions inherited from G4VViewer
 G4VViewer (G4VSceneHandler &, G4int id, const G4String &name="")
 
virtual ~G4VViewer ()
 
virtual void Initialise ()
 
virtual void ResetView ()
 
virtual void SetView ()=0
 
virtual void ClearView ()=0
 
virtual void DrawView ()=0
 
void RefreshView ()
 
virtual void ShowView ()
 
virtual void FinishView ()
 
std::vector< G4ThreeVectorComputeFlyThrough (G4Vector3D *)
 
const G4StringGetName () const
 
const G4StringGetShortName () const
 
void SetName (const G4String &)
 
G4int GetViewId () const
 
G4VSceneHandlerGetSceneHandler () const
 
const G4ViewParametersGetViewParameters () const
 
const G4ViewParametersGetDefaultViewParameters () const
 
G4double GetKernelVisitElapsedTimeSeconds () const
 
virtual const std::vector< G4ModelingParameters::VisAttributesModifier > * GetPrivateVisAttributesModifiers () const
 
void SetViewParameters (const G4ViewParameters &vp)
 
void SetDefaultViewParameters (const G4ViewParameters &vp)
 
const G4VisAttributesGetApplicableVisAttributes (const G4VisAttributes *) const
 
void SetNeedKernelVisit (G4bool need)
 
void NeedKernelVisit ()
 
void ProcessView ()
 

Additional Inherited Members

- Protected Member Functions inherited from G4VViewer
void SetTouchable (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath)
 
void TouchableSetVisibility (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, G4bool visibility)
 
void TouchableSetColour (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, const G4Colour &)
 
- Protected Attributes inherited from G4RayTracerViewer
G4int fFileCount
 
G4TheRayTracertheTracer
 
- Protected Attributes inherited from G4VViewer
G4VSceneHandlerfSceneHandler
 
G4int fViewId
 
G4String fName
 
G4String fShortName
 
G4ViewParameters fVP
 
G4ViewParameters fDefaultVP
 
G4double fKernelVisitElapsedTimeSeconds = 999.
 
G4bool fNeedKernelVisit
 

Detailed Description

Definition at line 35 of file G4RayTracerXViewer.hh.

Constructor & Destructor Documentation

◆ G4RayTracerXViewer()

G4RayTracerXViewer::G4RayTracerXViewer ( G4VSceneHandler sceneHandler,
const G4String name 
)

◆ ~G4RayTracerXViewer()

G4RayTracerXViewer::~G4RayTracerXViewer ( )
virtual

Definition at line 46 of file G4RayTracerXViewer.cc.

46{}

Member Function Documentation

◆ Initialise()

void G4RayTracerXViewer::Initialise ( )
virtual

Reimplemented from G4RayTracerViewer.

Definition at line 48 of file G4RayTracerXViewer.cc.

48 {
49
51
52 fVP.SetAutoRefresh(true);
54
55 // Set up X Window...
57 if (!theXScanner->GetXWindow(fName,fVP)) {
58 G4cerr << "G4RayTracerXViewer::Initialise: No scanner" << G4endl;
59 fViewId = -1; // This flags an error.
60 return;
61 }
62}
G4GLOB_DLL std::ostream G4cerr
#define G4endl
Definition: G4ios.hh:57
G4bool GetXWindow(const G4String &name, G4ViewParameters &)
G4TheRayTracer * theTracer
G4VRTScanner * GetScanner()
G4String fName
Definition: G4VViewer.hh:218
G4ViewParameters fDefaultVP
Definition: G4VViewer.hh:221
G4int fViewId
Definition: G4VViewer.hh:217
G4ViewParameters fVP
Definition: G4VViewer.hh:220
void SetAutoRefresh(G4bool)

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