Files
geant4/source/visualization/OPACS/include/G4WoViewer.hh
T
2016-06-08 15:28:20 +02:00

50 lines
1.2 KiB
C++

// 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.
//
// $Id: G4WoViewer.hh,v 1.3.8.1 1999/12/07 20:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
// Guy Barrand 04 November 1996
// Wo viewer - opens window, hard copy, etc.
#ifndef G4WOVIEWER_HH
#define G4WOVIEWER_HH
#if defined(G4VIS_BUILD_OPACS_DRIVER) || defined(G4VIS_USE_OPACS)
#include <X11/Intrinsic.h>
#include <OCamera.h>
#include "G4VViewer.hh"
#include "globals.hh"
class G4GoSceneHandler;
// Base class for various WoView classes.
class G4WoViewer: public G4VViewer {
public:
G4WoViewer (G4GoSceneHandler& scene, const G4String& name = "");
virtual ~G4WoViewer ();
void DrawView ();
void ShowView ();
OCamera GetCamera ();
private:
void ClearView ();
void FinishView ();
void SetView ();
private:
G4GoSceneHandler& fSceneHandler; // Graphics Scene for this view.
OCamera fGoCamera;
Widget fXoCamera;
Widget fShell;
};
#endif
#endif