Geant4  10.02
G4RayTracerViewer Class Reference

#include <G4RayTracerViewer.hh>

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

Public Member Functions

 G4RayTracerViewer (G4VSceneHandler &, const G4String &name, G4TheRayTracer *=0)
 
virtual ~G4RayTracerViewer ()
 
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 ()
 
void RefreshView ()
 
virtual void ShowView ()
 
virtual void FinishView ()
 
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
 

Detailed Description

Definition at line 38 of file G4RayTracerViewer.hh.

Constructor & Destructor Documentation

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

Definition at line 45 of file G4RayTracerViewer.cc.

References G4TheRayTracer::SetNColumn(), and G4TheMTRayTracer::theInstance.

+ Here is the call graph for this function:

G4RayTracerViewer::~G4RayTracerViewer ( )
virtual

Definition at line 62 of file G4RayTracerViewer.cc.

Member Function Documentation

void G4RayTracerViewer::ClearView ( void  )
virtual

Implements G4VViewer.

Definition at line 94 of file G4RayTracerViewer.cc.

void G4RayTracerViewer::DrawView ( )
virtual

Implements G4VViewer.

Definition at line 96 of file G4RayTracerViewer.cc.

References fFileCount, G4VViewer::fShortName, G4VViewer::fVP, G4cout, G4endl, G4ViewParameters::GetFieldHalfAngle(), perMillion, 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.

References theTracer.

Referenced by G4RTMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4RayTracerViewer::fFileCount
protected

Definition at line 49 of file G4RayTracerViewer.hh.

Referenced by DrawView().

G4TheRayTracer* G4RayTracerViewer::theTracer
protected

Definition at line 50 of file G4RayTracerViewer.hh.

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


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