Import Geant4 1.0.0 source tree
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: FRClient.cc,v 1.2 1999/01/09 16:27:41 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: FRClient.cc,v 1.2.8.1 1999/12/07 20:53:44 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// FRClient.cc
|
||||
// FukuiRenderer Client
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4FRClient.cc,v 1.2 1999/01/09 16:27:42 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4FRClient.cc,v 1.2.8.1 1999/12/07 20:53:44 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4FRClient.cc
|
||||
// Yasuhide Sawada & Satoshi Tanaka
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML1.cc,v 1.3 1999/01/11 00:48:04 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML1.cc,v 1.3.8.1 1999/12/07 20:53:44 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML1.cc
|
||||
// Yasuhide Sawada & Satoshi Tanaka
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML1File.cc,v 1.3 1999/01/11 00:48:05 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML1File.cc,v 1.3.8.1 1999/12/07 20:53:45 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML1File.cc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML1FileSceneHandler.cc,v 1.1 1999/01/09 16:27:44 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML1FileSceneHandler.cc,v 1.1.8.1 1999/12/07 20:53:45 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML1FileSceneHandler.cc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML1FileViewer.cc,v 1.2 1999/01/11 00:48:07 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML1FileViewer.cc,v 1.3.4.1 1999/12/07 20:53:45 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRMLView.cc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
@@ -35,8 +35,7 @@ G4VRML1FileViewer::~G4VRML1FileViewer()
|
||||
void G4VRML1FileViewer::SetView()
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML1FileViewer::SetView()" << endl;
|
||||
G4cerr << "G4VRML1FileViewer::SetView(); not imlemented. " << endl;
|
||||
G4cerr << "***** G4VRML1FileViewer::SetView(): No effects" << endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -45,6 +44,9 @@ void G4VRML1FileViewer::DrawView()
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML1FileViewer::DrawView()" << endl;
|
||||
#endif
|
||||
|
||||
fSceneHandler.VRMLBeginModeling();
|
||||
|
||||
// Here is a minimal DrawView() function.
|
||||
NeedKernelVisit();
|
||||
ProcessView();
|
||||
@@ -54,23 +56,22 @@ void G4VRML1FileViewer::DrawView()
|
||||
void G4VRML1FileViewer::ClearView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML1File1View::ClearView()" << endl;
|
||||
G4cerr << "G4VRML1FileViewer::ClearView(); not implemented. " << endl;
|
||||
G4cerr << "***** G4VRML1File1View::ClearView(): No effects" << endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
void G4VRML1FileViewer::ShowView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML1FileViewer::ShowView()" << endl;
|
||||
G4cerr << "***** G4VRML1FileViewer::ShowView()" << endl;
|
||||
#endif
|
||||
fSceneHandler.endSending();
|
||||
fSceneHandler.VRMLEndModeling();
|
||||
}
|
||||
|
||||
void G4VRML1FileViewer::FinishView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML1FileViewer::FinishView()" << endl;
|
||||
G4cerr << "***** G4VRML1FileViewer::FinishView(): No effects" << endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML1SceneHandler.cc,v 1.1 1999/01/09 16:27:46 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML1SceneHandler.cc,v 1.1.8.1 1999/12/07 20:53:46 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML1SceneHandler.cc
|
||||
// Yasuhide Sawada and Satoshi Tanaka
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML1SceneHandlerFunc.icc,v 1.2 1999/01/11 00:48:08 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML1SceneHandlerFunc.icc,v 1.3.4.1 1999/12/07 20:53:46 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML1SceneHandlerFunc.icc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
@@ -24,32 +24,36 @@
|
||||
void G4VRML1SCENE::AddThis(const G4Trd& trd)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis trd\n";
|
||||
G4cerr << "***** AddThis trd" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
ADDTHIS_WITH_NAME(trd)
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::AddThis(const G4Trap& trap)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis trap\n";
|
||||
G4cerr << "***** AddThis trap" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
ADDTHIS_WITH_NAME(trap)
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::AddThis(const G4Para& para)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis para\n";
|
||||
G4cerr << "***** AddThis para" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
ADDTHIS_WITH_NAME(para)
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::AddThis(const G4Torus& torus )
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis torus\n";
|
||||
G4cerr << "***** AddThis torus" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
ADDTHIS_WITH_NAME(torus)
|
||||
}
|
||||
|
||||
@@ -57,16 +61,19 @@ void G4VRML1SCENE::AddThis(const G4Torus& torus )
|
||||
void G4VRML1SCENE::AddThis(const G4VSolid& vsolid)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis vsolid\n";
|
||||
G4cerr << "***** AddThis vsolid" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
ADDTHIS_WITH_NAME(vsolid)
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::AddThis(const G4Tubs& tubs)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis tubs\n";
|
||||
G4cerr << "***** AddThis tubs" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
// set current name
|
||||
fCurrentDEF = "tubs_" + tubs.GetName();
|
||||
|
||||
@@ -88,7 +95,7 @@ void G4VRML1SCENE::AddThis(const G4Tubs& tubs)
|
||||
fDest << "\t" << "}" << endl; // DEF Separator
|
||||
fDest << "}" << endl; // Separator
|
||||
} else {
|
||||
// call AddPrimitives(Polyhedron)
|
||||
// call AddPrimitive(Polyhedron)
|
||||
RequestPrimitives(tubs);
|
||||
}
|
||||
|
||||
@@ -100,8 +107,10 @@ void G4VRML1SCENE::AddThis(const G4Tubs& tubs)
|
||||
void G4VRML1SCENE::AddThis(const G4Cons& cons)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis cons\n";
|
||||
G4cerr << "***** AddThis cons" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
// set current name
|
||||
fCurrentDEF = "cons_" + cons.GetName();
|
||||
|
||||
@@ -126,7 +135,7 @@ void G4VRML1SCENE::AddThis(const G4Cons& cons)
|
||||
fDest << "\t" << "}" << endl; // DEF Separator
|
||||
fDest << "}" << endl; // Separator
|
||||
} else {
|
||||
// call AddPrimitives(Polyhedron)
|
||||
// call AddPrimitive(Polyhedron)
|
||||
RequestPrimitives(cons);
|
||||
}
|
||||
|
||||
@@ -137,8 +146,10 @@ void G4VRML1SCENE::AddThis(const G4Cons& cons)
|
||||
void G4VRML1SCENE::AddThis(const G4Box& box)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis box\n";
|
||||
G4cerr << "***** AddThis box" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
// set current name
|
||||
fCurrentDEF = "box_" + box.GetName();
|
||||
|
||||
@@ -163,8 +174,10 @@ void G4VRML1SCENE::AddThis(const G4Box& box)
|
||||
void G4VRML1SCENE::AddThis(const G4Sphere& sphere)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis sphere\n";
|
||||
G4cerr << "***** AddThis sphere" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
// set current name
|
||||
fCurrentDEF = "sphere_" + sphere.GetName();
|
||||
|
||||
@@ -186,7 +199,7 @@ void G4VRML1SCENE::AddThis(const G4Sphere& sphere)
|
||||
fDest << "\t" << "}" << endl; // DEF Separator
|
||||
fDest << "}" << endl; // Separator
|
||||
} else {
|
||||
// call AddPrimitives(Polyhedron)
|
||||
// call AddPrimitive(Polyhedron)
|
||||
RequestPrimitives( sphere );
|
||||
}
|
||||
|
||||
@@ -197,8 +210,9 @@ void G4VRML1SCENE::AddThis(const G4Sphere& sphere)
|
||||
void G4VRML1SCENE::AddPrimitive(const G4Polyline& polyline)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddPrimitive polyline\n";
|
||||
G4cerr << "***** AddPrimitive polyline" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
fDest << "Separator {" << endl;
|
||||
|
||||
@@ -237,6 +251,7 @@ void G4VRML1SCENE::AddPrimitive(const G4Polyhedron& polyhedron)
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddPrimitive(G4Polyhedron)" << endl;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
fDest << "Separator {" << endl;
|
||||
|
||||
@@ -294,36 +309,40 @@ void G4VRML1SCENE::AddPrimitive(const G4Polyhedron& polyhedron)
|
||||
fDest << "\t" << "}" << endl; // (DEF) Separator
|
||||
fDest << "}" << endl; // Separator
|
||||
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** end of AddPrimitive(G4Polyhedron)\n";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void G4VRML1SCENE::AddPrimitive(const G4NURBS& nurb)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddPrimitive nurbs\n";
|
||||
G4cerr << "***** AddPrimitive nurbs" << endl ;
|
||||
#endif
|
||||
G4cerr << "G4VRML1File::AddPrimitive(G4NURBS&): not implemented. \n";
|
||||
G4cerr << "G4VRML1File::AddPrimitive(G4NURBS&): not implemented. " << endl ;
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::AddPrimitive( const G4Text& text )
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddPrim mark text\n";
|
||||
G4cerr << "***** AddPrimitive text" << endl ;
|
||||
#endif
|
||||
G4cerr <<
|
||||
"***** void G4VRML1SCENE::AddPrimitive( const G4Text& text )"
|
||||
" not implemented yet."
|
||||
<< endl;
|
||||
|
||||
VRMLBeginModeling () ;
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::AddPrimitive( const G4Circle& circle )
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddPrim mark circle\n";
|
||||
G4cerr << "***** AddPrimitive circle" << endl ;
|
||||
#endif
|
||||
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
// begin sending a mark
|
||||
fDest << "Separator {" << endl;
|
||||
|
||||
@@ -345,23 +364,26 @@ void G4VRML1SCENE::AddPrimitive( const G4Circle& circle )
|
||||
fDest << "}" << endl; // Separator
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::AddPrimitive(const G4Square& Square) // mark Square
|
||||
|
||||
void G4VRML1SCENE::AddPrimitive(const G4Square& square)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddPrim mark Square\n";
|
||||
G4cerr << "***** AddPrimitive square" << endl ;
|
||||
#endif
|
||||
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
// begin sending a mark
|
||||
fDest << "Separator {" << endl;
|
||||
|
||||
// send color
|
||||
SendMarkerColor ( Square );
|
||||
SendMarkerColor ( square );
|
||||
|
||||
// position
|
||||
SendMarkerWorldPosition ( Square );
|
||||
SendMarkerWorldPosition ( square );
|
||||
|
||||
// Calc size
|
||||
G4double size = GetMarkerHalfSize ( Square );
|
||||
G4double size = GetMarkerHalfSize ( square );
|
||||
size *= 2.;
|
||||
|
||||
// send shape with size
|
||||
@@ -378,23 +400,22 @@ void G4VRML1SCENE::AddPrimitive(const G4Square& Square) // mark Square
|
||||
void G4VRML1SCENE::ClearStore()
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** ClearStore()\n";
|
||||
G4cerr << "***** ClearStore(): No effects" << endl ;
|
||||
#endif
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::BeginModeling()
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** BeginModeling\n";
|
||||
G4cerr << "***** BeginModeling " << endl ;
|
||||
#endif
|
||||
G4VSceneHandler::BeginModeling();
|
||||
beginSending();
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::EndModeling()
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** EndModeling \n";
|
||||
G4cerr << "***** EndModeling " << endl ;
|
||||
#endif
|
||||
G4VSceneHandler::EndModeling();
|
||||
}
|
||||
@@ -404,15 +425,15 @@ void G4VRML1SCENE::BeginPrimitives(const G4Transform3D& objectTransformation)
|
||||
G4VSceneHandler::BeginPrimitives (objectTransformation);
|
||||
fpObjectTransformation = &objectTransformation;
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** BeginPrimitives \n";
|
||||
G4cerr << "***** BeginPrimitives " << endl ;
|
||||
#endif
|
||||
beginSending();
|
||||
VRMLBeginModeling();
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::EndPrimitives()
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** EndPrimitives \n";
|
||||
G4cerr << "***** EndPrimitives " << endl ;
|
||||
#endif
|
||||
G4VSceneHandler::EndPrimitives();
|
||||
}
|
||||
@@ -514,18 +535,25 @@ void G4VRML1SCENE::SendSphereNode(G4double R)
|
||||
fDest << "\t\t" << "}" << endl;
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::beginSending()
|
||||
void G4VRML1SCENE::VRMLBeginModeling()
|
||||
{
|
||||
if (!IS_CONNECTED ) {
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** VRMLBeginModeling() (started)" << endl ;
|
||||
#endif
|
||||
this->connectPort();
|
||||
fDest << "#VRML V1.0 ascii" << endl;
|
||||
fDest << "# Generated by VRML driver of GEANT4\n" << endl;
|
||||
fDest << "# Generated by VRML 1.0 driver of GEANT4\n" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
void G4VRML1SCENE::endSending()
|
||||
void G4VRML1SCENE::VRMLEndModeling()
|
||||
{
|
||||
if ( IS_CONNECTED ) {
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** VRMLEndModeling() (started)" << endl ;
|
||||
#endif
|
||||
|
||||
fDest << "#End of file." << endl;
|
||||
this->closePort();
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML1Viewer.cc,v 1.2 1999/01/11 00:48:09 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML1Viewer.cc,v 1.3.4.1 1999/12/07 20:53:46 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRMLView.cc
|
||||
// Yasuhide Sawada & Satoshi Tanaka
|
||||
@@ -34,8 +34,7 @@ G4VRML1Viewer::~G4VRML1Viewer()
|
||||
void G4VRML1Viewer::SetView()
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML1Viewer::SetView()" << endl;
|
||||
G4cerr << "G4VRML1Viewer::SetView(); not imlemented. " << endl;
|
||||
G4cerr << "***** G4VRML1Viewer::SetView(): No effects" << endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -44,6 +43,9 @@ void G4VRML1Viewer::DrawView()
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML1Viewer::DrawView()" << endl;
|
||||
#endif
|
||||
|
||||
fSceneHandler.VRMLBeginModeling();
|
||||
|
||||
// Here is a minimal DrawView() function.
|
||||
NeedKernelVisit();
|
||||
ProcessView();
|
||||
@@ -53,26 +55,23 @@ void G4VRML1Viewer::DrawView()
|
||||
void G4VRML1Viewer::ClearView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML1Viewer::ClearView()" << endl;
|
||||
G4cerr << "G4VRML1Viewer::ClearView(); not implemented. " << endl;
|
||||
G4cerr << "***** G4VRML1Viewer::ClearView(): No effects" << endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
void G4VRML1Viewer::ShowView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML1Viewer::ShowView()" << endl;
|
||||
G4cerr << "***** G4VRML1Viewer::ShowView()" << endl;
|
||||
#endif
|
||||
fSceneHandler.endSending();
|
||||
fSceneHandler.VRMLEndModeling();
|
||||
}
|
||||
|
||||
void G4VRML1Viewer::FinishView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML1Viewer::FinishView()" << endl;
|
||||
//G4cerr << "G4VRML1Viewer::FinishView(); not implemented. " << endl;
|
||||
G4cerr << "***** G4VRML1Viewer::FinishView(): No effects" << endl;
|
||||
#endif
|
||||
//fSceneHandler.endSending();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML2.cc,v 1.3 1999/01/11 00:48:09 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML2.cc,v 1.3.8.1 1999/12/07 20:53:46 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML2.cc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML2File.cc,v 1.3 1999/01/11 00:48:10 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML2File.cc,v 1.3.8.1 1999/12/07 20:53:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML2File.cc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML2FileSceneHandler.cc,v 1.1 1999/01/09 16:27:50 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML2FileSceneHandler.cc,v 1.1.8.1 1999/12/07 20:53:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML2FileSceneHandler.cc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML2FileViewer.cc,v 1.2 1999/01/11 00:48:11 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML2FileViewer.cc,v 1.3.4.1 1999/12/07 20:53:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML2FileViewer.cc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
@@ -42,8 +42,7 @@ G4VRML2FileViewer::~G4VRML2FileViewer()
|
||||
void G4VRML2FileViewer::SetView()
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML2FileViewer::SetView()" << endl;
|
||||
G4cerr << "G4VRML2FileViewer::SetView(); not imlemented. " << endl;
|
||||
G4cerr << "***** G4VRML2FileViewer::SetView(): No effects" << endl;
|
||||
#endif
|
||||
|
||||
// Do nothing, since VRML a browser is running as a different process.
|
||||
@@ -57,8 +56,7 @@ void G4VRML2FileViewer::DrawView()
|
||||
G4cerr << "***** G4VRML2FileViewer::DrawView()" << endl;
|
||||
#endif
|
||||
|
||||
// Open VRML2 file and output header comments
|
||||
fSceneHandler.beginSending() ;
|
||||
fSceneHandler.VRMLBeginModeling() ;
|
||||
|
||||
// Viewpoint node
|
||||
SendViewParameters();
|
||||
@@ -72,23 +70,22 @@ void G4VRML2FileViewer::DrawView()
|
||||
void G4VRML2FileViewer::ClearView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML2File1View::ClearView()" << endl;
|
||||
G4cerr << "G4VRML2FileViewer::ClearView(); not implemented. " << endl;
|
||||
G4cerr << "***** G4VRML2File1View::ClearView(): No effects" << endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
void G4VRML2FileViewer::ShowView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML2FileViewer::ShowView()" << endl;
|
||||
G4cerr << "***** G4VRML2FileViewer::ShowView()" << endl;
|
||||
#endif
|
||||
fSceneHandler.endSending();
|
||||
fSceneHandler.VRMLEndModeling();
|
||||
}
|
||||
|
||||
void G4VRML2FileViewer::FinishView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML2FileViewer::FinishView()" << endl;
|
||||
G4cerr << "***** G4VRML2FileViewer::FinishView(): No effects" << endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML2SceneHandler.cc,v 1.1 1999/01/09 16:27:53 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML2SceneHandler.cc,v 1.1.8.1 1999/12/07 20:53:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML2SceneHandler.cc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML2SceneHandlerFunc.icc,v 1.2 1999/01/11 00:48:11 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML2SceneHandlerFunc.icc,v 1.3.4.1 1999/12/07 20:53:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML2SceneHandlerFunc.icc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
@@ -16,32 +16,36 @@
|
||||
void G4VRML2SCENE::AddThis(const G4Trd& trd)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis trd\n";
|
||||
G4cerr << "***** AddThis trd" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
G4VSceneHandler::AddThis(trd);
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::AddThis(const G4Trap& trap)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis trap\n";
|
||||
G4cerr << "***** AddThis trap" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
G4VSceneHandler::AddThis(trap);
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::AddThis(const G4Para& para)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis para\n";
|
||||
G4cerr << "***** AddThis para" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
G4VSceneHandler::AddThis(para);
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::AddThis(const G4Torus& torus )
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis torus\n";
|
||||
G4cerr << "***** AddThis torus" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
G4VSceneHandler::AddThis(torus);
|
||||
}
|
||||
|
||||
@@ -49,16 +53,18 @@ void G4VRML2SCENE::AddThis(const G4Torus& torus )
|
||||
void G4VRML2SCENE::AddThis(const G4VSolid& vsolid)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis vsolid\n";
|
||||
G4cerr << "***** AddThis vsolid" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
G4VSceneHandler::AddThis(vsolid);
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::AddThis(const G4Tubs& tubs)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis tubs\n";
|
||||
G4cerr << "***** AddThis tubs" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
G4VSceneHandler::AddThis(tubs) ;
|
||||
|
||||
}
|
||||
@@ -67,16 +73,18 @@ void G4VRML2SCENE::AddThis(const G4Tubs& tubs)
|
||||
void G4VRML2SCENE::AddThis(const G4Cons& cons)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis cons\n";
|
||||
G4cerr << "***** AddThis cons" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
G4VSceneHandler::AddThis(cons) ;
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::AddThis(const G4Box& box)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis box\n";
|
||||
G4cerr << "***** AddThis box" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
G4VSceneHandler::AddThis(box) ;
|
||||
}
|
||||
|
||||
@@ -84,17 +92,20 @@ void G4VRML2SCENE::AddThis(const G4Box& box)
|
||||
void G4VRML2SCENE::AddThis(const G4Sphere& sphere)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddThis sphere\n";
|
||||
G4cerr << "***** AddThis sphere" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
G4VSceneHandler::AddThis(sphere) ;
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::AddPrimitive(const G4Polyline& polyline)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddPrimitive polyline\n";
|
||||
G4cerr << "***** AddPrimitive polyline" << endl ;
|
||||
#endif
|
||||
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
// VRML codes are generated below
|
||||
|
||||
fDest << "#---------- POLYLINE" << endl;
|
||||
@@ -142,6 +153,8 @@ void G4VRML2SCENE::AddPrimitive(const G4Polyhedron& polyhedron)
|
||||
cerr << "***** AddPrimitive(G4Polyhedron)" << endl;
|
||||
#endif
|
||||
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
// Transparency checking: If completely transparent, skip drawing
|
||||
if ( GetPVTransparency() > 0.99 ) { return ; }
|
||||
|
||||
@@ -211,36 +224,40 @@ void G4VRML2SCENE::AddPrimitive(const G4Polyhedron& polyhedron)
|
||||
fDest << "}" << endl; // Anchor
|
||||
}
|
||||
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
cerr << "***** end of AddPrimitive(G4Polyhedron)\n";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void G4VRML2SCENE::AddPrimitive(const G4NURBS& nurb)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddPrimitive nurbs\n";
|
||||
G4cerr << "***** AddPrimitive nurbs" << endl ;
|
||||
#endif
|
||||
G4cerr << "G4VRML2File::AddPrimitive(G4NURBS&): not implemented. \n";
|
||||
G4cerr << "G4VRML2File::AddPrimitive(G4NURBS&): not implemented. " << endl ;
|
||||
|
||||
VRMLBeginModeling () ;
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::AddPrimitive( const G4Text& text )
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddPrim mark text\n";
|
||||
G4cerr << "***** AddPrimitive text" << endl ;
|
||||
#endif
|
||||
G4cerr <<
|
||||
"***** void G4VRML2SCENE::AddPrimitive( const G4Text& text )"
|
||||
" not implemented yet."
|
||||
<< endl;
|
||||
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::AddPrimitive( const G4Circle& circle )
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddPrim mark circle\n";
|
||||
G4cerr << "***** AddPrimitive circle" << endl ;
|
||||
#endif
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
// Information
|
||||
// const char* info = NULL ;
|
||||
const char* info = circle.GetInfo() ;
|
||||
@@ -292,12 +309,14 @@ void G4VRML2SCENE::AddPrimitive( const G4Circle& circle )
|
||||
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::AddPrimitive(const G4Square& square) // mark Square
|
||||
void G4VRML2SCENE::AddPrimitive(const G4Square& square)
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** AddPrim mark Square\n";
|
||||
G4cerr << "***** AddPrimitive square" << endl ;
|
||||
#endif
|
||||
|
||||
VRMLBeginModeling () ;
|
||||
|
||||
// Information
|
||||
// const char* info = NULL ;
|
||||
const char* info = square.GetInfo() ;
|
||||
@@ -354,26 +373,23 @@ void G4VRML2SCENE::AddPrimitive(const G4Square& square) // mark Square
|
||||
void G4VRML2SCENE::ClearStore()
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** ClearStore()\n";
|
||||
G4cerr << "***** ClearStore(): No effetcs" << endl ;
|
||||
#endif
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::BeginModeling()
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** BeginModeling\n";
|
||||
G4cerr << "***** BeginModeling" << endl ;
|
||||
#endif
|
||||
G4VSceneHandler::BeginModeling();
|
||||
beginSending(); // error recovery:
|
||||
// This function should be already called in
|
||||
// DrawView() of the View class
|
||||
// before camera setting
|
||||
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::EndModeling()
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** EndModeling \n";
|
||||
G4cerr << "***** EndModeling " << endl ;
|
||||
#endif
|
||||
G4VSceneHandler::EndModeling();
|
||||
}
|
||||
@@ -383,18 +399,15 @@ void G4VRML2SCENE::BeginPrimitives(const G4Transform3D& objectTransformation)
|
||||
G4VSceneHandler::BeginPrimitives (objectTransformation);
|
||||
fpObjectTransformation = &objectTransformation;
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** BeginPrimitives \n";
|
||||
G4cerr << "***** BeginPrimitives " << endl ;
|
||||
#endif
|
||||
beginSending(); // error recovery:
|
||||
// This function should be already called in
|
||||
// DrawView() of the View class
|
||||
// before camera setting
|
||||
VRMLBeginModeling();
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::EndPrimitives()
|
||||
{
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** EndPrimitives \n";
|
||||
G4cerr << "***** EndPrimitives " << endl ;
|
||||
#endif
|
||||
G4VSceneHandler::EndPrimitives();
|
||||
}
|
||||
@@ -467,18 +480,24 @@ void G4VRML2SCENE::SendMaterialNode()
|
||||
}
|
||||
|
||||
|
||||
void G4VRML2SCENE::beginSending()
|
||||
void G4VRML2SCENE::VRMLBeginModeling()
|
||||
{
|
||||
if (!IS_CONNECTED ) {
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** VRMLBeginModeling (started)" << endl ;
|
||||
#endif
|
||||
this->connectPort();
|
||||
fDest << "#VRML V2.0 utf8" << endl;
|
||||
fDest << "# Generated by VRML 2.0 driver of GEANT4\n" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
void G4VRML2SCENE::endSending()
|
||||
void G4VRML2SCENE::VRMLEndModeling()
|
||||
{
|
||||
if ( IS_CONNECTED ) {
|
||||
#if defined DEBUG_SCENE_FUNC
|
||||
G4cerr << "***** VRMLEndModeling (started)" << endl ;
|
||||
#endif
|
||||
fDest << "#End of file." << endl;
|
||||
this->closePort();
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// 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: G4VRML2Viewer.cc,v 1.2 1999/01/11 00:48:12 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4VRML2Viewer.cc,v 1.3.4.1 1999/12/07 20:53:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// G4VRML2Viewer.cc
|
||||
// Satoshi Tanaka & Yasuhide Sawada
|
||||
@@ -41,8 +41,7 @@ G4VRML2Viewer::~G4VRML2Viewer()
|
||||
void G4VRML2Viewer::SetView()
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML2Viewer::SetView()" << endl;
|
||||
G4cerr << "G4VRML2Viewer::SetView(); not imlemented. " << endl;
|
||||
G4cerr << "***** G4VRML2Viewer::SetView(): No effects" << endl;
|
||||
#endif
|
||||
|
||||
// Do nothing, since VRML a browser is running as a different process.
|
||||
@@ -56,8 +55,7 @@ void G4VRML2Viewer::DrawView()
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML2Viewer::DrawView()" << endl;
|
||||
#endif
|
||||
// Open VRML2 file and output header comments
|
||||
fSceneHandler.beginSending() ;
|
||||
fSceneHandler.VRMLBeginModeling() ;
|
||||
|
||||
// Viewpoint node
|
||||
SendViewParameters();
|
||||
@@ -71,26 +69,23 @@ void G4VRML2Viewer::DrawView()
|
||||
void G4VRML2Viewer::ClearView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML2Viewer::ClearView()" << endl;
|
||||
G4cerr << "G4VRML2Viewer::ClearView(); not implemented. " << endl;
|
||||
G4cerr << "***** G4VRML2Viewer::ClearView(): No effects" << endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
void G4VRML2Viewer::ShowView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML2Viewer::ShowView()" << endl;
|
||||
G4cerr << "***** G4VRML2Viewer::ShowView()" << endl;
|
||||
#endif
|
||||
fSceneHandler.endSending();
|
||||
fSceneHandler.VRMLEndModeling();
|
||||
}
|
||||
|
||||
void G4VRML2Viewer::FinishView(void)
|
||||
{
|
||||
#if defined DEBUG_FR_VIEW
|
||||
G4cerr << "***** G4VRML2Viewer::FinishView()" << endl;
|
||||
//G4cerr << "G4VRML2Viewer::FinishView(); not implemented. " << endl;
|
||||
G4cerr << "***** G4VRML2Viewer::FinishView(): No effects" << endl;
|
||||
#endif
|
||||
//fSceneHandler.endSending();
|
||||
}
|
||||
|
||||
void G4VRML2Viewer::SendViewParameters ()
|
||||
|
||||
Reference in New Issue
Block a user