Geant4-11
Public Member Functions | Protected Attributes
G4VExternalNavigation Class Referenceabstract

#include <G4VExternalNavigation.hh>

Public Member Functions

void CheckMode (G4bool mode)
 
virtual G4VExternalNavigationClone ()=0
 
virtual G4double ComputeSafety (const G4ThreeVector &globalpoint, const G4NavigationHistory &history, const G4double pMaxLength=DBL_MAX)=0
 
virtual G4double ComputeStep (const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, const G4double currentProposedStepLength, G4double &newSafety, G4NavigationHistory &history, G4bool &validExitNormal, G4ThreeVector &exitNormal, G4bool &exiting, G4bool &entering, G4VPhysicalVolume **pBlockedPhysical, G4int &blockedReplicaNo)=0
 
 G4VExternalNavigation ()
 
G4int GetVerboseLevel () const
 
virtual EInside Inside (const G4VSolid *solid, const G4ThreeVector &position, const G4ThreeVector &direction)
 
virtual G4bool LevelLocate (G4NavigationHistory &history, const G4VPhysicalVolume *blockedVol, const G4int blockedNum, const G4ThreeVector &globalPoint, const G4ThreeVector *globalDirection, const G4bool pLocatedOnEdge, G4ThreeVector &localPoint)=0
 
virtual void RelocateWithinVolume (G4VPhysicalVolume *motherPhysical, const G4ThreeVector &localPoint)
 
void SetVerboseLevel (G4int level)
 
virtual ~G4VExternalNavigation ()
 

Protected Attributes

G4bool fCheck = false
 
G4int fVerbose = 0
 

Detailed Description

Definition at line 44 of file G4VExternalNavigation.hh.

Constructor & Destructor Documentation

◆ G4VExternalNavigation()

G4VExternalNavigation::G4VExternalNavigation ( )

Definition at line 37 of file G4VExternalNavigation.cc.

38{
39}

◆ ~G4VExternalNavigation()

G4VExternalNavigation::~G4VExternalNavigation ( )
virtual

Definition at line 45 of file G4VExternalNavigation.cc.

46{
47}

Member Function Documentation

◆ CheckMode()

void G4VExternalNavigation::CheckMode ( G4bool  mode)
inline

Definition at line 113 of file G4VExternalNavigation.hh.

113{ fCheck = mode; }

References fCheck.

◆ Clone()

virtual G4VExternalNavigation * G4VExternalNavigation::Clone ( )
pure virtual

◆ ComputeSafety()

virtual G4double G4VExternalNavigation::ComputeSafety ( const G4ThreeVector globalpoint,
const G4NavigationHistory history,
const G4double  pMaxLength = DBL_MAX 
)
pure virtual

◆ ComputeStep()

virtual G4double G4VExternalNavigation::ComputeStep ( const G4ThreeVector localPoint,
const G4ThreeVector localDirection,
const G4double  currentProposedStepLength,
G4double newSafety,
G4NavigationHistory history,
G4bool validExitNormal,
G4ThreeVector exitNormal,
G4bool exiting,
G4bool entering,
G4VPhysicalVolume **  pBlockedPhysical,
G4int blockedReplicaNo 
)
pure virtual

◆ GetVerboseLevel()

G4int G4VExternalNavigation::GetVerboseLevel ( ) const
inline

Definition at line 109 of file G4VExternalNavigation.hh.

References fVerbose.

◆ Inside()

EInside G4VExternalNavigation::Inside ( const G4VSolid solid,
const G4ThreeVector position,
const G4ThreeVector direction 
)
virtual

Definition at line 53 of file G4VExternalNavigation.cc.

57{
58 return solid->Inside(pos);
59}
static const G4double pos
virtual EInside Inside(const G4ThreeVector &p) const =0

References G4VSolid::Inside(), and pos.

Referenced by G4Navigator::LocateGlobalPointAndSetup().

◆ LevelLocate()

virtual G4bool G4VExternalNavigation::LevelLocate ( G4NavigationHistory history,
const G4VPhysicalVolume blockedVol,
const G4int  blockedNum,
const G4ThreeVector globalPoint,
const G4ThreeVector globalDirection,
const G4bool  pLocatedOnEdge,
G4ThreeVector localPoint 
)
pure virtual

◆ RelocateWithinVolume()

void G4VExternalNavigation::RelocateWithinVolume ( G4VPhysicalVolume motherPhysical,
const G4ThreeVector localPoint 
)
virtual

Definition at line 64 of file G4VExternalNavigation.cc.

66{
67 // Default action is do-nothing
68 // A concrete external navigation class must update any relevant
69 // internal state to take account that
70 // - the location has been moved to 'localPoint'
71 // - which remains in the current (mother) physical volume motherPhysical
72 // ( provided for fast access and/or checking. )
73}

Referenced by G4Navigator::LocateGlobalPointWithinVolume().

◆ SetVerboseLevel()

void G4VExternalNavigation::SetVerboseLevel ( G4int  level)
inline

Definition at line 110 of file G4VExternalNavigation.hh.

110{ fVerbose = level; }

References fVerbose.

Field Documentation

◆ fCheck

G4bool G4VExternalNavigation::fCheck = false
protected

Definition at line 120 of file G4VExternalNavigation.hh.

Referenced by CheckMode().

◆ fVerbose

G4int G4VExternalNavigation::fVerbose = 0
protected

Definition at line 121 of file G4VExternalNavigation.hh.

Referenced by GetVerboseLevel(), and SetVerboseLevel().


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