Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VVisManager.hh 74051 2013-09-20 09:39:41Z gcosmo $
|
||||
// John Allison 19/Oct/1996.
|
||||
//
|
||||
// Class Description:
|
||||
@@ -82,7 +82,6 @@ class G4Scale;
|
||||
class G4Square;
|
||||
class G4Polymarker;
|
||||
class G4Polyhedron;
|
||||
class G4NURBS;
|
||||
class G4VSolid;
|
||||
class G4VHit;
|
||||
class G4VDigi;
|
||||
@@ -112,9 +111,6 @@ public: // With description
|
||||
virtual void Draw (const G4Circle&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D()) = 0;
|
||||
|
||||
virtual void Draw (const G4NURBS&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D()) = 0;
|
||||
|
||||
virtual void Draw (const G4Polyhedron&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D()) = 0;
|
||||
|
||||
@@ -140,9 +136,6 @@ public: // With description
|
||||
virtual void Draw2D (const G4Circle&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D()) = 0;
|
||||
|
||||
virtual void Draw2D (const G4NURBS&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D()) = 0;
|
||||
|
||||
virtual void Draw2D (const G4Polyhedron&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D()) = 0;
|
||||
|
||||
@@ -165,16 +158,12 @@ public: // With description
|
||||
// associated with the object itself - thus you can, for example,
|
||||
// change the colour of a physical volume.
|
||||
|
||||
virtual void Draw (const G4VTrajectory&) = 0;
|
||||
|
||||
virtual void Draw (const G4VHit&) = 0;
|
||||
|
||||
virtual void Draw (const G4VDigi&) = 0;
|
||||
|
||||
virtual void Draw (const G4VTrajectory&, G4int i_mode = 0) = 0;
|
||||
// i_mode is a parameter that can be used to control the drawing of
|
||||
// the trajectory. See, e.g., G4TrajectoryDrawByCharge::Draw in the
|
||||
// modeling sub-category. Its use is deprecated; use trajectory
|
||||
// model commands instead.
|
||||
|
||||
virtual void Draw (const G4LogicalVolume&, const G4VisAttributes&,
|
||||
const G4Transform3D& objectTransformation = G4Transform3D()) = 0;
|
||||
|
||||
@@ -213,7 +202,6 @@ public: // With description
|
||||
// any, and redraw all views.
|
||||
|
||||
virtual void DispatchToModel(const G4VTrajectory&) = 0;
|
||||
virtual void DispatchToModel(const G4VTrajectory&, G4int i_mode) = 0;
|
||||
// Draw the trajectory.
|
||||
|
||||
virtual G4bool FilterTrajectory(const G4VTrajectory&) = 0;
|
||||
@@ -230,6 +218,22 @@ protected:
|
||||
static void SetConcreteInstance (G4VVisManager*);
|
||||
|
||||
static G4VVisManager* fpConcreteInstance; // Pointer to real G4VisManager.
|
||||
|
||||
public:
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
// This method is invoked by G4WorkerRunManager
|
||||
virtual void SetUpForAThread() = 0;
|
||||
#endif
|
||||
|
||||
// This method shoud be invoked by a class that has its own event loop,
|
||||
// such as the RayTracer, material scanner, etc. If the argument is true,
|
||||
// the following state changes among Idle, GeomClosed and EventProc are
|
||||
// caused by such a class, and thus not by the ordinary event simulation.
|
||||
// The same method with false should be invoked once such an event loop
|
||||
// is over.
|
||||
virtual void IgnoreStateChanges(G4bool);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user