Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
G4Navigator Class Reference

#include <G4Navigator.hh>

Inheritance diagram for G4Navigator:
Inheritance graph
[legend]
Collaboration diagram for G4Navigator:
Collaboration graph
[legend]

Public Member Functions

 G4Navigator ()
 
virtual ~G4Navigator ()
 
virtual G4double ComputeStep (const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
 
G4double CheckNextStep (const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
 
virtual G4VPhysicalVolumeResetHierarchyAndLocate (const G4ThreeVector &point, const G4ThreeVector &direction, const G4TouchableHistory &h)
 
virtual G4VPhysicalVolumeLocateGlobalPointAndSetup (const G4ThreeVector &point, const G4ThreeVector *direction=0, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
 
virtual void LocateGlobalPointWithinVolume (const G4ThreeVector &position)
 
void LocateGlobalPointAndUpdateTouchableHandle (const G4ThreeVector &position, const G4ThreeVector &direction, G4TouchableHandle &oldTouchableToUpdate, const G4bool RelativeSearch=true)
 
void LocateGlobalPointAndUpdateTouchable (const G4ThreeVector &position, const G4ThreeVector &direction, G4VTouchable *touchableToUpdate, const G4bool RelativeSearch=true)
 
void LocateGlobalPointAndUpdateTouchable (const G4ThreeVector &position, G4VTouchable *touchableToUpdate, const G4bool RelativeSearch=true)
 
void SetGeometricallyLimitedStep ()
 
virtual G4double ComputeSafety (const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
 
G4VPhysicalVolumeGetWorldVolume () const
 
void SetWorldVolume (G4VPhysicalVolume *pWorld)
 
G4GRSVolumeCreateGRSVolume () const
 
G4GRSSolidCreateGRSSolid () const
 
G4TouchableHistoryCreateTouchableHistory () const
 
G4TouchableHistoryCreateTouchableHistory (const G4NavigationHistory *) const
 
virtual G4TouchableHistoryHandle CreateTouchableHistoryHandle () const
 
virtual G4ThreeVector GetLocalExitNormal (G4bool *valid)
 
virtual G4ThreeVector GetLocalExitNormalAndCheck (const G4ThreeVector &point, G4bool *valid)
 
virtual G4ThreeVector GetGlobalExitNormal (const G4ThreeVector &point, G4bool *valid)
 
G4int GetVerboseLevel () const
 
void SetVerboseLevel (G4int level)
 
G4bool IsActive () const
 
void Activate (G4bool flag)
 
G4bool EnteredDaughterVolume () const
 
G4bool ExitedMotherVolume () const
 
void CheckMode (G4bool mode)
 
G4bool IsCheckModeActive () const
 
void SetPushVerbosity (G4bool mode)
 
void PrintState () const
 
const G4AffineTransformGetGlobalToLocalTransform () const
 
const G4AffineTransform GetLocalToGlobalTransform () const
 
G4AffineTransform GetMotherToDaughterTransform (G4VPhysicalVolume *dVolume, G4int dReplicaNo, EVolume dVolumeType)
 
void ResetStackAndState ()
 
G4int SeverityOfZeroStepping (G4int *noZeroSteps) const
 
G4ThreeVector GetCurrentLocalCoordinate () const
 
G4ThreeVector NetTranslation () const
 
G4RotationMatrix NetRotation () const
 
void EnableBestSafety (G4bool value=false)
 

Protected Member Functions

void SetSavedState ()
 
void RestoreSavedState ()
 
virtual void ResetState ()
 
G4ThreeVector ComputeLocalPoint (const G4ThreeVector &rGlobPoint) const
 
G4ThreeVector ComputeLocalAxis (const G4ThreeVector &pVec) const
 
EVolume VolumeType (const G4VPhysicalVolume *pVol) const
 
EVolume CharacteriseDaughters (const G4LogicalVolume *pLog) const
 
G4int GetDaughtersRegularStructureId (const G4LogicalVolume *pLog) const
 
virtual void SetupHierarchy ()
 

Protected Attributes

G4double kCarTolerance
 
G4NavigationHistory fHistory
 
G4bool fEnteredDaughter
 
G4bool fExitedMother
 
G4bool fWasLimitedByGeometry
 
G4ThreeVector fStepEndPoint
 
G4ThreeVector fLastStepEndPointLocal
 
G4int fVerbose
 

Friends

std::ostream & operator<< (std::ostream &os, const G4Navigator &n)
 

Detailed Description

Definition at line 73 of file G4Navigator.hh.

Constructor & Destructor Documentation

G4Navigator::G4Navigator ( )

Definition at line 52 of file G4Navigator.cc.

Here is the call graph for this function:

G4Navigator::~G4Navigator ( )
virtual

Definition at line 80 of file G4Navigator.cc.

Member Function Documentation

void G4Navigator::Activate ( G4bool  flag)
inline

Here is the caller graph for this function:

EVolume G4Navigator::CharacteriseDaughters ( const G4LogicalVolume pLog) const
inlineprotected

Here is the caller graph for this function:

void G4Navigator::CheckMode ( G4bool  mode)
inline
G4double G4Navigator::CheckNextStep ( const G4ThreeVector pGlobalPoint,
const G4ThreeVector pDirection,
const G4double  pCurrentProposedStepLength,
G4double pNewSafety 
)

Definition at line 1141 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4ThreeVector G4Navigator::ComputeLocalAxis ( const G4ThreeVector pVec) const
inlineprotected

Here is the caller graph for this function:

G4ThreeVector G4Navigator::ComputeLocalPoint ( const G4ThreeVector rGlobPoint) const
inlineprotected

Here is the caller graph for this function:

G4double G4Navigator::ComputeSafety ( const G4ThreeVector globalpoint,
const G4double  pProposedMaxLength = DBL_MAX,
const G4bool  keepState = true 
)
virtual

Reimplemented in G4MultiNavigator, and G4ErrorPropagationNavigator.

Definition at line 1603 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4Navigator::ComputeStep ( const G4ThreeVector pGlobalPoint,
const G4ThreeVector pDirection,
const G4double  pCurrentProposedStepLength,
G4double pNewSafety 
)
virtual

Reimplemented in G4MultiNavigator, and G4ErrorPropagationNavigator.

Definition at line 699 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4GRSSolid* G4Navigator::CreateGRSSolid ( ) const
inline
G4GRSVolume* G4Navigator::CreateGRSVolume ( ) const
inline
G4TouchableHistory* G4Navigator::CreateTouchableHistory ( ) const
inline

Here is the caller graph for this function:

G4TouchableHistory* G4Navigator::CreateTouchableHistory ( const G4NavigationHistory ) const
inline
G4TouchableHistoryHandle G4Navigator::CreateTouchableHistoryHandle ( ) const
virtual

Reimplemented in G4MultiNavigator.

Definition at line 1789 of file G4Navigator.cc.

Here is the call graph for this function:

void G4Navigator::EnableBestSafety ( G4bool  value = false)
inline
G4bool G4Navigator::EnteredDaughterVolume ( ) const
inline

Here is the caller graph for this function:

G4bool G4Navigator::ExitedMotherVolume ( ) const
inline

Here is the caller graph for this function:

G4ThreeVector G4Navigator::GetCurrentLocalCoordinate ( ) const
inline
G4int G4Navigator::GetDaughtersRegularStructureId ( const G4LogicalVolume pLog) const
inlineprotected

Here is the caller graph for this function:

G4ThreeVector G4Navigator::GetGlobalExitNormal ( const G4ThreeVector point,
G4bool valid 
)
virtual

Reimplemented in G4MultiNavigator.

Definition at line 1501 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

const G4AffineTransform& G4Navigator::GetGlobalToLocalTransform ( ) const
inline

Here is the caller graph for this function:

G4ThreeVector G4Navigator::GetLocalExitNormal ( G4bool valid)
virtual

Reimplemented in G4MultiNavigator.

Definition at line 1259 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4ThreeVector G4Navigator::GetLocalExitNormalAndCheck ( const G4ThreeVector point,
G4bool valid 
)
virtual

Reimplemented in G4MultiNavigator.

Definition at line 1466 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

const G4AffineTransform G4Navigator::GetLocalToGlobalTransform ( ) const
inline

Here is the caller graph for this function:

G4AffineTransform G4Navigator::GetMotherToDaughterTransform ( G4VPhysicalVolume dVolume,
G4int  dReplicaNo,
EVolume  dVolumeType 
)

Definition at line 1420 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4Navigator::GetVerboseLevel ( ) const
inline

Here is the caller graph for this function:

G4VPhysicalVolume* G4Navigator::GetWorldVolume ( ) const
inline

Here is the caller graph for this function:

G4bool G4Navigator::IsActive ( ) const
inline

Here is the caller graph for this function:

G4bool G4Navigator::IsCheckModeActive ( ) const
inline
G4VPhysicalVolume * G4Navigator::LocateGlobalPointAndSetup ( const G4ThreeVector point,
const G4ThreeVector direction = 0,
const G4bool  pRelativeSearch = true,
const G4bool  ignoreDirection = true 
)
virtual

Reimplemented in G4MultiNavigator.

Definition at line 116 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4Navigator::LocateGlobalPointAndUpdateTouchable ( const G4ThreeVector position,
const G4ThreeVector direction,
G4VTouchable touchableToUpdate,
const G4bool  RelativeSearch = true 
)
inline

Here is the caller graph for this function:

void G4Navigator::LocateGlobalPointAndUpdateTouchable ( const G4ThreeVector position,
G4VTouchable touchableToUpdate,
const G4bool  RelativeSearch = true 
)
inline
void G4Navigator::LocateGlobalPointAndUpdateTouchableHandle ( const G4ThreeVector position,
const G4ThreeVector direction,
G4TouchableHandle oldTouchableToUpdate,
const G4bool  RelativeSearch = true 
)
inline
void G4Navigator::LocateGlobalPointWithinVolume ( const G4ThreeVector position)
virtual

Reimplemented in G4MultiNavigator.

Definition at line 548 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4RotationMatrix G4Navigator::NetRotation ( ) const
inline
G4ThreeVector G4Navigator::NetTranslation ( ) const
inline
void G4Navigator::PrintState ( ) const

Definition at line 1798 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4VPhysicalVolume * G4Navigator::ResetHierarchyAndLocate ( const G4ThreeVector point,
const G4ThreeVector direction,
const G4TouchableHistory h 
)
virtual

Reimplemented in G4MultiNavigator.

Definition at line 88 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4Navigator::ResetStackAndState ( )
inline

Here is the caller graph for this function:

void G4Navigator::ResetState ( )
protectedvirtual

Reimplemented in G4MultiNavigator.

Definition at line 1170 of file G4Navigator.cc.

Here is the caller graph for this function:

void G4Navigator::RestoreSavedState ( )
protected

Definition at line 648 of file G4Navigator.cc.

Here is the caller graph for this function:

void G4Navigator::SetGeometricallyLimitedStep ( )
inline

Here is the caller graph for this function:

void G4Navigator::SetPushVerbosity ( G4bool  mode)
inline

Here is the caller graph for this function:

void G4Navigator::SetSavedState ( )
protected

Definition at line 619 of file G4Navigator.cc.

Here is the caller graph for this function:

void G4Navigator::SetupHierarchy ( )
protectedvirtual

Reimplemented in G4MultiNavigator.

Definition at line 1209 of file G4Navigator.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4Navigator::SetVerboseLevel ( G4int  level)
inline

Here is the caller graph for this function:

void G4Navigator::SetWorldVolume ( G4VPhysicalVolume pWorld)
inline

Here is the caller graph for this function:

G4int G4Navigator::SeverityOfZeroStepping ( G4int noZeroSteps) const
inline
EVolume G4Navigator::VolumeType ( const G4VPhysicalVolume pVol) const
inlineprotected

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4Navigator n 
)
friend

Definition at line 1960 of file G4Navigator.cc.

Member Data Documentation

G4bool G4Navigator::fEnteredDaughter
protected

Definition at line 353 of file G4Navigator.hh.

G4bool G4Navigator::fExitedMother
protected

Definition at line 359 of file G4Navigator.hh.

G4NavigationHistory G4Navigator::fHistory
protected

Definition at line 349 of file G4Navigator.hh.

G4ThreeVector G4Navigator::fLastStepEndPointLocal
protected

Definition at line 369 of file G4Navigator.hh.

G4ThreeVector G4Navigator::fStepEndPoint
protected

Definition at line 366 of file G4Navigator.hh.

G4int G4Navigator::fVerbose
protected

Definition at line 373 of file G4Navigator.hh.

G4bool G4Navigator::fWasLimitedByGeometry
protected

Definition at line 363 of file G4Navigator.hh.

G4double G4Navigator::kCarTolerance
protected

Definition at line 342 of file G4Navigator.hh.


The documentation for this class was generated from the following files: