75 {
delete (*positionRecord)[i]; }
84 const G4Step* aStep = theStep;
93 std::vector<G4Navigator*>::iterator iNav =
95 GetActiveNavigatorsIterator();
96 theNavigator = iNav[navID];
104 if(valid) { theLocalNormal = -theLocalNormal; }
115 G4StepPoint* preStepPoint = aStep -> GetPreStepPoint();
119 for (
G4int i = preDepth; i >= 0; --i) {
120 localPrePVPointerCopyNoPath.push_back
126 auto preIterator = sceneVisAttsMap.find(localPrePVPointerCopyNoPath);
128 if (preIterator != sceneVisAttsMap.end()) {
129 preVisAtts = &preIterator->second;
136 G4StepPoint* postStepPoint = aStep -> GetPostStepPoint();
140 for (
G4int i = postDepth; i >= 0; --i) {
141 localPostPVPointerCopyNoPath.push_back
147 auto postIterator = sceneVisAttsMap.find(localPostPVPointerCopyNoPath);
149 if (postIterator != sceneVisAttsMap.end()) {
150 postVisAtts = &postIterator->second;
164 if(!secondTrajectory)
return;
168 for(
G4int i=0;i<ent;i++)
const G4VTouchable * GetTouchable() const
virtual G4ThreeVector GetLocalExitNormal(G4bool *valid)
void SetSurfaceNormal(const G4ThreeVector &val)
virtual void MergeTrajectory(G4VTrajectory *secondTrajectory)
static G4VisManager * GetInstance()
void SetStepLength(G4double val)
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4Navigator * GetNavigatorForTracking() const
#define G4ThreadLocalStatic
static const G4Step * GetHyperStep()
virtual int GetPointEntries() const
const G4AffineTransform GetLocalToGlobalTransform() const
G4double GetStepLength() const
virtual void ShowTrajectory(std::ostream &) const
void SetPostStepAtt(const G4VisAttributes *val)
G4int GetCopyNumber(G4int depth=0) const
static G4int GetHypNavigatorID()
static G4TransportationManager * GetTransportationManager()
std::vector< PVPointerCopyNo > PVPointerCopyNoPath
const std::map< G4ModelingParameters::PVPointerCopyNoPath, G4VisAttributes, PathLessThan > & GetSceneVisAttsMap() const
virtual ~G4RayTrajectory()
virtual G4VTrajectoryPoint * GetPoint(G4int i) const
virtual G4int GetHistoryDepth() const
void SetPreStepAtt(const G4VisAttributes *val)
G4DLLIMPORT G4Allocator< G4RayTrajectory > *& rayTrajectoryAllocator()
virtual void AppendStep(const G4Step *)
G4VSceneHandler * GetCurrentSceneHandler() const
std::vector< G4RayTrajectoryPoint * > * positionRecord