33G4int G4RayTracerSceneHandler::fSceneIdCount = 0;
65 fSceneVisAttsMap.clear();
68G4bool G4RayTracerSceneHandler::PathLessThan::operator()
72 if (a.size() != b.size())
return a.size() < b.size();
75 for (; ia != a.end(); ++ia, ++ib) {
76 if (ia->GetPVPointer() < ib->GetPVPointer())
return true;
77 if (ia->GetPVPointer() > ib->GetPVPointer())
return false;
79 if (ia->GetCopyNo() < ib->GetCopyNo())
return true;
80 if (ia->GetCopyNo() > ib->GetCopyNo())
return false;
103 "WARNING: G4RayTracerSceneHandler::BuildVisAttsMap: null vis atts pointer."
104 "\n Using a default vis atts."
108 pVisAtts = &defaultVisAtts;
111 fSceneVisAttsMap[temp] = *pVisAtts;
G4GLOB_DLL std::ostream G4cout
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 Verbosity GetVerbosity()
static G4VisManager * GetInstance()