34G4int G4RayTracerSceneHandler::fSceneIdCount = 0;
66 fSceneVisAttsMap.clear();
69G4bool 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;
112 fSceneVisAttsMap[temp] = *pVisAtts;
std::vector< PVPointerCopyNo > PVPointerCopyNoPath
const std::vector< G4PhysicalVolumeNodeID > & GetFullPVPath() const
void BuildVisAttsMap(const G4VSolid &solid)
G4RayTracerSceneHandler(G4VGraphicsSystem &system, const G4String &name="")
virtual ~G4RayTracerSceneHandler()
G4bool AddWorldIfEmpty(G4bool warn=false)
const G4VisAttributes * fpVisAttribs
G4Scene * GetCurrentScene() const
void SetCurrentScene(G4Scene *)
G4SceneList & SetSceneList()
static G4VisManager * GetInstance()