55#ifndef G4ITNAVIGATOR_HH
56#define G4ITNAVIGATOR_HH
110 const G4double pCurrentProposedStepLength,
127 const G4double pCurrentProposedStepLength,
148 const G4bool pRelativeSearch=
true,
149 const G4bool ignoreDirection=
true);
180 const G4bool RelativeSearch =
true);
189 const G4bool RelativeSearch =
true);
197 const G4bool RelativeSearch =
true);
206 const G4bool keepState =
false);
397 G4bool fLastTriedStepComputation;
403 G4bool fEntering,fExiting;
413 G4int fBlockedReplicaNo;
417 G4bool fLocatedOutsideWorld;
437 G4int fNumberZeroSteps;
439 G4int fActionThreshold_NoZeroSteps;
441 G4int fAbandonThreshold_NoZeroSteps;
458 G4SaveNavigatorState();
459 virtual ~G4SaveNavigatorState(){;}
462 G4bool sEntering, sExiting;
464 G4int sBlockedReplicaNo;
465 G4int sLastStepWasZero;
469 G4bool sWasLimitedByGeometry;
471 G4int sNumberZeroSteps;
476 G4bool sLocatedOutsideWorld;
478 G4bool sEnteredDaughter, sExitedMother;
483 G4SaveNavigatorState* fpSaveState;
496 G4bool fPushed, fWarnPush;
508#include "G4ITNavigator.icc"
G4GRSSolid * CreateGRSSolid() const
G4double CheckNextStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
virtual G4ThreeVector GetLocalExitNormal(G4bool *valid)
void SetNavigatorState(G4ITNavigatorState_Lock *)
friend std::ostream & operator<<(std::ostream &os, const G4ITNavigator &n)
G4TouchableHistory * CreateTouchableHistory(const G4NavigationHistory *) const
G4bool ExitedMotherVolume() const
G4VPhysicalVolume * GetWorldVolume() const
G4ThreeVector NetTranslation() const
virtual G4ThreeVector GetGlobalExitNormal(const G4ThreeVector &point, G4bool *valid)
void ResetStackAndState()
virtual G4double ComputeStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
G4int SeverityOfZeroStepping(G4int *noZeroSteps) const
const G4AffineTransform & GetGlobalToLocalTransform() const
virtual void SetupHierarchy()
G4AffineTransform GetMotherToDaughterTransform(G4VPhysicalVolume *dVolume, G4int dReplicaNo, EVolume dVolumeType)
virtual G4ThreeVector GetLocalExitNormalAndCheck(const G4ThreeVector &point, G4bool *valid)
void SetWorldVolume(G4VPhysicalVolume *pWorld)
void CheckMode(G4bool mode)
G4bool EnteredDaughterVolume() const
void SetVerboseLevel(G4int level)
G4ThreeVector ComputeLocalAxis(const G4ThreeVector &pVec) const
G4int GetDaughtersRegularStructureId(const G4LogicalVolume *pLog) const
G4GRSVolume * CreateGRSVolume() const
void Activate(G4bool flag)
void LocateGlobalPointAndUpdateTouchable(const G4ThreeVector &position, G4VTouchable *touchableToUpdate, const G4bool RelativeSearch=true)
G4ITNavigatorState_Lock * GetNavigatorState()
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=false)
void SetPushVerbosity(G4bool mode)
virtual void ResetState()
G4RotationMatrix NetRotation() const
G4ThreeVector fStepEndPoint
G4ThreeVector fLastStepEndPointLocal
virtual G4TouchableHistoryHandle CreateTouchableHistoryHandle() const
virtual void LocateGlobalPointWithinVolume(const G4ThreeVector &position)
EVolume CharacteriseDaughters(const G4LogicalVolume *pLog) const
G4ThreeVector GetCurrentLocalCoordinate() const
G4int GetVerboseLevel() const
G4bool fWasLimitedByGeometry
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)
G4NavigationHistory fHistory
G4TouchableHistory * CreateTouchableHistory() const
void EnableBestSafety(G4bool value=false)
void LocateGlobalPointAndUpdateTouchableHandle(const G4ThreeVector &position, const G4ThreeVector &direction, G4TouchableHandle &oldTouchableToUpdate, const G4bool RelativeSearch=true)
EVolume VolumeType(const G4VPhysicalVolume *pVol) const
const G4AffineTransform GetLocalToGlobalTransform() const
void SetGeometricallyLimitedStep()
G4bool IsCheckModeActive() const
virtual G4VPhysicalVolume * ResetHierarchyAndLocate(const G4ThreeVector &point, const G4ThreeVector &direction, const G4TouchableHistory &h)
G4ThreeVector ComputeLocalPoint(const G4ThreeVector &rGlobPoint) const
G4ITNavigatorState_Lock()
virtual ~G4ITNavigatorState_Lock()