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

#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/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 ()
 
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 ()
 

Private Attributes

bool geometryIncluded
 

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 G4VViewer
G4VSceneHandlerfSceneHandler
 
G4int fViewId
 
G4String fName
 
G4String fShortName
 
G4ViewParameters fVP
 
G4ViewParameters fDefaultVP
 
G4bool fNeedKernelVisit
 

Detailed Description

Author
Mark Donszelmann

Definition at line 41 of file G4HepRepViewer.hh.

View newest version in sPHENIX GitHub at line 41 of file G4HepRepViewer.hh

Constructor & Destructor Documentation

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

Definition at line 48 of file G4HepRepViewer.cc.

View newest version in sPHENIX GitHub at line 48 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 63 of file G4HepRepViewer.cc.

View newest version in sPHENIX GitHub at line 63 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 73 of file G4HepRepViewer.cc.

View newest version in sPHENIX GitHub at line 73 of file G4HepRepViewer.cc

void G4HepRepViewer::DrawView ( )
virtual

Implements G4VViewer.

Definition at line 92 of file G4HepRepViewer.cc.

View newest version in sPHENIX GitHub at line 92 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 121 of file G4HepRepViewer.cc.

View newest version in sPHENIX GitHub at line 121 of file G4HepRepViewer.cc

References G4VViewer::FinishView().

+ Here is the call graph for this function:

void G4HepRepViewer::reset ( )

Definition at line 128 of file G4HepRepViewer.cc.

View newest version in sPHENIX GitHub at line 128 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 79 of file G4HepRepViewer.cc.

View newest version in sPHENIX GitHub at line 79 of file G4HepRepViewer.cc

void G4HepRepViewer::ShowView ( void  )
virtual

Reimplemented from G4VViewer.

Definition at line 104 of file G4HepRepViewer.cc.

View newest version in sPHENIX GitHub at line 104 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 54 of file G4HepRepViewer.hh.

View newest version in sPHENIX GitHub at line 54 of file G4HepRepViewer.hh

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


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