47 fpCurrentObjectTransformation (0)
68 if (!pPVModel)
return;
77 typedef std::vector<PVNodeID>
PVPath;
87 (drawnPVPath.back().GetPhysicalVolume()->GetLogicalVolume());
90 PVPath::const_reverse_iterator ri = ++drawnPVPath.rbegin();
91 if (ri != drawnPVPath.rend()) {
94 ri->GetPhysicalVolume()->GetLogicalVolume();
95 if (fDrawnLVStore.find(drawnMotherLV) != fDrawnLVStore.end()) {
104 G4cerr <<
"ERROR: G4XXXSceneHandler::PreAddSolid: Mother "
105 << ri->GetPhysicalVolume()->GetName()
106 <<
':' << ri->GetCopyNo()
107 <<
" not previously encountered."
108 "\nShouldn't happen! Please report to visualization coordinator."
system("rm -rf microbeam.root")
G4VTreeSceneHandler(G4VGraphicsSystem &system, const G4String &name)
virtual ~G4VTreeSceneHandler()
std::vector< PVNodeID > PVPath
virtual void BeginModeling()
std::set< G4LogicalVolume * > fDrawnLVStore
virtual void EndModeling()
G4GLOB_DLL std::ostream G4cerr
virtual void PreAddSolid(const G4Transform3D &objectTransformation, const G4VisAttributes &)
static G4int fSceneIdCount
void PreAddSolid(const G4Transform3D &objectTransformation, const G4VisAttributes &)
G4PhysicalVolumeModel::G4PhysicalVolumeNodeID PVNodeID
const std::vector< G4PhysicalVolumeNodeID > & GetDrawnPVPath() const
virtual void EndModeling()
virtual void BeginModeling()