Geant4 Cross Reference |
>> 1 // This code implementation is the intellectual property of >> 2 // the GEANT4 collaboration. 1 // 3 // 2 // ******************************************* << 4 // By copying, distributing or modifying the Program (or any work 3 // * License and Disclaimer << 5 // based on the Program) you indicate your acceptance of this statement, 4 // * << 6 // and all its terms. 5 // * The Geant4 software is copyright of th << 6 // * the Geant4 Collaboration. It is provided << 7 // * conditions of the Geant4 Software License << 8 // * LICENSE and available at http://cern.ch/ << 9 // * include a list of copyright holders. << 10 // * << 11 // * Neither the authors of this software syst << 12 // * institutes,nor the agencies providing fin << 13 // * work make any representation or warran << 14 // * regarding this software system or assum << 15 // * use. Please see the license in the file << 16 // * for the full disclaimer and the limitatio << 17 // * << 18 // * This code implementation is the result << 19 // * technical work of the GEANT4 collaboratio << 20 // * By using, copying, modifying or distri << 21 // * any work based on the software) you ag << 22 // * use in resulting scientific publicati << 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* << 25 // << 26 // 7 // >> 8 // $Id: G4OpenInventor.hh,v 1.5 1999/12/15 14:54:11 gunter Exp $ >> 9 // GEANT4 tag $Name: geant4-01-01 $ 27 // 10 // 28 // Guy Barrand 26 Mar 1998. 11 // Guy Barrand 26 Mar 1998. 29 // OpenInventor graphics system factory. 12 // OpenInventor graphics system factory. 30 13 31 #ifndef G4OPENINVENTOR_HH 14 #ifndef G4OPENINVENTOR_HH 32 #define G4OPENINVENTOR_HH 15 #define G4OPENINVENTOR_HH 33 16 >> 17 #if defined(G4VIS_BUILD_OI_DRIVER) || defined(G4VIS_USE_OI) >> 18 34 #include "G4VGraphicsSystem.hh" 19 #include "G4VGraphicsSystem.hh" 35 20 36 class G4VInteractorManager; 21 class G4VInteractorManager; 37 22 38 class G4OpenInventor: public G4VGraphicsSystem 23 class G4OpenInventor: public G4VGraphicsSystem { 39 public: 24 public: 40 G4OpenInventor(const G4String,const G4String 25 G4OpenInventor(const G4String,const G4String,G4VGraphicsSystem::Functionality); 41 virtual ~G4OpenInventor(); 26 virtual ~G4OpenInventor(); >> 27 G4VViewer* CreateViewer(G4VSceneHandler&,const G4String& name = ""); 42 void SetInteractorManager(G4VInteractorManag 28 void SetInteractorManager(G4VInteractorManager*); 43 G4VInteractorManager* GetInteractorManager() 29 G4VInteractorManager* GetInteractorManager(); 44 G4VSceneHandler* CreateSceneHandler (const G 30 G4VSceneHandler* CreateSceneHandler (const G4String& name); 45 void InitNodes(); << 31 void InitHEPVis(); 46 G4bool IsUISessionCompatible () const; << 47 private: << 48 virtual void Initialize() = 0; << 49 private: 32 private: 50 G4VInteractorManager* interactorManager; 33 G4VInteractorManager* interactorManager; 51 }; 34 }; >> 35 >> 36 #endif 52 37 53 #endif 38 #endif 54 39