64 if(!trajectoryContainer)
return;
66 if(!trajectory)
return;
77 for(
int i=nPoint-2;i>=0;i--)
90 const G4RTRun* theLocalRun =
static_cast<const G4RTRun*
>(aLocalRun);
105 if(!preVis&&!postVis)
return transparent;
122 { preCol = transparent; }
134 { postCol = transparent; }
136 if(!preVis)
return postCol;
137 if(!postVis)
return preCol;
157 if(!visible)
return sourceCol;
167 if(stepAlpha > 0.9999999){ stepAlpha = 0.9999999; }
170 G4double KtRed = std::exp((1.0-stepRed)*attenuationFuctor);
171 G4double KtGreen = std::exp((1.0-stepGreen)*attenuationFuctor);
172 G4double KtBlue = std::exp((1.0-stepBlue)*attenuationFuctor);
173 if(KtRed>1.0){KtRed=1.0;}
174 if(KtGreen>1.0){KtGreen=1.0;}
175 if(KtBlue>1.0){KtBlue=1.0;}
static const G4double alpha
G4double GetAlpha() const
G4double GetGreen() const
G4TrajectoryContainer * GetTrajectoryContainer() const
G4bool ValidColour(const G4VisAttributes *)
G4ThreeVector lightDirection
G4Colour backgroundColour
G4Colour GetSurfaceColour(G4RayTrajectoryPoint *)
virtual void RecordEvent(const G4Event *)
G4Colour Attenuate(G4RayTrajectoryPoint *, G4Colour)
G4THitsMap< G4Colour > * colorMap
virtual void Merge(const G4Run *)
G4double attenuationLength
G4Colour GetMixedColour(G4Colour, G4Colour, G4double)
G4ThreeVector GetSurfaceNormal() const
const G4VisAttributes * GetPostStepAtt() const
G4double GetStepLength() const
const G4VisAttributes * GetPreStepAtt() const
virtual int GetPointEntries() const
G4RayTrajectoryPoint * GetPointC(G4int i) const
virtual void Merge(const G4Run *)
static G4TheMTRayTracer * theInstance
G4ThreeVector lightDirection
G4Colour backgroundColour
G4double attenuationLength
size_t add(const G4int &key, U *&aHit) const
const G4Colour & GetColour() const
ForcedDrawingStyle GetForcedDrawingStyle() const
G4bool IsForceDrawingStyle() const
static double normal(HepRandomEngine *eptr)