Geant4 9.6.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 (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 51 of file G4RayTrajectoryPoint.hh.

Constructor & Destructor Documentation

◆ G4RayTrajectoryPoint()

G4RayTrajectoryPoint::G4RayTrajectoryPoint ( )

Definition at line 40 of file G4RayTrajectoryPoint.cc.

41 :preStepAtt(0)
42 ,postStepAtt(0)
43 ,stepLength(0.)
44{;}

◆ ~G4RayTrajectoryPoint()

G4RayTrajectoryPoint::~G4RayTrajectoryPoint ( )
virtual

Definition at line 46 of file G4RayTrajectoryPoint.cc.

47{;}

Member Function Documentation

◆ GetPosition()

const G4ThreeVector G4RayTrajectoryPoint::GetPosition ( ) const
inlinevirtual

Implements G4VTrajectoryPoint.

Definition at line 78 of file G4RayTrajectoryPoint.hh.

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

◆ GetPostStepAtt()

const G4VisAttributes * G4RayTrajectoryPoint::GetPostStepAtt ( ) const
inline

Definition at line 72 of file G4RayTrajectoryPoint.hh.

72{ return postStepAtt; }

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

◆ GetPreStepAtt()

const G4VisAttributes * G4RayTrajectoryPoint::GetPreStepAtt ( ) const
inline

Definition at line 70 of file G4RayTrajectoryPoint.hh.

70{ return preStepAtt; }

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

◆ GetStepLength()

G4double G4RayTrajectoryPoint::GetStepLength ( ) const
inline

Definition at line 76 of file G4RayTrajectoryPoint.hh.

76{ return stepLength; }

Referenced by G4TheRayTracer::Attenuate().

◆ GetSurfaceNormal()

G4ThreeVector G4RayTrajectoryPoint::GetSurfaceNormal ( ) const
inline

Definition at line 74 of file G4RayTrajectoryPoint.hh.

74{ return surfaceNormal; }

Referenced by G4TheRayTracer::GetSurfaceColour().

◆ operator delete()

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

Definition at line 95 of file G4RayTrajectoryPoint.hh.

96{
97 G4RayTrajectoryPointAllocator.FreeSingle((G4RayTrajectoryPoint *) aTrajectoryPoint);
98}
G4DLLIMPORT G4Allocator< G4RayTrajectoryPoint > G4RayTrajectoryPointAllocator

◆ operator new()

void * G4RayTrajectoryPoint::operator new ( size_t  )
inline

Definition at line 88 of file G4RayTrajectoryPoint.hh.

89{
90 void *aTrajectoryPoint;
91 aTrajectoryPoint = (void *) G4RayTrajectoryPointAllocator.MallocSingle();
92 return aTrajectoryPoint;
93}

◆ SetPostStepAtt()

void G4RayTrajectoryPoint::SetPostStepAtt ( const G4VisAttributes val)
inline

Definition at line 71 of file G4RayTrajectoryPoint.hh.

71{ postStepAtt = val; }

Referenced by G4RayTrajectory::AppendStep().

◆ SetPreStepAtt()

void G4RayTrajectoryPoint::SetPreStepAtt ( const G4VisAttributes val)
inline

Definition at line 69 of file G4RayTrajectoryPoint.hh.

69{ preStepAtt = val; }

Referenced by G4RayTrajectory::AppendStep().

◆ SetStepLength()

void G4RayTrajectoryPoint::SetStepLength ( G4double  val)
inline

Definition at line 75 of file G4RayTrajectoryPoint.hh.

75{ stepLength = val; }

Referenced by G4RayTrajectory::AppendStep().

◆ SetSurfaceNormal()

void G4RayTrajectoryPoint::SetSurfaceNormal ( G4ThreeVector  val)
inline

Definition at line 73 of file G4RayTrajectoryPoint.hh.

73{ surfaceNormal = val; }

Referenced by G4RayTrajectory::AppendStep().


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