Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4RayTrajectoryPoint Class Reference

#include <G4RayTrajectoryPoint.hh>

+ Inheritance diagram for G4RayTrajectoryPoint:

Public Member Functions

 G4RayTrajectoryPoint ()
 
virtual ~G4RayTrajectoryPoint ()
 
void * operator new (size_t)
 
void operator delete (void *aTrajectoryPoint)
 
void SetPreStepAtt (const G4VisAttributes *val)
 
const G4VisAttributesGetPreStepAtt () const
 
void SetPostStepAtt (const G4VisAttributes *val)
 
const G4VisAttributesGetPostStepAtt () const
 
void SetSurfaceNormal (const G4ThreeVector &val)
 
G4ThreeVector GetSurfaceNormal () const
 
void SetStepLength (G4double val)
 
G4double GetStepLength () const
 
const G4ThreeVector GetPosition () const
 
- Public Member Functions inherited from G4VTrajectoryPoint
 G4VTrajectoryPoint ()
 
virtual ~G4VTrajectoryPoint ()
 
G4bool operator== (const G4VTrajectoryPoint &right) const
 
virtual const G4ThreeVector GetPosition () const =0
 
virtual const std::vector< G4ThreeVector > * GetAuxiliaryPoints () const
 
virtual const std::map< G4String, G4AttDef > * GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 

Detailed Description

Definition at line 50 of file G4RayTrajectoryPoint.hh.

Constructor & Destructor Documentation

◆ G4RayTrajectoryPoint()

G4RayTrajectoryPoint::G4RayTrajectoryPoint ( )

Definition at line 43 of file G4RayTrajectoryPoint.cc.

44 :preStepAtt(0)
45 ,postStepAtt(0)
46 ,stepLength(0.)
47{;}

◆ ~G4RayTrajectoryPoint()

G4RayTrajectoryPoint::~G4RayTrajectoryPoint ( )
virtual

Definition at line 49 of file G4RayTrajectoryPoint.cc.

50{;}

Member Function Documentation

◆ GetPosition()

const G4ThreeVector G4RayTrajectoryPoint::GetPosition ( ) const
inlinevirtual

Implements G4VTrajectoryPoint.

Definition at line 77 of file G4RayTrajectoryPoint.hh.

77{ return G4ThreeVector();}
CLHEP::Hep3Vector G4ThreeVector

◆ GetPostStepAtt()

const G4VisAttributes * G4RayTrajectoryPoint::GetPostStepAtt ( ) const
inline

Definition at line 71 of file G4RayTrajectoryPoint.hh.

71{ return postStepAtt; }

Referenced by G4TheRayTracer::GenerateColour(), G4TheRayTracer::GetSurfaceColour(), and G4RTRun::RecordEvent().

◆ GetPreStepAtt()

const G4VisAttributes * G4RayTrajectoryPoint::GetPreStepAtt ( ) const
inline

Definition at line 69 of file G4RayTrajectoryPoint.hh.

69{ return preStepAtt; }

Referenced by G4TheRayTracer::Attenuate(), and G4TheRayTracer::GetSurfaceColour().

◆ GetStepLength()

G4double G4RayTrajectoryPoint::GetStepLength ( ) const
inline

Definition at line 75 of file G4RayTrajectoryPoint.hh.

75{ return stepLength; }

Referenced by G4TheRayTracer::Attenuate().

◆ GetSurfaceNormal()

G4ThreeVector G4RayTrajectoryPoint::GetSurfaceNormal ( ) const
inline

Definition at line 73 of file G4RayTrajectoryPoint.hh.

73{ return surfaceNormal; }

Referenced by G4TheRayTracer::GetSurfaceColour().

◆ operator delete()

void G4RayTrajectoryPoint::operator delete ( void *  aTrajectoryPoint)
inline

Definition at line 94 of file G4RayTrajectoryPoint.hh.

95{
96 rayTrajectoryPointAllocator()->FreeSingle((G4RayTrajectoryPoint *) aTrajectoryPoint);
97}
G4DLLIMPORT G4Allocator< G4RayTrajectoryPoint > *& rayTrajectoryPointAllocator()

◆ operator new()

void * G4RayTrajectoryPoint::operator new ( size_t  )
inline

Definition at line 87 of file G4RayTrajectoryPoint.hh.

◆ SetPostStepAtt()

void G4RayTrajectoryPoint::SetPostStepAtt ( const G4VisAttributes val)
inline

Definition at line 70 of file G4RayTrajectoryPoint.hh.

70{ postStepAtt = val; }

Referenced by G4RayTrajectory::AppendStep().

◆ SetPreStepAtt()

void G4RayTrajectoryPoint::SetPreStepAtt ( const G4VisAttributes val)
inline

Definition at line 68 of file G4RayTrajectoryPoint.hh.

68{ preStepAtt = val; }

Referenced by G4RayTrajectory::AppendStep().

◆ SetStepLength()

void G4RayTrajectoryPoint::SetStepLength ( G4double  val)
inline

Definition at line 74 of file G4RayTrajectoryPoint.hh.

74{ stepLength = val; }

Referenced by G4RayTrajectory::AppendStep().

◆ SetSurfaceNormal()

void G4RayTrajectoryPoint::SetSurfaceNormal ( const G4ThreeVector val)
inline

Definition at line 72 of file G4RayTrajectoryPoint.hh.

72{ surfaceNormal = val; }

Referenced by G4RayTrajectory::AppendStep().


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