79{
81
82 const G4Step* aStep = theStep;
85
86
88 {
91 std::vector<G4Navigator*>::iterator iNav =
93 GetActiveNavigatorsIterator();
94 theNavigator = iNav[navID];
95 }
96
98
99
102 if(valid) { theLocalNormal = -theLocalNormal; }
106
111
112
113 G4StepPoint* preStepPoint = aStep -> GetPreStepPoint();
117 for (
G4int i = preDepth; i >= 0; --i) {
118 localPrePVPointerCopyNoPath.push_back
121 }
122
123
124 auto preIterator = sceneVisAttsMap.find(localPrePVPointerCopyNoPath);
126 if (preIterator != sceneVisAttsMap.end()) {
127 preVisAtts = &preIterator->second;
128 } else {
129 preVisAtts = 0;
130 }
132
133
134 G4StepPoint* postStepPoint = aStep -> GetPostStepPoint();
138 for (
G4int i = postDepth; i >= 0; --i) {
139 localPostPVPointerCopyNoPath.push_back
142 }
143
144
145 auto postIterator = sceneVisAttsMap.find(localPostPVPointerCopyNoPath);
147 if (postIterator != sceneVisAttsMap.end()) {
148 postVisAtts = &postIterator->second;
149 } else {
150 postVisAtts = 0;
151 }
153
154 positionRecord->push_back(trajectoryPoint);
155}
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()