Geant4  10.02
G4XXXSGViewer Class Reference

#include <G4XXXSGViewer.hh>

+ Inheritance diagram for G4XXXSGViewer:
+ Collaboration diagram for G4XXXSGViewer:

Public Member Functions

 G4XXXSGViewer (G4VSceneHandler &, const G4String &name)
 
virtual ~G4XXXSGViewer ()
 
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 ()
 

Protected Member Functions

void KernelVisitDecision ()
 
G4bool CompareForKernelVisit (G4ViewParameters &)
 
void DrawFromStore (const G4String &source)
 

Protected Attributes

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

Detailed Description

Definition at line 39 of file G4XXXSGViewer.hh.

Constructor & Destructor Documentation

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

Definition at line 42 of file G4XXXSGViewer.cc.

G4XXXSGViewer::~G4XXXSGViewer ( )
virtual

Definition at line 46 of file G4XXXSGViewer.cc.

Member Function Documentation

void G4XXXSGViewer::ClearView ( void  )
virtual

Implements G4VViewer.

Definition at line 54 of file G4XXXSGViewer.cc.

References G4cout, and G4endl.

G4bool G4XXXSGViewer::CompareForKernelVisit ( G4ViewParameters lastVP)
protected
void G4XXXSGViewer::DrawFromStore ( const G4String source)
protected

Definition at line 152 of file G4XXXSGViewer.cc.

References G4VViewer::fName, G4VViewer::fSceneHandler, G4cout, G4endl, and JA::PrintTree().

Referenced by DrawView(), and ShowView().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4XXXSGViewer::DrawView ( )
virtual

Implements G4VViewer.

Definition at line 60 of file G4XXXSGViewer.cc.

References DrawFromStore(), G4VViewer::FinishView(), G4VViewer::fNeedKernelVisit, G4cout, G4endl, KernelVisitDecision(), and G4VViewer::ProcessView().

+ Here is the call graph for this function:

void G4XXXSGViewer::KernelVisitDecision ( )
protected

Definition at line 100 of file G4XXXSGViewer.cc.

References CompareForKernelVisit(), JA::Node::fDaughters, fLastVP, G4VViewer::fSceneHandler, G4VViewer::fVP, and G4VViewer::NeedKernelVisit().

Referenced by DrawView().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4XXXSGViewer::SetView ( )
virtual

Implements G4VViewer.

Definition at line 48 of file G4XXXSGViewer.cc.

References G4cout, and G4endl.

void G4XXXSGViewer::ShowView ( void  )
virtual

Reimplemented from G4VViewer.

Definition at line 92 of file G4XXXSGViewer.cc.

References DrawFromStore(), G4cout, and G4endl.

+ Here is the call graph for this function:

Member Data Documentation

G4ViewParameters G4XXXSGViewer::fLastVP
protected

Definition at line 51 of file G4XXXSGViewer.hh.

Referenced by KernelVisitDecision().


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