Geant4  10.03
G4GMocrenFileViewer Class Reference

#include <G4GMocrenFileViewer.hh>

+ Inheritance diagram for G4GMocrenFileViewer:
+ Collaboration diagram for G4GMocrenFileViewer:

Public Member Functions

 G4GMocrenFileViewer (G4GMocrenFileSceneHandler &scene, G4GMocrenMessenger &messenger, const G4String &name="")
 
virtual ~G4GMocrenFileViewer ()
 
void SetView ()
 
void ClearView ()
 
void DrawView ()
 
void ShowView ()
 
const char * GetG4GddViewer ()
 
const char * GetG4GddViewerInvocation ()
 
- 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 ()
 
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

G4GMocrenFileSceneHandlerkSceneHandler
 
char kG4GddViewer [32]
 
char kG4GddViewerInvocation [64]
 

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

Definition at line 43 of file G4GMocrenFileViewer.hh.

Constructor & Destructor Documentation

G4GMocrenFileViewer::G4GMocrenFileViewer ( G4GMocrenFileSceneHandler scene,
G4GMocrenMessenger messenger,
const G4String name = "" 
)

Definition at line 61 of file G4GMocrenFileViewer.cc.

References FatalException, G4Exception(), G4GMocrenFileSceneHandler::GetGddFileName(), kG4GddViewer, kG4GddViewerInvocation, and kSceneHandler.

+ Here is the call graph for this function:

G4GMocrenFileViewer::~G4GMocrenFileViewer ( )
virtual

Definition at line 103 of file G4GMocrenFileViewer.cc.

Member Function Documentation

void G4GMocrenFileViewer::ClearView ( void  )
virtual

Implements G4VViewer.

Definition at line 120 of file G4GMocrenFileViewer.cc.

References G4VisManager::errors, G4cout, G4endl, G4VisManager::GetVerbosity(), G4GMocrenFileSceneHandler::GFBeginModeling(), GFDEBUG, G4GMocrenFileSceneHandler::kFlagInModeling, and kSceneHandler.

+ Here is the call graph for this function:

void G4GMocrenFileViewer::DrawView ( )
virtual

Implements G4VViewer.

Definition at line 137 of file G4GMocrenFileViewer.cc.

References G4VisManager::errors, G4cout, G4endl, G4VisManager::GetVerbosity(), G4GMocrenFileSceneHandler::GFBeginModeling(), GFDEBUG, kSceneHandler, G4VViewer::NeedKernelVisit(), and G4VViewer::ProcessView().

+ Here is the call graph for this function:

const char* G4GMocrenFileViewer::GetG4GddViewer ( )
inline

Definition at line 58 of file G4GMocrenFileViewer.hh.

References kG4GddViewer.

const char* G4GMocrenFileViewer::GetG4GddViewerInvocation ( )
inline

Definition at line 59 of file G4GMocrenFileViewer.hh.

References kG4GddViewerInvocation.

void G4GMocrenFileViewer::SetView ( )
virtual

Implements G4VViewer.

Definition at line 107 of file G4GMocrenFileViewer.cc.

References G4VisManager::errors, G4cout, G4endl, G4VisManager::GetVerbosity(), and GFDEBUG.

+ Here is the call graph for this function:

void G4GMocrenFileViewer::ShowView ( void  )
virtual

Reimplemented from G4VViewer.

Definition at line 157 of file G4GMocrenFileViewer.cc.

References G4VisManager::errors, FatalException, G4cout, G4endl, G4Exception(), G4GMocrenFileSceneHandler::GetGddFileName(), G4VisManager::GetVerbosity(), GFDEBUG, G4GMocrenFileSceneHandler::GFEndModeling(), G4GMocrenFileSceneHandler::GFIsInModeling(), kG4GddViewer, kG4GddViewerInvocation, and kSceneHandler.

+ Here is the call graph for this function:

Member Data Documentation

char G4GMocrenFileViewer::kG4GddViewer[32]
private

Definition at line 64 of file G4GMocrenFileViewer.hh.

Referenced by G4GMocrenFileViewer(), GetG4GddViewer(), and ShowView().

char G4GMocrenFileViewer::kG4GddViewerInvocation[64]
private

Definition at line 65 of file G4GMocrenFileViewer.hh.

Referenced by G4GMocrenFileViewer(), GetG4GddViewerInvocation(), and ShowView().

G4GMocrenFileSceneHandler& G4GMocrenFileViewer::kSceneHandler
private

Definition at line 62 of file G4GMocrenFileViewer.hh.

Referenced by ClearView(), DrawView(), G4GMocrenFileViewer(), and ShowView().


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