47 #ifndef G4NAVIGATOR_HH
48 #define G4NAVIGATOR_HH
87 const G4double pCurrentProposedStepLength,
104 const G4double pCurrentProposedStepLength,
125 const G4bool pRelativeSearch=
true,
126 const G4bool ignoreDirection=
true);
157 const G4bool RelativeSearch =
true);
166 const G4bool RelativeSearch =
true);
174 const G4bool RelativeSearch =
true);
183 const G4bool keepState =
true);
196 const G4double CurrentProposedStepLength,
508 #include "G4Navigator.icc"
G4bool fCalculatedExitNormal
G4ThreeVector sExitNormal
void ComputeStepLog(const G4ThreeVector &pGlobalpoint, G4double moveLenSq) const
EVolume VolumeType(const G4VPhysicalVolume *pVol) const
virtual G4double ComputeStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
void LocateGlobalPointAndUpdateTouchableHandle(const G4ThreeVector &position, const G4ThreeVector &direction, G4TouchableHandle &oldTouchableToUpdate, const G4bool RelativeSearch=true)
G4Navigator & operator=(const G4Navigator &)
virtual G4ThreeVector GetLocalExitNormal(G4bool *valid)
G4int SeverityOfZeroStepping(G4int *noZeroSteps) const
G4ThreeVector fLastStepEndPointLocal
G4ThreeVector fExitNormal
G4bool IsCheckModeActive() const
G4bool EnteredDaughterVolume() const
G4ThreeVector fGrandMotherExitNormal
virtual void LocateGlobalPointWithinVolume(const G4ThreeVector &position)
G4TouchableHistory * CreateTouchableHistory() const
G4VPhysicalVolume * fTopPhysical
G4ThreeVector NetTranslation() const
G4ThreeVector fStepEndPoint
friend std::ostream & operator<<(std::ostream &os, const G4Navigator &n)
struct G4Navigator::G4SaveNavigatorState fSaveState
G4int GetDaughtersRegularStructureId(const G4LogicalVolume *pLog) const
G4int fActionThreshold_NoZeroSteps
G4bool fChangedGrandMotherRefFrame
G4NormalNavigation fnormalNav
G4VoxelSafety * fpVoxelSafety
void CheckMode(G4bool mode)
const G4AffineTransform & GetGlobalToLocalTransform() const
const G4AffineTransform GetLocalToGlobalTransform() const
G4ThreeVector fLastLocatedPointLocal
G4bool sLocatedOutsideWorld
G4VPhysicalVolume * spBlockedPhysicalVolume
G4bool fWasLimitedByGeometry
const XML_Char int const XML_Char * value
G4RotationMatrix NetRotation() const
G4ReplicaNavigation freplicaNav
void SetWorldVolume(G4VPhysicalVolume *pWorld)
G4int fAbandonThreshold_NoZeroSteps
void SetVerboseLevel(G4int level)
G4double CheckNextStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
virtual G4ThreeVector GetLocalExitNormalAndCheck(const G4ThreeVector &point, G4bool *valid)
G4bool fLastTriedStepComputation
void EnableBestSafety(G4bool value=false)
G4VoxelNavigation fvoxelNav
virtual G4VPhysicalVolume * ResetHierarchyAndLocate(const G4ThreeVector &point, const G4ThreeVector &direction, const G4TouchableHistory &h)
G4GRSSolid * CreateGRSSolid() const
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
G4ThreeVector fExitNormalGlobalFrame
G4RegularNavigation fregularNav
G4ThreeVector sPreviousSftOrigin
EVolume CharacteriseDaughters(const G4LogicalVolume *pLog) const
virtual G4TouchableHistoryHandle CreateTouchableHistoryHandle() const
G4ParameterisedNavigation fparamNav
G4ThreeVector sLastLocatedPointLocal
G4GRSVolume * CreateGRSVolume() const
virtual void SetupHierarchy()
void SetPushVerbosity(G4bool mode)
G4bool ExitedMotherVolume() const
G4VPhysicalVolume * fBlockedPhysicalVolume
G4NavigationHistory fHistory
G4ThreeVector fPreviousSftOrigin
virtual void ResetState()
void ResetStackAndState()
G4bool sWasLimitedByGeometry
void LocateGlobalPointAndUpdateTouchable(const G4ThreeVector &position, const G4ThreeVector &direction, G4VTouchable *touchableToUpdate, const G4bool RelativeSearch=true)
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=0, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
void Activate(G4bool flag)
G4VPhysicalVolume * GetWorldVolume() const
G4AffineTransform GetMotherToDaughterTransform(G4VPhysicalVolume *dVolume, G4int dReplicaNo, EVolume dVolumeType)
G4ThreeVector ComputeLocalAxis(const G4ThreeVector &pVec) const
G4bool fLocatedOutsideWorld
G4ThreeVector ComputeLocalPoint(const G4ThreeVector &rGlobPoint) const
void SetGeometricallyLimitedStep()
virtual G4bool RecheckDistanceToCurrentBoundary(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double CurrentProposedStepLength, G4double *prDistance, G4double *prNewSafety=0) const
G4ThreeVector GetCurrentLocalCoordinate() const
virtual G4ThreeVector GetGlobalExitNormal(const G4ThreeVector &point, G4bool *valid)
G4int GetVerboseLevel() const