Import Geant4 2.0.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VisManager.hh,v 1.11 1999/12/15 18:27:14 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4VisManager.hh,v 1.13 2000/05/02 09:57:15 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -98,8 +98,12 @@ class G4VisManager: public G4VVisManager {
|
||||
// G4VVisManager::GetConcreteInstance (), always testing for
|
||||
// non-zero.
|
||||
|
||||
// Odd friends that need access to various methods of the G4VisManager...
|
||||
friend void G4OpenGLXmViewerSecondaryLoopPostAction (); // Mmmm!
|
||||
friend class G4RTSteppingAction;
|
||||
friend class G4RayTrajectory;
|
||||
|
||||
// Management friends...
|
||||
friend class G4VSceneHandler;
|
||||
friend class G4VViewer;
|
||||
|
||||
@@ -266,7 +270,6 @@ public: // With description
|
||||
const G4SceneHandlerList& GetAvailableSceneHandlers () const;
|
||||
const G4SceneList& GetSceneList () const;
|
||||
G4int GetVerboseLevel () const;
|
||||
G4bool IsValidView ();
|
||||
void SetCurrentGraphicsSystemAndCreateViewer
|
||||
(G4VGraphicsSystem* pSystem);
|
||||
void SetCurrentGraphicsSystem (G4VGraphicsSystem* pSystem);
|
||||
@@ -278,6 +281,21 @@ public: // With description
|
||||
G4SceneList& SetSceneList (); // Returns lvalue.
|
||||
void SetVerboseLevel (G4int vLevel);
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// Utility functions.
|
||||
|
||||
G4String ViewerShortName (const G4String& viewerName) const;
|
||||
// Returns shortened version of viewer name, i.e., up to first space,
|
||||
// if any.
|
||||
|
||||
G4VViewer* GetViewer (const G4String& viewerName) const;
|
||||
// Returns zero if not found. Can use long or short name, but find
|
||||
// is done on short name.
|
||||
|
||||
G4bool IsValidView ();
|
||||
// True if view is valid. Prints messages and sanitises varoius data.
|
||||
|
||||
protected:
|
||||
|
||||
virtual void RegisterGraphicsSystems () = 0;
|
||||
|
||||
Reference in New Issue
Block a user