Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4GraphicsSystemList.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 2nd April 1996
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4Scene.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// Scene John Allison 19th July 1996.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4Scene.icc 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// Scene data John Allison 19th July 1996.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4SceneHandlerList.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison May 1996
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4SceneList.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 9th August 1998
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VGraphicsSystem.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 27th March 1996
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VGraphicsSystem.icc 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 27th March 1996
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VSceneHandler.hh 73126 2013-08-19 08:01:37Z gcosmo $
|
||||
//
|
||||
//
|
||||
//
|
||||
// John Allison 19th July 1996.
|
||||
//
|
||||
// Class description
|
||||
@@ -191,8 +191,9 @@ public: // With description
|
||||
virtual void AddPrimitive (const G4Square&) = 0;
|
||||
virtual void AddPrimitive (const G4Polymarker&);
|
||||
// Default implementation in this class but can be over-ridden.
|
||||
virtual void AddPrimitive (const G4Polyhedron&) = 0;
|
||||
virtual void AddPrimitive (const G4NURBS&) = 0;
|
||||
virtual void AddPrimitive (const G4Polyhedron&) = 0;
|
||||
|
||||
virtual const G4VisExtent& GetExtent() const;
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
// Access functions.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VSceneHandler.icc 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 19th July 1996.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VUserVisAction.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VViewer.hh 71534 2013-06-17 16:07:53Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 27th March 1996
|
||||
@@ -107,6 +107,13 @@ public: // With description
|
||||
G4VSceneHandler* GetSceneHandler () const;
|
||||
const G4ViewParameters& GetViewParameters () const;
|
||||
const G4ViewParameters& GetDefaultViewParameters () const;
|
||||
|
||||
virtual const std::vector<G4ModelingParameters::VisAttributesModifier>*
|
||||
GetPrivateVisAttributesModifiers() const;
|
||||
// So that privately accumulated vis attributes modifiers may be
|
||||
// concatenated with the standard vis attributes modifiers for commands
|
||||
// such as /vis/viewer/set/all and /vis/viewer/save.
|
||||
|
||||
void SetViewParameters (const G4ViewParameters& vp);
|
||||
void SetDefaultViewParameters (const G4ViewParameters& vp);
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VViewer.icc 71534 2013-06-17 16:07:53Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 30th December 1996
|
||||
@@ -63,6 +63,11 @@ inline const G4ViewParameters& G4VViewer::GetDefaultViewParameters () const {
|
||||
return fDefaultVP;
|
||||
}
|
||||
|
||||
inline const std::vector<G4ModelingParameters::VisAttributesModifier>*
|
||||
G4VViewer::GetPrivateVisAttributesModifiers() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline void G4VViewer::SetDefaultViewParameters (const G4ViewParameters& vp) {
|
||||
fDefaultVP = vp;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VVisCommand.hh 66870 2013-01-14 23:38:59Z adotti $
|
||||
|
||||
// Base class for visualization commands - John Allison 9th August 1998
|
||||
// It is really a messenger - we have one command per messenger.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VVisCommand.icc 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
|
||||
// Base class for visualization commands - John Allison 9th August 1998
|
||||
// It is really a messenger - we have one command per messenger.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4ViewParameters.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 19th July 1996
|
||||
@@ -98,11 +98,6 @@ public: // With description
|
||||
hlhsr // Draw surfaces and edges - hidden removed.
|
||||
};
|
||||
|
||||
enum RepStyle {
|
||||
polyhedron, // Use G4Polyhedron.
|
||||
nurbs // Use G4NURBS.
|
||||
};
|
||||
|
||||
enum CutawayMode {
|
||||
cutawayUnion, // Union (addition) of result of each cutaway plane.
|
||||
cutawayIntersection // Intersection (multiplication) " .
|
||||
@@ -129,7 +124,6 @@ public: // With description
|
||||
// Get and Is functions.
|
||||
DrawingStyle GetDrawingStyle () const;
|
||||
G4bool IsAuxEdgeVisible () const;
|
||||
RepStyle GetRepStyle () const;
|
||||
G4bool IsCulling () const;
|
||||
G4bool IsCullingInvisible () const;
|
||||
G4bool IsDensityCulling () const;
|
||||
@@ -201,7 +195,6 @@ public: // With description
|
||||
// Set, Add, Multiply, Increment, Unset and Clear functions.
|
||||
void SetDrawingStyle (G4ViewParameters::DrawingStyle style);
|
||||
void SetAuxEdgeVisible (G4bool);
|
||||
void SetRepStyle (G4ViewParameters::RepStyle style);
|
||||
void SetCulling (G4bool);
|
||||
void SetCullingInvisible (G4bool);
|
||||
void SetDensityCulling (G4bool);
|
||||
@@ -276,7 +269,6 @@ private:
|
||||
|
||||
DrawingStyle fDrawingStyle; // Drawing style.
|
||||
G4bool fAuxEdgeVisible; // Auxiliary edge visibility.
|
||||
RepStyle fRepStyle; // Representation style.
|
||||
G4bool fCulling; // Culling requested.
|
||||
G4bool fCullInvisible; // Cull (don't Draw) invisible objects.
|
||||
G4bool fDensityCulling; // Density culling requested. If so...
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4ViewParameters.icc 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 20th October 1996
|
||||
@@ -39,10 +39,6 @@ inline G4bool G4ViewParameters::IsAuxEdgeVisible () const {
|
||||
return fAuxEdgeVisible;
|
||||
}
|
||||
|
||||
inline G4ViewParameters::RepStyle G4ViewParameters::GetRepStyle () const {
|
||||
return fRepStyle;
|
||||
}
|
||||
|
||||
inline G4bool G4ViewParameters::IsCulling () const {
|
||||
return fCulling;
|
||||
}
|
||||
@@ -225,11 +221,6 @@ inline void G4ViewParameters::SetAuxEdgeVisible (G4bool vis) {
|
||||
fAuxEdgeVisible = vis;
|
||||
}
|
||||
|
||||
inline void
|
||||
G4ViewParameters::SetRepStyle (G4ViewParameters::RepStyle style) {
|
||||
fRepStyle = style;
|
||||
}
|
||||
|
||||
inline void G4ViewParameters::SetCulling (G4bool value) {
|
||||
fCulling = value;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4ViewerList.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison May 1996
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandModelCreate.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
// Jane Tinslay, John Allison, Joseph Perl October 2005
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommands.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
|
||||
// /vis/ top level commands - John Allison 5th February 2001
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandsCompound.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
|
||||
// Compound /vis/ commands - John Allison 15th May 2000
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandsGeometry.hh 66870 2013-01-14 23:38:59Z adotti $
|
||||
|
||||
// /vis/geometry commands - John Allison 31st January 2006
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandsGeometrySet.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
|
||||
// /vis/geometry commands - John Allison 31st January 2006
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandsListManager.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
// Jane Tinslay, John Allison, Joseph Perl October 2005
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandsScene.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
|
||||
// /vis/scene commands - John Allison 9th August 1998
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandsSceneAdd.hh 73609 2013-09-02 10:10:30Z gcosmo $
|
||||
|
||||
// /vis/scene commands - John Allison 9th August 1998
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
|
||||
class G4UIcmdWithoutParameter;
|
||||
class G4UIcmdWithAString;
|
||||
class G4UIcmdWithAnInteger;
|
||||
|
||||
#include "G4Transform3D.hh"
|
||||
#include "G4VisAttributes.hh"
|
||||
@@ -266,7 +267,6 @@ private:
|
||||
~G4Logo();
|
||||
void operator()(G4VGraphicsScene&, const G4Transform3D&);
|
||||
private:
|
||||
G4double fHeight;
|
||||
G4VisAttributes fVisAtts;
|
||||
G4Polyhedron *fpG, *fp4;
|
||||
};
|
||||
@@ -297,6 +297,18 @@ private:
|
||||
G4UIcommand* fpCommand;
|
||||
};
|
||||
|
||||
class G4VisCommandSceneAddMagneticField: public G4VVisCommandScene {
|
||||
public:
|
||||
G4VisCommandSceneAddMagneticField ();
|
||||
virtual ~G4VisCommandSceneAddMagneticField ();
|
||||
G4String GetCurrentValue (G4UIcommand* command);
|
||||
void SetNewValue (G4UIcommand* command, G4String newValue);
|
||||
private:
|
||||
G4VisCommandSceneAddMagneticField (const G4VisCommandSceneAddMagneticField&);
|
||||
G4VisCommandSceneAddMagneticField& operator = (const G4VisCommandSceneAddMagneticField&);
|
||||
G4UIcmdWithAnInteger* fpCommand;
|
||||
};
|
||||
|
||||
class G4VisCommandSceneAddPSHits: public G4VVisCommandScene {
|
||||
public:
|
||||
G4VisCommandSceneAddPSHits ();
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandsSceneHandler.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
|
||||
// /vis/sceneHandler commands - John Allison 10th October 1998
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VisCommands.hh,v 1.8 2009-03-09 12:42:00 allison Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
|
||||
// /vis/set - John Allison 21st March 2012
|
||||
// Set quantities for use in appropriate future commands.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandsTouchableSet.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
|
||||
// /vis/touchable/set commands - John Allison 8th October 2012
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandsViewer.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
|
||||
// /vis/viewer commands - John Allison 25th October 1998
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VisCommandsDefault.hh,v 1.3 2006-06-29 21:28:34 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
|
||||
// /vis/viewer/default commands - John Allison 30th October 2011
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisCommandsViewerSet.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
|
||||
// /vis/viewer/set commands - John Allison 16th May 2000
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisExecutive.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 2nd February 2005 (based on MyVisManager, 24th January 1998).
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisExecutive.icc 75567 2013-11-04 11:35:11Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 24th January 1998.
|
||||
@@ -48,6 +48,12 @@
|
||||
#include "G4VRML2File.hh"
|
||||
#include "G4GMocrenFile.hh"
|
||||
|
||||
// FIXME : avoid mix with QT/WT driver (should be done by cmake??)
|
||||
#if defined(G4VIS_USE_OPENGLWT)
|
||||
// do not want GL2P2 in WT case
|
||||
#undef G4VIS_BUILD_OPENGL_GL2PS
|
||||
#endif
|
||||
|
||||
// Needing external packages or libraries...
|
||||
|
||||
#ifdef G4VIS_USE_DAWN
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisFeaturesOfDAWNFILE.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
#ifndef G4VISFEATURESOFDAWNFILE_HH
|
||||
#define G4VISFEATURESOFDAWNFILE_HH
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisFeaturesOfFukuiRenderer.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisFeaturesOfOpenGL.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisFeaturesOfOpenInventor.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisFilterManager.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
// Filter manager. Manages filter models, factories, messengers,
|
||||
// command placement, filter mode etc
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisListManager.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
// Jane Tinslay, John Allison, Joseph Perl October 2005
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisManager.hh 77246 2013-11-22 10:01:21Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -96,6 +96,8 @@
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
#include "G4Threading.hh"
|
||||
|
||||
class G4Scene;
|
||||
class G4UIcommand;
|
||||
class G4UImessenger;
|
||||
@@ -239,9 +241,6 @@ public: // With description
|
||||
void Draw (const G4Circle&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D());
|
||||
|
||||
void Draw (const G4NURBS&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D());
|
||||
|
||||
void Draw (const G4Polyhedron&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D());
|
||||
|
||||
@@ -263,9 +262,6 @@ public: // With description
|
||||
void Draw2D (const G4Circle&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D());
|
||||
|
||||
void Draw2D (const G4NURBS&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D());
|
||||
|
||||
void Draw2D (const G4Polyhedron&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D());
|
||||
|
||||
@@ -289,15 +285,12 @@ public: // With description
|
||||
// itself - thus you can, for example, change the colour of a
|
||||
// physical volume.
|
||||
|
||||
void Draw (const G4VTrajectory&);
|
||||
|
||||
void Draw (const G4VHit&);
|
||||
|
||||
void Draw (const G4VDigi&);
|
||||
|
||||
void Draw (const G4VTrajectory&, G4int i_mode);
|
||||
// i_mode is a parameter that can be used to control the drawing of
|
||||
// the trajectory. See, e.g., G4VTrajectory::DrawTrajectory.
|
||||
// i_mode defaults to 0 by inheritance from G4VVisManager.
|
||||
|
||||
void Draw (const G4LogicalVolume&, const G4VisAttributes&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D());
|
||||
|
||||
@@ -336,7 +329,6 @@ public: // With description
|
||||
// any, and redraw all views.
|
||||
|
||||
void DispatchToModel(const G4VTrajectory&);
|
||||
void DispatchToModel(const G4VTrajectory&, G4int i_mode);
|
||||
// Draw the trajectory.
|
||||
|
||||
G4bool FilterTrajectory(const G4VTrajectory&);
|
||||
@@ -346,10 +338,10 @@ public: // With description
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Administration routines.
|
||||
|
||||
void CreateSceneHandler (G4String name = "");
|
||||
void CreateSceneHandler (const G4String& name = "");
|
||||
// Creates scene handler for the current system.
|
||||
|
||||
void CreateViewer (G4String name = "",G4String XGeometry = "");
|
||||
void CreateViewer (const G4String& name = "", const G4String& XGeometry = "");
|
||||
// Creates viewer for the current scene handler.
|
||||
|
||||
private:
|
||||
@@ -506,6 +498,7 @@ private:
|
||||
G4bool fEventRefreshing;
|
||||
G4bool fTransientsDrawnThisRun;
|
||||
G4bool fTransientsDrawnThisEvent;
|
||||
G4int fNKeepRequests;
|
||||
G4bool fEventKeepingSuspended;
|
||||
G4bool fKeptLastEvent;
|
||||
const G4Event* fpRequestedEvent; // If non-zero, scene handler uses.
|
||||
@@ -526,6 +519,15 @@ private:
|
||||
// Digi filter model manager
|
||||
G4VisFilterManager<G4VDigi>* fpDigiFilterMgr;
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
public:
|
||||
virtual void SetUpForAThread();
|
||||
#endif
|
||||
|
||||
virtual void IgnoreStateChanges(G4bool);
|
||||
|
||||
protected:
|
||||
G4bool fIgnoreStateChanges;
|
||||
};
|
||||
|
||||
#include "G4VisManager.icc"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisManager.icc 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
//
|
||||
// GEANT4 Visualization Manager - John Allison 02/Jan/1996.
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisModelManager.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
// Generic model manager. Manages models, associated
|
||||
// factories, messengers, command placement etc
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VisStateDependent.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
//
|
||||
// A "state dependent" service class for G4VisManager.
|
||||
// John Allison 29th November 1999
|
||||
|
||||
Reference in New Issue
Block a user