46 using namespace HEPREP;
50 :
G4VViewer (sceneHandler, sceneHandler.IncrementViewCount(), name),
51 geometryIncluded(false) {
54 cout <<
"G4HepRepViewer::G4HepRepViewer " << name << endl;
66 cout <<
"G4HepRepViewer::~G4HepRepViewer" << endl;
76 cout <<
"G4HepRepViewer::ClearView" << endl;
82 cout <<
"G4HepRepViewer::SetView" << endl;
95 cout <<
"G4HepRepViewer::DrawView" << endl;
97 if (!geometryIncluded) {
101 geometryIncluded =
true;
107 cout <<
"G4HepRepViewer::ShowView" << endl;
124 cout <<
"G4HepRepViewer::FinishView" << endl;
130 geometryIncluded =
false;
bool closeHepRep(bool final=false)
G4ViewParameters fDefaultVP
static G4HepRepMessenger * GetInstance()
G4VGraphicsSystem * GetGraphicsSystem() const
virtual G4bool appendGeometry()
G4VSceneHandler * GetSceneHandler() const
virtual ~G4HepRepViewer()
G4HepRepViewer(G4VSceneHandler &scene, const G4String &name="")
virtual void FinishView()