Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
+15
View File
@@ -23,6 +23,21 @@ committal in the CVS repository !
History file for visualization/Tree sub-category
------------------------------------------------
25 October 2021 Guy Barrand (vistree-V10-07-03)
- G4VTreeSceneHandler.hh: to quiet g++ about "AddPrimitive(G4Plotter&)", have:
using G4VSceneHandler::AddPrimitive;
10 October 2021 John Allison (vistree-V10-07-02)
- Migrate to modeling-V10-07-14:
- G4PhysicalVolumeModel: Hold current transform as object, not as a pointer.
30 June 2021 John Allison (vistree-V10-07-01)
- Requires greps-V10-07-09, modeling-V10-07-11 and visman-V10-07-11.
- Revise vis models. See visualization/modeling/History for more details.
- Consequent changes:
o AddPrimitive(const G4Scale&) has been removed from all scene handlers.
14 April 2021 Ben Morgan (vistree-V10-07-00)
- Migrate to modular CMake build
@@ -57,13 +57,13 @@ public:
////////////////////////////////////////////////////////////////
// Functions not used but required by the abstract interface.
using G4VSceneHandler::AddPrimitive;
virtual void AddPrimitive (const G4Polyline&) {}
virtual void AddPrimitive (const G4Text&) {}
virtual void AddPrimitive (const G4Circle&) {}
virtual void AddPrimitive (const G4Square&) {}
virtual void AddPrimitive (const G4Polyhedron&) {}
virtual void AddPrimitive (const G4Polymarker&) {}
virtual void AddPrimitive (const G4Scale&) {}
virtual void BeginModeling();
virtual void EndModeling();
@@ -414,8 +414,8 @@ void G4ASCIITreeSceneHandler::RequestPrimitives(const G4VSolid& solid) {
if (detail >= 7) {
G4Polyhedron* polyhedron = solid.GetPolyhedron();
fRestOfLine << "\nLocal polyhedron coordinates:\n" << *polyhedron;
G4Transform3D* transform = pPVModel->GetCurrentTransform();
polyhedron->Transform(*transform);
const G4Transform3D& transform = pPVModel->GetCurrentTransform();
polyhedron->Transform(transform);
fRestOfLine << "\nGlobal polyhedron coordinates:\n" << *polyhedron;
}