Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
G4RayTrajectoryPoint Class Reference

#include <G4RayTrajectoryPoint.hh>

Inheritance diagram for G4RayTrajectoryPoint:
G4VTrajectoryPoint

Public Member Functions

 G4RayTrajectoryPoint ()
 
virtual ~G4RayTrajectoryPoint ()
 
voidoperator 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 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 ( )

Definition at line 40 of file G4RayTrajectoryPoint.cc.

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

Definition at line 46 of file G4RayTrajectoryPoint.cc.

47 {;}

Member Function Documentation

const G4ThreeVector G4RayTrajectoryPoint::GetPosition ( void  ) const
inlinevirtual

Implements G4VTrajectoryPoint.

Definition at line 78 of file G4RayTrajectoryPoint.hh.

78 { return G4ThreeVector();}
CLHEP::Hep3Vector G4ThreeVector
const G4VisAttributes* G4RayTrajectoryPoint::GetPostStepAtt ( ) const
inline

Definition at line 72 of file G4RayTrajectoryPoint.hh.

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

72 { return postStepAtt; }
const G4VisAttributes* G4RayTrajectoryPoint::GetPreStepAtt ( ) const
inline

Definition at line 70 of file G4RayTrajectoryPoint.hh.

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

70 { return preStepAtt; }
G4double G4RayTrajectoryPoint::GetStepLength ( ) const
inline

Definition at line 76 of file G4RayTrajectoryPoint.hh.

Referenced by G4TheRayTracer::Attenuate().

76 { return stepLength; }
G4ThreeVector G4RayTrajectoryPoint::GetSurfaceNormal ( ) const
inline

Definition at line 74 of file G4RayTrajectoryPoint.hh.

Referenced by G4TheRayTracer::GetSurfaceColour().

74 { return surfaceNormal; }
void G4RayTrajectoryPoint::operator delete ( void aTrajectoryPoint)
inline

Definition at line 95 of file G4RayTrajectoryPoint.hh.

References rayTrajectoryPointAllocator.

96 {
97  rayTrajectoryPointAllocator->FreeSingle((G4RayTrajectoryPoint *) aTrajectoryPoint);
98 }
G4DLLIMPORT G4ThreadLocal G4Allocator< G4RayTrajectoryPoint > * rayTrajectoryPointAllocator
void * G4RayTrajectoryPoint::operator new ( size_t  )
inline

Definition at line 88 of file G4RayTrajectoryPoint.hh.

References rayTrajectoryPointAllocator.

89 {
92  return (void *) rayTrajectoryPointAllocator->MallocSingle();
93 }
G4DLLIMPORT G4ThreadLocal G4Allocator< G4RayTrajectoryPoint > * rayTrajectoryPointAllocator
void G4RayTrajectoryPoint::SetPostStepAtt ( const G4VisAttributes val)
inline

Definition at line 71 of file G4RayTrajectoryPoint.hh.

Referenced by G4RayTrajectory::AppendStep().

71 { postStepAtt = val; }
void G4RayTrajectoryPoint::SetPreStepAtt ( const G4VisAttributes val)
inline

Definition at line 69 of file G4RayTrajectoryPoint.hh.

Referenced by G4RayTrajectory::AppendStep().

69 { preStepAtt = val; }
void G4RayTrajectoryPoint::SetStepLength ( G4double  val)
inline

Definition at line 75 of file G4RayTrajectoryPoint.hh.

Referenced by G4RayTrajectory::AppendStep().

75 { stepLength = val; }
void G4RayTrajectoryPoint::SetSurfaceNormal ( const G4ThreeVector val)
inline

Definition at line 73 of file G4RayTrajectoryPoint.hh.

Referenced by G4RayTrajectory::AppendStep().

73 { surfaceNormal = val; }

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