Import Geant4 0.1.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: FRClient.h,v 2.0 1998/07/02 16:48:04 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: FRClient.h,v 1.1 1999/01/07 16:15:09 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// FRClient.h
|
||||
// FukuiRenderer Client
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4FRClient.hh,v 2.0 1998/07/02 16:47:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4FRClient.hh,v 1.2 1999/01/09 16:27:29 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4FRClient.hh
|
||||
// Yasuhide Sawada and Satoshi Tanaka
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML1.hh,v 2.3 1998/11/09 19:30:45 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML1.hh,v 1.5 1999/05/10 15:39:03 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML1.hh
|
||||
// Yasuhide Sawada and Satoshi Tanaka
|
||||
|
||||
#if defined (G4VIS_BUILD_VRML_DRIVER) || (G4VIS_USE_VRML)
|
||||
#if defined (G4VIS_BUILD_VRML_DRIVER) || defined (G4VIS_USE_VRML)
|
||||
|
||||
#ifndef G4VRML1_HH
|
||||
#define G4VRML1_HH
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "G4VGraphicsSystem.hh"
|
||||
#include "FRClient.h"
|
||||
|
||||
class G4VScene;
|
||||
class G4VSceneHandler;
|
||||
|
||||
//#define FR_VRML_DEFAULT_PORT 40801
|
||||
//#define FR_VRML_PORT_ENV "FR_VRML_PORT"
|
||||
@@ -30,9 +30,9 @@ class G4VScene;
|
||||
class G4VRML1: public G4VGraphicsSystem {
|
||||
public:
|
||||
G4VRML1();
|
||||
~G4VRML1();
|
||||
G4VScene* CreateScene(const G4String& name = "");
|
||||
G4VView* CreateView(G4VScene&, const G4String& name = "");
|
||||
virtual ~G4VRML1();
|
||||
G4VSceneHandler* CreateSceneHandler(const G4String& name = "");
|
||||
G4VViewer* CreateViewer(G4VSceneHandler&, const G4String& name = "");
|
||||
|
||||
public:
|
||||
const G4String& getHostName() { return fHostName; }
|
||||
|
||||
@@ -5,27 +5,27 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML1File.hh,v 2.3 1998/11/09 19:32:48 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML1File.hh,v 1.5 1999/05/10 15:39:05 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML1File.hh
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
#if defined (G4VIS_BUILD_VRMLFILE_DRIVER) || (G4VIS_USE_VRMLFILE)
|
||||
#if defined (G4VIS_BUILD_VRMLFILE_DRIVER) || defined (G4VIS_USE_VRMLFILE)
|
||||
|
||||
#ifndef G4VRML1FILE_HH
|
||||
#define G4VRML1FILE_HH
|
||||
|
||||
#include "G4VGraphicsSystem.hh"
|
||||
|
||||
class G4VScene;
|
||||
class G4VSceneHandler;
|
||||
|
||||
class G4VRML1File: public G4VGraphicsSystem {
|
||||
public:
|
||||
G4VRML1File();
|
||||
~G4VRML1File();
|
||||
G4VScene* CreateScene(const G4String& name = "");
|
||||
G4VView* CreateView(G4VScene&, const G4String& name = "");
|
||||
virtual ~G4VRML1File();
|
||||
G4VSceneHandler* CreateSceneHandler(const G4String& name = "");
|
||||
G4VViewer* CreateViewer(G4VSceneHandler&, const G4String& name = "");
|
||||
|
||||
};
|
||||
|
||||
|
||||
+10
-10
@@ -5,35 +5,35 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML1FileScene.hh,v 2.6 1998/12/04 09:10:54 stanaka Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML1FileSceneHandler.hh,v 1.2 1999/05/10 15:39:06 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML1FileScene.hh
|
||||
// G4VRML1FileSceneHandler.hh
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
#ifdef G4VIS_BUILD_VRMLFILE_DRIVER
|
||||
|
||||
#ifndef G4VRML1FILE_SCENE_HH
|
||||
#define G4VRML1FILE_SCENE_HH
|
||||
#ifndef G4VRML1FILE_SCENE_HANDLER_HH
|
||||
#define G4VRML1FILE_SCENE_HANDLER_HH
|
||||
|
||||
#include <rw/tvhdict.h>
|
||||
#include <fstream.h>
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4LogicalVolume.hh"
|
||||
#include "G4VScene.hh"
|
||||
#include "G4VSceneHandler.hh"
|
||||
|
||||
|
||||
class G4VRML1File;
|
||||
class G4VisAttributes;
|
||||
|
||||
class G4VRML1FileScene: public G4VScene {
|
||||
class G4VRML1FileSceneHandler: public G4VSceneHandler {
|
||||
|
||||
|
||||
// methods (public)
|
||||
public:
|
||||
G4VRML1FileScene(G4VRML1File& system, const G4String& name = "");
|
||||
~G4VRML1FileScene();
|
||||
G4VRML1FileSceneHandler(G4VRML1File& system, const G4String& name = "");
|
||||
virtual ~G4VRML1FileSceneHandler();
|
||||
void AddThis(const G4Box&);
|
||||
void AddThis(const G4Cons&);
|
||||
void AddThis(const G4Tubs&);
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
void AddPrimitive(const G4Circle&);
|
||||
void AddPrimitive(const G4Square&);
|
||||
void AddPrimitive (const G4Polymarker& polymarker)
|
||||
{ G4VScene::AddPrimitive (polymarker); }
|
||||
{ G4VSceneHandler::AddPrimitive (polymarker); }
|
||||
|
||||
void ClearStore();
|
||||
|
||||
+11
-11
@@ -5,26 +5,26 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML1FileView.hh,v 2.3 1998/11/09 19:32:52 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML1FileViewer.hh,v 1.3 1999/05/10 15:39:07 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML1FileView.hh
|
||||
// G4VRML1FileViewer.hh
|
||||
// Satoshi Tanaka and Yasuhide Sawada
|
||||
|
||||
#ifdef G4VIS_BUILD_VRMLFILE_DRIVER
|
||||
|
||||
#ifndef G4VRML1FILE_VIEW_HH
|
||||
#define G4VRML1FILE_VIEW_HH
|
||||
#ifndef G4VRML1FILE_VIEWER_HH
|
||||
#define G4VRML1FILE_VIEWER_HH
|
||||
|
||||
#include "G4VView.hh"
|
||||
#include "G4VViewer.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
class G4VRML1FileScene;
|
||||
class G4VRML1FileSceneHandler;
|
||||
|
||||
class G4VRML1FileView: public G4VView {
|
||||
class G4VRML1FileViewer: public G4VViewer {
|
||||
public:
|
||||
G4VRML1FileView(G4VRML1FileScene& scene, const G4String& name = "");
|
||||
~G4VRML1FileView();
|
||||
G4VRML1FileViewer(G4VRML1FileSceneHandler& scene, const G4String& name = "");
|
||||
virtual ~G4VRML1FileViewer();
|
||||
void ClearView();
|
||||
void DrawView();
|
||||
void ShowView();
|
||||
@@ -33,7 +33,7 @@ private:
|
||||
void SetView();
|
||||
|
||||
private:
|
||||
G4VRML1FileScene& fScene; // Reference to Graphics Scene for this view.
|
||||
G4VRML1FileSceneHandler& fSceneHandler; // Reference to Graphics Scene for this view.
|
||||
};
|
||||
|
||||
#endif //G4VRML1File_VIEW_HH
|
||||
+10
-10
@@ -5,36 +5,36 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML1Scene.hh,v 2.4 1998/11/09 19:32:58 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML1SceneHandler.hh,v 1.2 1999/05/10 15:39:08 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML1Scene.hh
|
||||
// G4VRML1SceneHandler.hh
|
||||
// Yasuhide Sawada & Satoshi Tanaka
|
||||
|
||||
#ifdef G4VIS_BUILD_VRML_DRIVER
|
||||
|
||||
#ifndef G4VRML1_SCENE_HH
|
||||
#define G4VRML1_SCENE_HH
|
||||
#ifndef G4VRML1_SCENE_HANDLER_HH
|
||||
#define G4VRML1_SCENE_HANDLER_HH
|
||||
|
||||
#include <rw/tvhdict.h>
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4LogicalVolume.hh"
|
||||
#include "G4VScene.hh"
|
||||
#include "G4VSceneHandler.hh"
|
||||
|
||||
#include "G4FRClient.hh"
|
||||
|
||||
class G4VRML1;
|
||||
class G4VisAttributes;
|
||||
|
||||
class G4VRML1Scene: public G4VScene {
|
||||
class G4VRML1SceneHandler: public G4VSceneHandler {
|
||||
|
||||
enum { MAX_CONNECTION_TRIAL = 10 } ;
|
||||
|
||||
// methods (public)
|
||||
public:
|
||||
G4VRML1Scene(G4VRML1& system, const G4String& name = "");
|
||||
~G4VRML1Scene();
|
||||
G4VRML1SceneHandler(G4VRML1& system, const G4String& name = "");
|
||||
virtual ~G4VRML1SceneHandler();
|
||||
void AddThis(const G4Box&);
|
||||
void AddThis(const G4Cons&);
|
||||
void AddThis(const G4Tubs&);
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
void AddPrimitive(const G4Circle&);
|
||||
void AddPrimitive(const G4Square&);
|
||||
void AddPrimitive (const G4Polymarker& polymarker)
|
||||
{ G4VScene::AddPrimitive (polymarker); }
|
||||
{ G4VSceneHandler::AddPrimitive (polymarker); }
|
||||
|
||||
void ClearStore();
|
||||
|
||||
+11
-11
@@ -5,26 +5,26 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML1View.hh,v 2.3 1998/11/09 19:32:59 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML1Viewer.hh,v 1.3 1999/05/10 15:39:09 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML1View.hh
|
||||
// G4VRML1Viewer.hh
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
#ifdef G4VIS_BUILD_VRML_DRIVER
|
||||
|
||||
#ifndef G4VRML1_VIEW_HH
|
||||
#define G4VRML1_VIEW_HH
|
||||
#ifndef G4VRML1_VIEWER_HH
|
||||
#define G4VRML1_VIEWER_HH
|
||||
|
||||
#include "G4VView.hh"
|
||||
#include "G4VViewer.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
class G4VRML1Scene;
|
||||
class G4VRML1SceneHandler;
|
||||
|
||||
class G4VRML1View: public G4VView {
|
||||
class G4VRML1Viewer: public G4VViewer {
|
||||
public:
|
||||
G4VRML1View(G4VRML1Scene& scene, const G4String& name = "");
|
||||
~G4VRML1View();
|
||||
G4VRML1Viewer(G4VRML1SceneHandler& scene, const G4String& name = "");
|
||||
virtual ~G4VRML1Viewer();
|
||||
void ClearView();
|
||||
void DrawView();
|
||||
void ShowView();
|
||||
@@ -33,7 +33,7 @@ private:
|
||||
void SetView();
|
||||
|
||||
private:
|
||||
G4VRML1Scene& fScene; // Reference to Graphics Scene for this view.
|
||||
G4VRML1SceneHandler& fSceneHandler; // Reference to Graphics Scene for this view.
|
||||
};
|
||||
|
||||
#endif //G4VRML1_VIEW_HH
|
||||
@@ -5,13 +5,13 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML2.hh,v 2.2 1998/11/09 19:33:01 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML2.hh,v 1.5 1999/05/10 15:39:10 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML2.hh
|
||||
// Satoshi Tanaka and Yasuhide Sawada
|
||||
|
||||
#if defined (G4VIS_BUILD_VRML_DRIVER) || (G4VIS_USE_VRML)
|
||||
#if defined (G4VIS_BUILD_VRML_DRIVER) || defined (G4VIS_USE_VRML)
|
||||
|
||||
#ifndef G4VRML2_HH
|
||||
#define G4VRML2_HH
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "G4VGraphicsSystem.hh"
|
||||
#include "FRClient.h"
|
||||
|
||||
class G4VScene;
|
||||
class G4VSceneHandler;
|
||||
|
||||
#include "G4VRMLNetConfig.hh"
|
||||
//#define FR_VRML_DEFAULT_PORT 40801
|
||||
@@ -29,9 +29,9 @@ class G4VScene;
|
||||
class G4VRML2: public G4VGraphicsSystem {
|
||||
public:
|
||||
G4VRML2();
|
||||
~G4VRML2();
|
||||
G4VScene* CreateScene(const G4String& name = "");
|
||||
G4VView* CreateView(G4VScene&, const G4String& name = "");
|
||||
virtual ~G4VRML2();
|
||||
G4VSceneHandler* CreateSceneHandler(const G4String& name = "");
|
||||
G4VViewer* CreateViewer(G4VSceneHandler&, const G4String& name = "");
|
||||
|
||||
public:
|
||||
const G4String& getHostName() { return fHostName; }
|
||||
|
||||
@@ -5,27 +5,27 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML2File.hh,v 2.2 1998/11/09 19:33:02 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML2File.hh,v 1.5 1999/05/10 15:39:11 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML2File.hh
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
#if defined (G4VIS_BUILD_VRMLFILE_DRIVER) || (G4VIS_USE_VRMLFILE)
|
||||
#if defined (G4VIS_BUILD_VRMLFILE_DRIVER) || defined (G4VIS_USE_VRMLFILE)
|
||||
|
||||
#ifndef G4VRML2FILE_HH
|
||||
#define G4VRML2FILE_HH
|
||||
|
||||
#include "G4VGraphicsSystem.hh"
|
||||
|
||||
class G4VScene;
|
||||
class G4VSceneHandler;
|
||||
|
||||
class G4VRML2File: public G4VGraphicsSystem {
|
||||
public:
|
||||
G4VRML2File();
|
||||
~G4VRML2File();
|
||||
G4VScene* CreateScene(const G4String& name = "");
|
||||
G4VView* CreateView(G4VScene&, const G4String& name = "");
|
||||
virtual ~G4VRML2File();
|
||||
G4VSceneHandler* CreateSceneHandler(const G4String& name = "");
|
||||
G4VViewer* CreateViewer(G4VSceneHandler&, const G4String& name = "");
|
||||
|
||||
};
|
||||
|
||||
|
||||
+10
-10
@@ -5,34 +5,34 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML2FileScene.hh,v 2.6 1998/12/04 09:10:54 stanaka Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML2FileSceneHandler.hh,v 1.2 1999/05/10 15:39:13 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML2FileScene.hh
|
||||
// G4VRML2FileSceneHandler.hh
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
#ifdef G4VIS_BUILD_VRMLFILE_DRIVER
|
||||
|
||||
#ifndef G4VRML2FILE_SCENE_HH
|
||||
#define G4VRML2FILE_SCENE_HH
|
||||
#ifndef G4VRML2FILE_SCENE_HANDLER_HH
|
||||
#define G4VRML2FILE_SCENE_HANDLER_HH
|
||||
|
||||
#include <fstream.h>
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4LogicalVolume.hh"
|
||||
#include "G4VScene.hh"
|
||||
#include "G4VSceneHandler.hh"
|
||||
|
||||
|
||||
class G4VRML2File;
|
||||
class G4VisAttributes;
|
||||
|
||||
class G4VRML2FileScene: public G4VScene {
|
||||
class G4VRML2FileSceneHandler: public G4VSceneHandler {
|
||||
|
||||
|
||||
// methods (public)
|
||||
public:
|
||||
G4VRML2FileScene(G4VRML2File& system, const G4String& name = "");
|
||||
~G4VRML2FileScene();
|
||||
G4VRML2FileSceneHandler(G4VRML2File& system, const G4String& name = "");
|
||||
virtual ~G4VRML2FileSceneHandler();
|
||||
void AddThis(const G4Box&);
|
||||
void AddThis(const G4Cons&);
|
||||
void AddThis(const G4Tubs&);
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
void AddPrimitive(const G4Circle&);
|
||||
void AddPrimitive(const G4Square&);
|
||||
void AddPrimitive (const G4Polymarker& polymarker)
|
||||
{ G4VScene::AddPrimitive (polymarker); }
|
||||
{ G4VSceneHandler::AddPrimitive (polymarker); }
|
||||
|
||||
void ClearStore();
|
||||
|
||||
+11
-11
@@ -5,27 +5,27 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML2FileView.hh,v 2.2 1998/11/09 19:33:06 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML2FileViewer.hh,v 1.3 1999/05/10 15:39:14 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML2FileView.hh
|
||||
// G4VRML2FileViewer.hh
|
||||
// Satoshi Tanaka and Yasuhide Sawada
|
||||
|
||||
#ifdef G4VIS_BUILD_VRMLFILE_DRIVER
|
||||
|
||||
#ifndef G4VRML2FILE_VIEW_HH
|
||||
#define G4VRML2FILE_VIEW_HH
|
||||
#ifndef G4VRML2FILE_VIEWER_HH
|
||||
#define G4VRML2FILE_VIEWER_HH
|
||||
|
||||
#include <fstream.h>
|
||||
#include "G4VView.hh"
|
||||
#include "G4VViewer.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
class G4VRML2FileScene;
|
||||
class G4VRML2FileSceneHandler;
|
||||
|
||||
class G4VRML2FileView: public G4VView {
|
||||
class G4VRML2FileViewer: public G4VViewer {
|
||||
public:
|
||||
G4VRML2FileView(G4VRML2FileScene& scene, const G4String& name = "");
|
||||
~G4VRML2FileView();
|
||||
G4VRML2FileViewer(G4VRML2FileSceneHandler& scene, const G4String& name = "");
|
||||
virtual ~G4VRML2FileViewer();
|
||||
void ClearView();
|
||||
void DrawView();
|
||||
void ShowView();
|
||||
@@ -35,7 +35,7 @@ private:
|
||||
void SendViewParameters () ;
|
||||
|
||||
private:
|
||||
G4VRML2FileScene& fScene; // Reference to Graphics Scene for this view.
|
||||
G4VRML2FileSceneHandler& fSceneHandler; // Reference to Graphics Scene for this view.
|
||||
ofstream& fDest ;
|
||||
|
||||
G4double fViewHalfAngle ;
|
||||
+10
-10
@@ -5,34 +5,34 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML2Scene.hh,v 2.5 1998/12/03 09:28:24 stanaka Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML2SceneHandler.hh,v 1.2 1999/05/10 15:39:15 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML2Scene.hh
|
||||
// G4VRML2SceneHandler.hh
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
#ifdef G4VIS_BUILD_VRML_DRIVER
|
||||
|
||||
#ifndef G4VRML2_SCENE_HH
|
||||
#define G4VRML2_SCENE_HH
|
||||
#ifndef G4VRML2_SCENE_HANDLER_HH
|
||||
#define G4VRML2_SCENE_HANDLER_HH
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4LogicalVolume.hh"
|
||||
#include "G4VScene.hh"
|
||||
#include "G4VSceneHandler.hh"
|
||||
|
||||
#include "G4FRClient.hh"
|
||||
|
||||
class G4VRML2;
|
||||
class G4VisAttributes;
|
||||
|
||||
class G4VRML2Scene: public G4VScene {
|
||||
class G4VRML2SceneHandler: public G4VSceneHandler {
|
||||
|
||||
enum { MAX_CONNECTION_TRIAL = 10 } ;
|
||||
|
||||
// methods (public)
|
||||
public:
|
||||
G4VRML2Scene(G4VRML2& system, const G4String& name = "");
|
||||
~G4VRML2Scene();
|
||||
G4VRML2SceneHandler(G4VRML2& system, const G4String& name = "");
|
||||
virtual ~G4VRML2SceneHandler();
|
||||
void AddThis(const G4Box&);
|
||||
void AddThis(const G4Cons&);
|
||||
void AddThis(const G4Tubs&);
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
void AddPrimitive(const G4Circle&);
|
||||
void AddPrimitive(const G4Square&);
|
||||
void AddPrimitive (const G4Polymarker& polymarker)
|
||||
{ G4VScene::AddPrimitive (polymarker); }
|
||||
{ G4VSceneHandler::AddPrimitive (polymarker); }
|
||||
|
||||
void ClearStore();
|
||||
|
||||
+11
-11
@@ -5,28 +5,28 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRML2View.hh,v 2.2 1998/11/09 19:33:10 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRML2Viewer.hh,v 1.3 1999/05/10 15:39:16 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRML2View.hh
|
||||
// G4VRML2Viewer.hh
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
#ifdef G4VIS_BUILD_VRML_DRIVER
|
||||
|
||||
#ifndef G4VRML2_VIEW_HH
|
||||
#define G4VRML2_VIEW_HH
|
||||
#ifndef G4VRML2_VIEWER_HH
|
||||
#define G4VRML2_VIEWER_HH
|
||||
|
||||
#include "G4VView.hh"
|
||||
#include "G4VViewer.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
#include "G4FRClient.hh"
|
||||
|
||||
class G4VRML2Scene;
|
||||
class G4VRML2SceneHandler;
|
||||
|
||||
class G4VRML2View: public G4VView {
|
||||
class G4VRML2Viewer: public G4VViewer {
|
||||
public:
|
||||
G4VRML2View(G4VRML2Scene& scene, const G4String& name = "");
|
||||
~G4VRML2View();
|
||||
G4VRML2Viewer(G4VRML2SceneHandler& scene, const G4String& name = "");
|
||||
virtual ~G4VRML2Viewer();
|
||||
void ClearView();
|
||||
void DrawView();
|
||||
void ShowView();
|
||||
@@ -36,7 +36,7 @@ private:
|
||||
void SendViewParameters () ;
|
||||
|
||||
private:
|
||||
G4VRML2Scene& fScene; // Reference to Graphics Scene for this view.
|
||||
G4VRML2SceneHandler& fSceneHandler; // Reference to Graphics Scene for this view.
|
||||
G4FRClient& fDest ;
|
||||
|
||||
G4double fViewHalfAngle ;
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VRMLNetConfig.hh,v 2.0 1998/07/02 16:48:03 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4VRMLNetConfig.hh,v 1.2 1999/01/09 16:27:41 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// G4VRMLNetConfig.hh
|
||||
// Satoshi Tanaka
|
||||
|
||||
Reference in New Issue
Block a user