ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RayTracerViewer Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/RayTracer/include/G4RayTracerViewer.hh>

+ Inheritance diagram for G4RayTracerViewer:
+ Collaboration diagram for G4RayTracerViewer:

Public Member Functions

 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 ResetView ()
 
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
 
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 ()
 

Protected Attributes

G4int fFileCount
 
G4TheRayTracertheTracer
 
- Protected Attributes inherited from G4VViewer
G4VSceneHandlerfSceneHandler
 
G4int fViewId
 
G4String fName
 
G4String fShortName
 
G4ViewParameters fVP
 
G4ViewParameters fDefaultVP
 
G4bool fNeedKernelVisit
 

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 &)
 

Detailed Description

Definition at line 37 of file G4RayTracerViewer.hh.

View newest version in sPHENIX GitHub at line 37 of file G4RayTracerViewer.hh

Constructor & Destructor Documentation

G4RayTracerViewer::G4RayTracerViewer ( G4VSceneHandler sceneHandler,
const G4String name,
G4TheRayTracer aTracer = 0 
)

Definition at line 42 of file G4RayTracerViewer.cc.

View newest version in sPHENIX GitHub at line 42 of file G4RayTracerViewer.cc

References G4cerr, and G4endl.

G4RayTracerViewer::~G4RayTracerViewer ( )
virtual

Definition at line 56 of file G4RayTracerViewer.cc.

View newest version in sPHENIX GitHub at line 56 of file G4RayTracerViewer.cc

Member Function Documentation

void G4RayTracerViewer::ClearView ( void  )
virtual

Implements G4VViewer.

Definition at line 94 of file G4RayTracerViewer.cc.

View newest version in sPHENIX GitHub at line 94 of file G4RayTracerViewer.cc

void G4RayTracerViewer::DrawView ( )
virtual

Implements G4VViewer.

Definition at line 96 of file G4RayTracerViewer.cc.

View newest version in sPHENIX GitHub at line 96 of file G4RayTracerViewer.cc

References fFileCount, INPUTHEPMC::filename, G4VViewer::fShortName, G4VViewer::fVP, G4cout, G4endl, G4ViewParameters::GetFieldHalfAngle(), perMillion, G4VViewer::ProcessView(), G4ViewParameters::SetFieldHalfAngle(), SetView(), theTracer, and G4TheRayTracer::Trace().

+ Here is the call graph for this function:

G4TheRayTracer* G4RayTracerViewer::GetTracer ( )
inline

Definition at line 47 of file G4RayTracerViewer.hh.

View newest version in sPHENIX GitHub at line 47 of file G4RayTracerViewer.hh

References theTracer.

Referenced by G4RTMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4RayTracerViewer::Initialise ( )
virtual

Reimplemented from G4VViewer.

Definition at line 58 of file G4RayTracerViewer.cc.

View newest version in sPHENIX GitHub at line 58 of file G4RayTracerViewer.cc

References G4VViewer::fVP, G4ViewParameters::GetWindowSizeHintX(), G4ViewParameters::GetWindowSizeHintY(), G4TheRayTracer::SetNColumn(), G4TheRayTracer::SetNRow(), and theTracer.

+ Here is the call graph for this function:

Member Data Documentation

G4int G4RayTracerViewer::fFileCount
protected

Definition at line 49 of file G4RayTracerViewer.hh.

View newest version in sPHENIX GitHub at line 49 of file G4RayTracerViewer.hh

Referenced by DrawView().

G4TheRayTracer* G4RayTracerViewer::theTracer
protected

Definition at line 50 of file G4RayTracerViewer.hh.

View newest version in sPHENIX GitHub at line 50 of file G4RayTracerViewer.hh

Referenced by DrawView(), GetTracer(), Initialise(), and SetView().


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