Geant4  10.00.p01
G4HepRepViewer Class Reference

#include <G4HepRepViewer.hh>

+ Inheritance diagram for G4HepRepViewer:
+ Collaboration diagram for G4HepRepViewer:

Public Member Functions

 G4HepRepViewer (G4VSceneHandler &scene, const G4String &name="")
 
virtual ~G4HepRepViewer ()
 
void SetView ()
 
void ClearView ()
 
void DrawView ()
 
void ShowView ()
 
void FinishView ()
 
void reset ()
 
- Public Member Functions inherited from G4VViewer
 G4VViewer (G4VSceneHandler &, G4int id, const G4String &name="")
 
virtual ~G4VViewer ()
 
virtual void Initialise ()
 
virtual void ResetView ()
 
void RefreshView ()
 
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 ()
 

Private Attributes

bool geometryIncluded
 

Additional Inherited Members

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

Detailed Description

Author
Mark Donszelmann

Definition at line 42 of file G4HepRepViewer.hh.

Constructor & Destructor Documentation

G4HepRepViewer::G4HepRepViewer ( G4VSceneHandler scene,
const G4String name = "" 
)

Definition at line 49 of file G4HepRepViewer.cc.

References G4VViewer::fDefaultVP, G4VViewer::fVP, and G4ViewParameters::SetCulling().

+ Here is the call graph for this function:

G4HepRepViewer::~G4HepRepViewer ( )
virtual

Definition at line 64 of file G4HepRepViewer.cc.

References G4VSceneHandler::GetGraphicsSystem(), G4VViewer::GetSceneHandler(), and G4HepRep::removeViewer().

+ Here is the call graph for this function:

Member Function Documentation

void G4HepRepViewer::ClearView ( void  )
virtual

Implements G4VViewer.

Definition at line 74 of file G4HepRepViewer.cc.

void G4HepRepViewer::DrawView ( )
virtual

Implements G4VViewer.

Definition at line 93 of file G4HepRepViewer.cc.

References geometryIncluded, G4VViewer::NeedKernelVisit(), and G4VViewer::ProcessView().

+ Here is the call graph for this function:

void G4HepRepViewer::FinishView ( void  )
virtual

Reimplemented from G4VViewer.

Definition at line 122 of file G4HepRepViewer.cc.

References G4VViewer::FinishView().

+ Here is the call graph for this function:

void G4HepRepViewer::reset ( )

Definition at line 129 of file G4HepRepViewer.cc.

References geometryIncluded.

Referenced by G4HepRepSceneHandler::close().

+ Here is the caller graph for this function:

void G4HepRepViewer::SetView ( )
virtual

Implements G4VViewer.

Definition at line 80 of file G4HepRepViewer.cc.

void G4HepRepViewer::ShowView ( void  )
virtual

Reimplemented from G4VViewer.

Definition at line 105 of file G4HepRepViewer.cc.

References G4HepRepMessenger::appendGeometry(), G4HepRepSceneHandler::closeHepRep(), geometryIncluded, G4HepRepMessenger::GetInstance(), G4VViewer::GetSceneHandler(), G4HepRepSceneHandler::openHepRep(), and G4VViewer::ShowView().

+ Here is the call graph for this function:

Member Data Documentation

bool G4HepRepViewer::geometryIncluded
private

Definition at line 55 of file G4HepRepViewer.hh.

Referenced by DrawView(), reset(), and ShowView().


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