80{
82
83 const G4Step* aStep = theStep;
86
87
89 {
92 std::vector<G4Navigator*>::iterator iNav =
94 GetActiveNavigatorsIterator();
95 theNavigator = iNav[navID];
96 }
97
99
100
103 if(valid) { theLocalNormal = -theLocalNormal; }
107
112
113
114 G4StepPoint* preStepPoint = aStep -> GetPreStepPoint();
118 for (
G4int i = preDepth; i >= 0; --i) {
119 localPrePVPointerCopyNoPath.push_back
122 }
123
124
125 auto preIterator = sceneVisAttsMap.find(localPrePVPointerCopyNoPath);
127 if (preIterator != sceneVisAttsMap.end()) {
128 preVisAtts = &preIterator->second;
129 } else {
130 preVisAtts = 0;
131 }
133
134
135 G4StepPoint* postStepPoint = aStep -> GetPostStepPoint();
139 for (
G4int i = postDepth; i >= 0; --i) {
140 localPostPVPointerCopyNoPath.push_back
143 }
144
145
146 auto postIterator = sceneVisAttsMap.find(localPostPVPointerCopyNoPath);
148 if (postIterator != sceneVisAttsMap.end()) {
149 postVisAtts = &postIterator->second;
150 } else {
151 postVisAtts = 0;
152 }
154
155 positionRecord->push_back(trajectoryPoint);
156}
std::vector< PVPointerCopyNo > PVPointerCopyNoPath
virtual G4ThreeVector GetLocalExitNormal(G4bool *valid)
const G4AffineTransform GetLocalToGlobalTransform() const
static const G4Step * GetHyperStep()
static G4int GetHypNavigatorID()
const std::map< G4ModelingParameters::PVPointerCopyNoPath, G4VisAttributes, PathLessThan > & GetSceneVisAttsMap() const
void SetStepLength(G4double val)
void SetSurfaceNormal(const G4ThreeVector &val)
void SetPreStepAtt(const G4VisAttributes *val)
void SetPostStepAtt(const G4VisAttributes *val)
const G4VTouchable * GetTouchable() const
G4double GetStepLength() const
static G4TransportationManager * GetTransportationManager()
G4Navigator * GetNavigatorForTracking() const
G4int GetCopyNumber(G4int depth=0) const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
virtual G4int GetHistoryDepth() const
G4VSceneHandler * GetCurrentSceneHandler() const
static G4VisManager * GetInstance()