Geant4-11
Public Member Functions | Private Attributes
G4RayTrajectoryPoint Class Reference

#include <G4RayTrajectoryPoint.hh>

Inheritance diagram for G4RayTrajectoryPoint:
G4VTrajectoryPoint

Public Member Functions

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

Private Attributes

const G4VisAttributespostStepAtt
 
const G4VisAttributespreStepAtt
 
G4double stepLength
 
G4ThreeVector surfaceNormal
 

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{;}
const G4VisAttributes * postStepAtt
const G4VisAttributes * preStepAtt

◆ ~G4RayTrajectoryPoint()

G4RayTrajectoryPoint::~G4RayTrajectoryPoint ( )
virtual

Definition at line 49 of file G4RayTrajectoryPoint.cc.

50{;}

Member Function Documentation

◆ CreateAttValues()

virtual std::vector< G4AttValue > * G4VTrajectoryPoint::CreateAttValues ( ) const
inlinevirtualinherited

◆ GetAttDefs()

virtual const std::map< G4String, G4AttDef > * G4VTrajectoryPoint::GetAttDefs ( ) const
inlinevirtualinherited

◆ GetAuxiliaryPoints()

virtual const std::vector< G4ThreeVector > * G4VTrajectoryPoint::GetAuxiliaryPoints ( ) const
inlinevirtualinherited

Reimplemented in G4RichTrajectoryPoint, and G4SmoothTrajectoryPoint.

Definition at line 64 of file G4VTrajectoryPoint.hh.

65 { return nullptr; }

Referenced by G4HepRepFileSceneHandler::AddCompound(), and G4TrajectoryDrawerUtils::GetPointsAndTimes().

◆ GetPosition()

const G4ThreeVector G4RayTrajectoryPoint::GetPosition ( void  ) 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

◆ GetPreStepAtt()

const G4VisAttributes * G4RayTrajectoryPoint::GetPreStepAtt ( ) const
inline

◆ GetStepLength()

G4double G4RayTrajectoryPoint::GetStepLength ( ) const
inline

Definition at line 75 of file G4RayTrajectoryPoint.hh.

75{ return stepLength; }

References stepLength.

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

◆ GetSurfaceNormal()

G4ThreeVector G4RayTrajectoryPoint::GetSurfaceNormal ( ) const
inline

Definition at line 73 of file G4RayTrajectoryPoint.hh.

73{ return surfaceNormal; }

References surfaceNormal.

Referenced by G4RTRun::GetSurfaceColour(), and 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()

References rayTrajectoryPointAllocator().

◆ operator new()

void * G4RayTrajectoryPoint::operator new ( size_t  )
inline

Definition at line 87 of file G4RayTrajectoryPoint.hh.

References rayTrajectoryPointAllocator().

◆ operator==()

G4bool G4VTrajectoryPoint::operator== ( const G4VTrajectoryPoint right) const
inherited

Definition at line 44 of file G4VTrajectoryPoint.cc.

45{
46 return (this==&right);
47}

◆ SetPostStepAtt()

void G4RayTrajectoryPoint::SetPostStepAtt ( const G4VisAttributes val)
inline

Definition at line 70 of file G4RayTrajectoryPoint.hh.

70{ postStepAtt = val; }

References postStepAtt.

Referenced by G4RayTrajectory::AppendStep().

◆ SetPreStepAtt()

void G4RayTrajectoryPoint::SetPreStepAtt ( const G4VisAttributes val)
inline

Definition at line 68 of file G4RayTrajectoryPoint.hh.

68{ preStepAtt = val; }

References preStepAtt.

Referenced by G4RayTrajectory::AppendStep().

◆ SetStepLength()

void G4RayTrajectoryPoint::SetStepLength ( G4double  val)
inline

Definition at line 74 of file G4RayTrajectoryPoint.hh.

74{ stepLength = val; }

References stepLength.

Referenced by G4RayTrajectory::AppendStep().

◆ SetSurfaceNormal()

void G4RayTrajectoryPoint::SetSurfaceNormal ( const G4ThreeVector val)
inline

Definition at line 72 of file G4RayTrajectoryPoint.hh.

72{ surfaceNormal = val; }

References surfaceNormal.

Referenced by G4RayTrajectory::AppendStep().

Field Documentation

◆ postStepAtt

const G4VisAttributes* G4RayTrajectoryPoint::postStepAtt
private

Definition at line 63 of file G4RayTrajectoryPoint.hh.

Referenced by GetPostStepAtt(), and SetPostStepAtt().

◆ preStepAtt

const G4VisAttributes* G4RayTrajectoryPoint::preStepAtt
private

Definition at line 62 of file G4RayTrajectoryPoint.hh.

Referenced by GetPreStepAtt(), and SetPreStepAtt().

◆ stepLength

G4double G4RayTrajectoryPoint::stepLength
private

Definition at line 65 of file G4RayTrajectoryPoint.hh.

Referenced by GetStepLength(), and SetStepLength().

◆ surfaceNormal

G4ThreeVector G4RayTrajectoryPoint::surfaceNormal
private

Definition at line 64 of file G4RayTrajectoryPoint.hh.

Referenced by GetSurfaceNormal(), and SetSurfaceNormal().


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