56#ifndef G4ITNAVIGATOR_HH
57#define G4ITNAVIGATOR_HH
113 const G4double pCurrentProposedStepLength,
130 const G4double pCurrentProposedStepLength,
151 const G4bool pRelativeSearch=
true,
152 const G4bool ignoreDirection=
true);
183 const G4bool RelativeSearch =
true);
192 const G4bool RelativeSearch =
true);
200 const G4bool RelativeSearch =
true);
209 const G4bool keepState =
true);
406 G4bool fLastTriedStepComputation;
412 G4bool fEntering,fExiting;
422 G4int fBlockedReplicaNo;
426 G4bool fLocatedOutsideWorld;
435 G4bool fChangedGrandMotherRefFrame;
439 G4bool fCalculatedExitNormal;
453 G4int fNumberZeroSteps;
455 G4int fActionThreshold_NoZeroSteps;
457 G4int fAbandonThreshold_NoZeroSteps;
474 G4SaveNavigatorState();
475 virtual ~G4SaveNavigatorState(){;}
478 G4bool sEntering, sExiting;
480 G4int sBlockedReplicaNo;
481 G4int sLastStepWasZero;
485 G4bool sWasLimitedByGeometry;
487 G4int sNumberZeroSteps;
492 G4bool sLocatedOutsideWorld;
494 G4bool sEnteredDaughter, sExitedMother;
499 G4SaveNavigatorState* fpSaveState;
512 G4bool fPushed, fWarnPush;
525#include "G4ITNavigator1.icc"
virtual void LocateGlobalPointWithinVolume(const G4ThreeVector &position)
G4bool IsCheckModeActive() const
G4TouchableHistory * CreateTouchableHistory() const
virtual G4ThreeVector GetGlobalExitNormal(const G4ThreeVector &point, G4bool *valid)
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=0, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
G4ThreeVector NetTranslation() const
void Activate(G4bool flag)
G4VPhysicalVolume * GetWorldVolume() const
const G4AffineTransform GetLocalToGlobalTransform() const
G4int GetVerboseLevel() const
G4ThreeVector fStepEndPoint
G4ThreeVector GetCurrentLocalCoordinate() const
void LocateGlobalPointAndUpdateTouchable(const G4ThreeVector &position, const G4ThreeVector &direction, G4VTouchable *touchableToUpdate, const G4bool RelativeSearch=true)
void CheckMode(G4bool mode)
G4double CheckNextStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
G4ThreeVector ComputeLocalAxis(const G4ThreeVector &pVec) const
void LocateGlobalPointAndUpdateTouchable(const G4ThreeVector &position, G4VTouchable *touchableToUpdate, const G4bool RelativeSearch=true)
virtual G4VPhysicalVolume * ResetHierarchyAndLocate(const G4ThreeVector &point, const G4ThreeVector &direction, const G4TouchableHistory &h)
void SetGeometricallyLimitedStep()
void ResetStackAndState()
G4int GetDaughtersRegularStructureId(const G4LogicalVolume *pLog) const
const G4AffineTransform & GetGlobalToLocalTransform() const
G4bool EnteredDaughterVolume() const
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
G4TouchableHistory * CreateTouchableHistory(const G4NavigationHistory *) const
EVolume CharacteriseDaughters(const G4LogicalVolume *pLog) const
G4NavigationHistory fHistory
virtual G4ThreeVector GetLocalExitNormalAndCheck(const G4ThreeVector &point, G4bool *valid)
G4ThreeVector fLastStepEndPointLocal
void SetNavigatorState(G4ITNavigatorState_Lock1 *)
void LocateGlobalPointAndUpdateTouchableHandle(const G4ThreeVector &position, const G4ThreeVector &direction, G4TouchableHandle &oldTouchableToUpdate, const G4bool RelativeSearch=true)
virtual void SetupHierarchy()
G4RotationMatrix NetRotation() const
G4AffineTransform GetMotherToDaughterTransform(G4VPhysicalVolume *dVolume, G4int dReplicaNo, EVolume dVolumeType)
EVolume VolumeType(const G4VPhysicalVolume *pVol) const
G4GRSSolid * CreateGRSSolid() const
virtual G4double ComputeStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
G4bool fWasLimitedByGeometry
static const G4int fMaxNav
virtual G4ThreeVector GetLocalExitNormal(G4bool *valid)
G4ITNavigatorState_Lock1 * GetNavigatorState()
void SetPushVerbosity(G4bool mode)
G4bool ExitedMotherVolume() const
G4int SeverityOfZeroStepping(G4int *noZeroSteps) const
virtual ~G4ITNavigator1()
void EnableBestSafety(G4bool value=false)
virtual G4TouchableHistoryHandle CreateTouchableHistoryHandle() const
friend std::ostream & operator<<(std::ostream &os, const G4ITNavigator1 &n)
G4GRSVolume * CreateGRSVolume() const
void SetVerboseLevel(G4int level)
G4ThreeVector ComputeLocalPoint(const G4ThreeVector &rGlobPoint) const
virtual void ResetState()
void SetWorldVolume(G4VPhysicalVolume *pWorld)
G4ITNavigatorState_Lock1()
virtual ~G4ITNavigatorState_Lock1()