69 G4bool G4RayTracerSceneHandler::PathLessThan::operator()
73 if (
a.size() != b.size())
return a.size() < b.size();
76 for (; ia !=
a.end(); ++ia, ++ib) {
77 if (ia->GetPVPointer() < ib->GetPVPointer())
return true;
78 if (ia->GetPVPointer() > ib->GetPVPointer())
return false;
80 if (ia->GetCopyNo() < ib->GetCopyNo())
return true;
81 if (ia->GetCopyNo() > ib->GetCopyNo())
return false;
104 "WARNING: G4RayTracerSceneHandler::BuildVisAttsMap: null vis atts pointer."
105 "\n Using a default vis atts."
109 pVisAtts = &defaultVisAtts;
std::vector< ExP01TrackerHit * > a
system("rm -rf microbeam.root")
G4RayTracerSceneHandler(G4VGraphicsSystem &system, const G4String &name="")
static G4VisManager * GetInstance()
void BuildVisAttsMap(const G4VSolid &solid)
const std::vector< G4PhysicalVolumeNodeID > & GetFullPVPath() const
G4Scene * GetCurrentScene() const
virtual ~G4RayTracerSceneHandler()
const G4VisAttributes * fpVisAttribs
std::vector< PVPointerCopyNo > PVPointerCopyNoPath
static G4int fSceneIdCount
void SetCurrentScene(G4Scene *)
G4GLOB_DLL std::ostream G4cout
std::map< G4ModelingParameters::PVPointerCopyNoPath, G4VisAttributes, PathLessThan > fSceneVisAttsMap
G4SceneList & SetSceneList()
G4bool AddWorldIfEmpty(G4bool warn=false)