Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
G4TheRayTracer Class Reference

#include <G4TheRayTracer.hh>

Collaboration diagram for G4TheRayTracer:
Collaboration graph
[legend]

Public Member Functions

 G4TheRayTracer (G4VFigureFileMaker *figMaker=0, G4VRTScanner *scanner=0)
 
 ~G4TheRayTracer ()
 
void Trace (G4String fileName)
 
void SetFigureFileMaker (G4VFigureFileMaker *figMaker)
 
G4VFigureFileMakerGetFigureFileMaker ()
 
void SetScanner (G4VRTScanner *scanner)
 
G4VRTScannerGetScanner ()
 
void SetNColumn (G4int val)
 
G4int GetNColumn () const
 
void SetNRow (G4int val)
 
G4int GetNRow () const
 
void SetEyePosition (const G4ThreeVector &val)
 
G4ThreeVector GetEyePosition () const
 
void SetTargetPosition (const G4ThreeVector &val)
 
G4ThreeVector GetTargetPosition () const
 
void SetLightDirection (const G4ThreeVector &val)
 
G4ThreeVector GetLightDirection () const
 
void SetUpVector (const G4ThreeVector &val)
 
G4ThreeVector GetUpVector () const
 
void SetHeadAngle (G4double val)
 
G4double GetHeadAngle () const
 
void SetViewSpan (G4double val)
 
G4double GetViewSpan () const
 
void SetAttenuationLength (G4double val)
 
G4double GetAttenuationLength () const
 
void SetDistortion (G4bool val)
 
G4bool GetDistortion () const
 
void SetBackgroundColour (G4Colour val)
 
G4Colour GetBackgroundColour () const
 

Protected Member Functions

G4bool CreateBitMap ()
 
void CreateFigureFile (G4String fileName)
 
G4bool GenerateColour (G4Event *anEvent)
 
void StoreUserActions ()
 
void RestoreUserActions ()
 
G4Colour GetSurfaceColour (G4RayTrajectoryPoint *point)
 
G4Colour GetMixedColour (G4Colour surfCol, G4Colour transCol, G4double weight=0.5)
 
G4Colour Attenuate (G4RayTrajectoryPoint *point, G4Colour sourceCol)
 
G4bool ValidColour (const G4VisAttributes *visAtt)
 

Protected Attributes

G4RayShootertheRayShooter
 
G4VFigureFileMakertheFigMaker
 
G4RTMessengertheMessenger
 
G4VRTScannertheScanner
 
G4EventManagertheEventManager
 
G4UserEventActiontheUserEventAction
 
G4UserStackingActiontheUserStackingAction
 
G4UserTrackingActiontheUserTrackingAction
 
G4UserSteppingActiontheUserSteppingAction
 
G4UserEventActiontheRayTracerEventAction
 
G4UserStackingActiontheRayTracerStackingAction
 
G4RTTrackingActiontheRayTracerTrackingAction
 
G4RTSteppingActiontheRayTracerSteppingAction
 
unsigned char * colorR
 
unsigned char * colorG
 
unsigned char * colorB
 
G4int nColumn
 
G4int nRow
 
G4ThreeVector eyePosition
 
G4ThreeVector targetPosition
 
G4ThreeVector eyeDirection
 
G4ThreeVector lightDirection
 
G4ThreeVector up
 
G4double headAngle
 
G4double viewSpan
 
G4double attenuationLength
 
G4bool distortionOn
 
G4bool antialiasingOn
 
G4Colour rayColour
 
G4Colour backgroundColour
 

Detailed Description

Definition at line 72 of file G4TheRayTracer.hh.

Constructor & Destructor Documentation

G4TheRayTracer::G4TheRayTracer ( G4VFigureFileMaker figMaker = 0,
G4VRTScanner scanner = 0 
)

Definition at line 57 of file G4TheRayTracer.cc.

Here is the call graph for this function:

G4TheRayTracer::~G4TheRayTracer ( )

Definition at line 89 of file G4TheRayTracer.cc.

Member Function Documentation

G4Colour G4TheRayTracer::Attenuate ( G4RayTrajectoryPoint point,
G4Colour  sourceCol 
)
protected

Definition at line 376 of file G4TheRayTracer.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4TheRayTracer::CreateBitMap ( )
protected

Definition at line 182 of file G4TheRayTracer.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4TheRayTracer::CreateFigureFile ( G4String  fileName)
protected

Definition at line 287 of file G4TheRayTracer.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4TheRayTracer::GenerateColour ( G4Event anEvent)
protected

Definition at line 293 of file G4TheRayTracer.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4TheRayTracer::GetAttenuationLength ( ) const
inline

Definition at line 181 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

G4Colour G4TheRayTracer::GetBackgroundColour ( ) const
inline

Definition at line 185 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

G4bool G4TheRayTracer::GetDistortion ( ) const
inline

Definition at line 183 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

G4ThreeVector G4TheRayTracer::GetEyePosition ( ) const
inline

Definition at line 169 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

G4VFigureFileMaker* G4TheRayTracer::GetFigureFileMaker ( )
inline

Definition at line 116 of file G4TheRayTracer.hh.

G4double G4TheRayTracer::GetHeadAngle ( ) const
inline

Definition at line 177 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

G4ThreeVector G4TheRayTracer::GetLightDirection ( ) const
inline

Definition at line 173 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

G4Colour G4TheRayTracer::GetMixedColour ( G4Colour  surfCol,
G4Colour  transCol,
G4double  weight = 0.5 
)
protected

Definition at line 319 of file G4TheRayTracer.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4TheRayTracer::GetNColumn ( ) const
inline

Definition at line 165 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

G4int G4TheRayTracer::GetNRow ( ) const
inline

Definition at line 167 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

G4VRTScanner* G4TheRayTracer::GetScanner ( )
inline

Definition at line 121 of file G4TheRayTracer.hh.

G4Colour G4TheRayTracer::GetSurfaceColour ( G4RayTrajectoryPoint point)
protected

Definition at line 328 of file G4TheRayTracer.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4ThreeVector G4TheRayTracer::GetTargetPosition ( ) const
inline

Definition at line 171 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

G4ThreeVector G4TheRayTracer::GetUpVector ( ) const
inline

Definition at line 175 of file G4TheRayTracer.hh.

G4double G4TheRayTracer::GetViewSpan ( ) const
inline

Definition at line 179 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

void G4TheRayTracer::RestoreUserActions ( )
protected

Definition at line 166 of file G4TheRayTracer.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4TheRayTracer::SetAttenuationLength ( G4double  val)
inline

Definition at line 180 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

void G4TheRayTracer::SetBackgroundColour ( G4Colour  val)
inline

Definition at line 184 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

void G4TheRayTracer::SetDistortion ( G4bool  val)
inline

Definition at line 182 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

void G4TheRayTracer::SetEyePosition ( const G4ThreeVector val)
inline

Definition at line 168 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

void G4TheRayTracer::SetFigureFileMaker ( G4VFigureFileMaker figMaker)
inline

Definition at line 112 of file G4TheRayTracer.hh.

void G4TheRayTracer::SetHeadAngle ( G4double  val)
inline

Definition at line 176 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

void G4TheRayTracer::SetLightDirection ( const G4ThreeVector val)
inline

Definition at line 172 of file G4TheRayTracer.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4TheRayTracer::SetNColumn ( G4int  val)
inline

Definition at line 164 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

void G4TheRayTracer::SetNRow ( G4int  val)
inline

Definition at line 166 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

void G4TheRayTracer::SetScanner ( G4VRTScanner scanner)
inline

Definition at line 117 of file G4TheRayTracer.hh.

void G4TheRayTracer::SetTargetPosition ( const G4ThreeVector val)
inline

Definition at line 170 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

void G4TheRayTracer::SetUpVector ( const G4ThreeVector val)
inline

Definition at line 174 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

void G4TheRayTracer::SetViewSpan ( G4double  val)
inline

Definition at line 178 of file G4TheRayTracer.hh.

Here is the caller graph for this function:

void G4TheRayTracer::StoreUserActions ( )
protected

Definition at line 142 of file G4TheRayTracer.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4TheRayTracer::Trace ( G4String  fileName)

Definition at line 99 of file G4TheRayTracer.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4TheRayTracer::ValidColour ( const G4VisAttributes visAtt)
protected

Definition at line 404 of file G4TheRayTracer.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

G4bool G4TheRayTracer::antialiasingOn
protected

Definition at line 158 of file G4TheRayTracer.hh.

G4double G4TheRayTracer::attenuationLength
protected

Definition at line 155 of file G4TheRayTracer.hh.

G4Colour G4TheRayTracer::backgroundColour
protected

Definition at line 161 of file G4TheRayTracer.hh.

unsigned char* G4TheRayTracer::colorB
protected

Definition at line 143 of file G4TheRayTracer.hh.

unsigned char* G4TheRayTracer::colorG
protected

Definition at line 142 of file G4TheRayTracer.hh.

unsigned char* G4TheRayTracer::colorR
protected

Definition at line 141 of file G4TheRayTracer.hh.

G4bool G4TheRayTracer::distortionOn
protected

Definition at line 157 of file G4TheRayTracer.hh.

G4ThreeVector G4TheRayTracer::eyeDirection
protected

Definition at line 150 of file G4TheRayTracer.hh.

G4ThreeVector G4TheRayTracer::eyePosition
protected

Definition at line 148 of file G4TheRayTracer.hh.

G4double G4TheRayTracer::headAngle
protected

Definition at line 153 of file G4TheRayTracer.hh.

G4ThreeVector G4TheRayTracer::lightDirection
protected

Definition at line 151 of file G4TheRayTracer.hh.

G4int G4TheRayTracer::nColumn
protected

Definition at line 145 of file G4TheRayTracer.hh.

G4int G4TheRayTracer::nRow
protected

Definition at line 146 of file G4TheRayTracer.hh.

G4Colour G4TheRayTracer::rayColour
protected

Definition at line 160 of file G4TheRayTracer.hh.

G4ThreeVector G4TheRayTracer::targetPosition
protected

Definition at line 149 of file G4TheRayTracer.hh.

G4EventManager* G4TheRayTracer::theEventManager
protected

Definition at line 129 of file G4TheRayTracer.hh.

G4VFigureFileMaker* G4TheRayTracer::theFigMaker
protected

Definition at line 125 of file G4TheRayTracer.hh.

G4RTMessenger* G4TheRayTracer::theMessenger
protected

Definition at line 126 of file G4TheRayTracer.hh.

G4RayShooter* G4TheRayTracer::theRayShooter
protected

Definition at line 124 of file G4TheRayTracer.hh.

G4UserEventAction* G4TheRayTracer::theRayTracerEventAction
protected

Definition at line 136 of file G4TheRayTracer.hh.

G4UserStackingAction* G4TheRayTracer::theRayTracerStackingAction
protected

Definition at line 137 of file G4TheRayTracer.hh.

G4RTSteppingAction* G4TheRayTracer::theRayTracerSteppingAction
protected

Definition at line 139 of file G4TheRayTracer.hh.

G4RTTrackingAction* G4TheRayTracer::theRayTracerTrackingAction
protected

Definition at line 138 of file G4TheRayTracer.hh.

G4VRTScanner* G4TheRayTracer::theScanner
protected

Definition at line 127 of file G4TheRayTracer.hh.

G4UserEventAction* G4TheRayTracer::theUserEventAction
protected

Definition at line 131 of file G4TheRayTracer.hh.

G4UserStackingAction* G4TheRayTracer::theUserStackingAction
protected

Definition at line 132 of file G4TheRayTracer.hh.

G4UserSteppingAction* G4TheRayTracer::theUserSteppingAction
protected

Definition at line 134 of file G4TheRayTracer.hh.

G4UserTrackingAction* G4TheRayTracer::theUserTrackingAction
protected

Definition at line 133 of file G4TheRayTracer.hh.

G4ThreeVector G4TheRayTracer::up
protected

Definition at line 152 of file G4TheRayTracer.hh.

G4double G4TheRayTracer::viewSpan
protected

Definition at line 154 of file G4TheRayTracer.hh.


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