Geant4  10.00.p01
G4HepRepFileViewer Class Reference

#include <G4HepRepFileViewer.hh>

+ Inheritance diagram for G4HepRepFileViewer:
+ Collaboration diagram for G4HepRepFileViewer:

Public Member Functions

 G4HepRepFileViewer (G4VSceneHandler &, const G4String &name)
 
virtual ~G4HepRepFileViewer ()
 
void SetView ()
 
void ClearView ()
 
void DrawView ()
 
void ShowView ()
 
- 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 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 ()
 

Private Attributes

G4HepRepFileXMLWriterhepRepXMLWriter
 

Additional Inherited Members

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

Detailed Description

Definition at line 43 of file G4HepRepFileViewer.hh.

Constructor & Destructor Documentation

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

Definition at line 38 of file G4HepRepFileViewer.cc.

References hepRepXMLWriter.

G4HepRepFileViewer::~G4HepRepFileViewer ( )
virtual

Definition at line 46 of file G4HepRepFileViewer.cc.

References ShowView().

+ Here is the call graph for this function:

Member Function Documentation

void G4HepRepFileViewer::ClearView ( void  )
virtual

Implements G4VViewer.

Definition at line 56 of file G4HepRepFileViewer.cc.

References G4cout, and G4endl.

void G4HepRepFileViewer::DrawView ( )
virtual

Implements G4VViewer.

Definition at line 62 of file G4HepRepFileViewer.cc.

References G4cout, G4endl, G4VViewer::NeedKernelVisit(), and G4VViewer::ProcessView().

+ Here is the call graph for this function:

void G4HepRepFileViewer::SetView ( )
virtual

Implements G4VViewer.

Definition at line 50 of file G4HepRepFileViewer.cc.

References G4cout, and G4endl.

void G4HepRepFileViewer::ShowView ( void  )
virtual

Reimplemented from G4VViewer.

Definition at line 70 of file G4HepRepFileViewer.cc.

References G4HepRepFileXMLWriter::close(), G4cout, G4endl, hepRepXMLWriter, G4HepRepFileXMLWriter::isOpen, and G4VViewer::ShowView().

Referenced by ~G4HepRepFileViewer().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4HepRepFileXMLWriter* G4HepRepFileViewer::hepRepXMLWriter
private

Definition at line 53 of file G4HepRepFileViewer.hh.

Referenced by ShowView().


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