G4RayTrajectoryPoint Class Reference

#include <G4RayTrajectoryPoint.hh>

Inheritance diagram for G4RayTrajectoryPoint:

G4VTrajectoryPoint

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

Detailed Description

Definition at line 51 of file G4RayTrajectoryPoint.hh.


Constructor & Destructor Documentation

G4RayTrajectoryPoint::G4RayTrajectoryPoint (  ) 

Definition at line 40 of file G4RayTrajectoryPoint.cc.

00041   :preStepAtt(0)
00042   ,postStepAtt(0)
00043   ,stepLength(0.)
00044 {;}

G4RayTrajectoryPoint::~G4RayTrajectoryPoint (  )  [virtual]

Definition at line 46 of file G4RayTrajectoryPoint.cc.

00047 {;}


Member Function Documentation

const G4ThreeVector G4RayTrajectoryPoint::GetPosition ( void   )  const [inline, virtual]

Implements G4VTrajectoryPoint.

Definition at line 78 of file G4RayTrajectoryPoint.hh.

00078 { return G4ThreeVector();}

const G4VisAttributes* G4RayTrajectoryPoint::GetPostStepAtt (  )  const [inline]

Definition at line 72 of file G4RayTrajectoryPoint.hh.

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

00072 { return postStepAtt; }

const G4VisAttributes* G4RayTrajectoryPoint::GetPreStepAtt (  )  const [inline]

Definition at line 70 of file G4RayTrajectoryPoint.hh.

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

00070 { return preStepAtt; }

G4double G4RayTrajectoryPoint::GetStepLength (  )  const [inline]

Definition at line 76 of file G4RayTrajectoryPoint.hh.

Referenced by G4TheRayTracer::Attenuate().

00076 { return stepLength; }

G4ThreeVector G4RayTrajectoryPoint::GetSurfaceNormal (  )  const [inline]

Definition at line 74 of file G4RayTrajectoryPoint.hh.

Referenced by G4TheRayTracer::GetSurfaceColour().

00074 { return surfaceNormal; }

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

Definition at line 95 of file G4RayTrajectoryPoint.hh.

References G4RayTrajectoryPointAllocator.

00096 {
00097    G4RayTrajectoryPointAllocator.FreeSingle((G4RayTrajectoryPoint *) aTrajectoryPoint);
00098 }

void * G4RayTrajectoryPoint::operator new ( size_t   )  [inline]

Definition at line 88 of file G4RayTrajectoryPoint.hh.

References G4RayTrajectoryPointAllocator.

00089 {
00090    void *aTrajectoryPoint;
00091    aTrajectoryPoint = (void *) G4RayTrajectoryPointAllocator.MallocSingle();
00092    return aTrajectoryPoint;
00093 }

void G4RayTrajectoryPoint::SetPostStepAtt ( const G4VisAttributes val  )  [inline]

Definition at line 71 of file G4RayTrajectoryPoint.hh.

Referenced by G4RayTrajectory::AppendStep().

00071 { postStepAtt = val; }

void G4RayTrajectoryPoint::SetPreStepAtt ( const G4VisAttributes val  )  [inline]

Definition at line 69 of file G4RayTrajectoryPoint.hh.

Referenced by G4RayTrajectory::AppendStep().

00069 { preStepAtt = val; }

void G4RayTrajectoryPoint::SetStepLength ( G4double  val  )  [inline]

Definition at line 75 of file G4RayTrajectoryPoint.hh.

Referenced by G4RayTrajectory::AppendStep().

00075 { stepLength = val; }

void G4RayTrajectoryPoint::SetSurfaceNormal ( G4ThreeVector  val  )  [inline]

Definition at line 73 of file G4RayTrajectoryPoint.hh.

Referenced by G4RayTrajectory::AppendStep().

00073 { surfaceNormal = val; }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:16 2013 for Geant4 by  doxygen 1.4.7