Import Geant4 9.6.0 source tree
This commit is contained in:
@@ -24,6 +24,20 @@ committal in the CVS repository !
|
||||
History file for visualization/Tree sub-category
|
||||
------------------------------------------------
|
||||
|
||||
8th June 2012 John Allison (vistree-V09-05-02)
|
||||
- Shadow clean.
|
||||
|
||||
10th April 2012 John Allison (vistree-V09-05-01)
|
||||
- Migrated to G4Scene::Model.
|
||||
|
||||
12th January 2012 John Allison (vistree-V09-05-00)
|
||||
- G4VTreeSceneHandler.hh:
|
||||
o Removed empty implementations of Begin/EndPrimitives, so now
|
||||
picks up the default (and correct non-empty default
|
||||
implementations in G4VSceneHandler). The problem is that
|
||||
objectTransformation must be set to something. This was causing a
|
||||
G4Exception in G4VisManager::DrawT.
|
||||
|
||||
25th September 2011 John Allison (vistree-V09-04-01)
|
||||
- Tagged.
|
||||
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ASCIITree.hh,v 1.7 2006-06-29 21:24:27 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ASCIITreeMessenger.hh,v 1.7 2006-06-29 21:24:29 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ASCIITreeSceneHandler.hh,v 1.17 2006-12-11 21:14:45 allison Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ASCIITreeViewer.hh,v 1.5 2006-06-29 21:24:33 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTree.hh,v 1.5 2006-06-29 21:24:45 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTreeSceneHandler.hh,v 1.18 2006-06-29 21:24:47 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
@@ -59,8 +58,6 @@ public:
|
||||
////////////////////////////////////////////////////////////////
|
||||
// Functions not used but required by the abstract interface.
|
||||
|
||||
virtual void BeginPrimitives (const G4Transform3D&) {}
|
||||
virtual void EndPrimitives () {}
|
||||
virtual void AddPrimitive (const G4Polyline&) {}
|
||||
virtual void AddPrimitive (const G4Text&) {}
|
||||
virtual void AddPrimitive (const G4Circle&) {}
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTreeSceneHandler.icc,v 1.8 2006-06-29 21:24:49 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 18th May 2000
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTreeViewer.hh,v 1.5 2006-06-29 21:24:51 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ASCIITree.cc,v 1.12 2007-01-05 16:59:43 allison Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ASCIITreeMessenger.cc,v 1.19 2007-01-05 16:59:43 allison Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ASCIITreeSceneHandler.cc,v 1.34 2007-01-05 17:00:27 allison Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
@@ -134,11 +133,11 @@ void G4ASCIITreeSceneHandler::EndModeling () {
|
||||
// This detail to G4cout regardless of outFileName...
|
||||
if (detail >= 4) {
|
||||
G4cout << "Calculating mass(es)..." << G4endl;
|
||||
const std::vector<G4VModel*>& models = fpScene->GetRunDurationModelList();
|
||||
std::vector<G4VModel*>::const_iterator i;
|
||||
const std::vector<G4Scene::Model>& models = fpScene->GetRunDurationModelList();
|
||||
std::vector<G4Scene::Model>::const_iterator i;
|
||||
for (i = models.begin(); i != models.end(); ++i) {
|
||||
G4PhysicalVolumeModel* pvModel =
|
||||
dynamic_cast<G4PhysicalVolumeModel*>(*i);
|
||||
dynamic_cast<G4PhysicalVolumeModel*>(i->fpModel);
|
||||
if (pvModel) {
|
||||
if (pvModel->GetTopPhysicalVolume() ==
|
||||
G4TransportationManager::GetTransportationManager()
|
||||
@@ -198,8 +197,9 @@ void G4ASCIITreeSceneHandler::RequestPrimitives(const G4VSolid& solid) {
|
||||
// PVNodeID object, which is a physical volume and copy number. It
|
||||
// is a vector of PVNodeIDs corresponding to the geometry hierarchy
|
||||
// actually selected, i.e., not culled.
|
||||
typedef G4PhysicalVolumeModel::G4PhysicalVolumeNodeID PVNodeID;
|
||||
typedef std::vector<PVNodeID> PVPath;
|
||||
// The following typedef's already set in header file...
|
||||
//typedef G4PhysicalVolumeModel::G4PhysicalVolumeNodeID PVNodeID;
|
||||
//typedef std::vector<PVNodeID> PVPath;
|
||||
const PVPath& drawnPVPath = pPVModel->GetDrawnPVPath();
|
||||
//G4int currentDepth = pPVModel->GetCurrentDepth();
|
||||
G4VPhysicalVolume* pCurrentPV = pPVModel->GetCurrentPV();
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ASCIITreeViewer.cc,v 1.8 2006-06-29 21:24:59 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
|
||||
#include "G4ASCIITreeViewer.hh"
|
||||
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTree.cc,v 1.5 2006-06-29 21:25:09 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTreeSceneHandler.cc,v 1.14 2006-06-29 21:25:11 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTreeViewer.cc,v 1.7 2006-06-29 21:25:13 gunter Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
|
||||
#include "G4VTreeViewer.hh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user