48 lines
2.0 KiB
C++
48 lines
2.0 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * This code implementation is the intellectual property of the *
|
|
// * GEANT4 collaboration. *
|
|
// * By copying, distributing or modifying the Program (or any work *
|
|
// * based on the Program) you indicate your acceptance of this *
|
|
// * statement, and all its terms. *
|
|
// ********************************************************************
|
|
//
|
|
// Satoshi Tanaka 31 May 2001
|
|
// A graphics system to dump geometry hierarchy to GAG.
|
|
//
|
|
|
|
#ifndef G4GAGTREE_HH
|
|
#define G4GAGTREE_HH
|
|
|
|
#include "G4VTree.hh"
|
|
|
|
class G4GAGTreeMessenger;
|
|
|
|
class G4GAGTree: public G4VTree {
|
|
public:
|
|
G4GAGTree ();
|
|
virtual ~G4GAGTree ();
|
|
G4VSceneHandler* CreateSceneHandler (const G4String& name = "");
|
|
G4VViewer* CreateViewer (G4VSceneHandler&, const G4String& name = "");
|
|
void SetVerbosity(G4int verbosity) {fVerbosity = verbosity;}
|
|
G4int GetVerbosity() const {return fVerbosity;}
|
|
protected:
|
|
G4int fVerbosity;
|
|
G4GAGTreeMessenger* fpMessenger;
|
|
};
|
|
|
|
#endif
|