65 if(!trajectoryContainer)
return;
67 if(!trajectory)
return;
78 for(
int i=nPoint-2;i>=0;i--)
91 const G4RTRun* theLocalRun =
static_cast<const G4RTRun*
>(aLocalRun);
106 if(!preVis&&!postVis)
return transparent;
123 { preCol = transparent; }
135 { postCol = transparent; }
137 if(!preVis)
return postCol;
138 if(!postVis)
return preCol;
150 return G4Colour(red,green,blue,alpha);
158 if(!visible)
return sourceCol;
168 if(stepAlpha > 0.9999999){ stepAlpha = 0.9999999; }
171 G4double KtRed = std::exp((1.0-stepRed)*attenuationFuctor);
172 G4double KtGreen = std::exp((1.0-stepGreen)*attenuationFuctor);
173 G4double KtBlue = std::exp((1.0-stepBlue)*attenuationFuctor);
174 if(KtRed>1.0){KtRed=1.0;}
175 if(KtGreen>1.0){KtGreen=1.0;}
176 if(KtBlue>1.0){KtBlue=1.0;}
G4THitsMap< G4Colour > * colorMap
G4ThreeVector lightDirection
G4bool ValidColour(const G4VisAttributes *)
G4int add(const G4int &key, U *&aHit) const
G4ThreeVector GetSurfaceNormal() const
ForcedDrawingStyle GetForcedDrawingStyle() const
static double normal(HepRandomEngine *eptr)
virtual void Merge(const G4Run *)
G4RayTrajectoryPoint * GetPointC(G4int i) const
G4ThreeVector lightDirection
G4double GetStepLength() const
virtual int GetPointEntries() const
G4double attenuationLength
G4Colour backgroundColour
G4TrajectoryContainer * GetTrajectoryContainer() const
static const G4double alpha
static G4TheMTRayTracer * theInstance
virtual void RecordEvent(const G4Event *)
G4double attenuationLength
const G4VisAttributes * GetPostStepAtt() const
G4bool IsForceDrawingStyle() const
G4Colour backgroundColour
const G4VisAttributes * GetPreStepAtt() const
G4double GetAlpha() const
G4double GetGreen() const
virtual void Merge(const G4Run *)
G4Colour GetSurfaceColour(G4RayTrajectoryPoint *)
G4Colour GetMixedColour(G4Colour, G4Colour, G4double)
const G4Colour & GetColour() const
G4Colour Attenuate(G4RayTrajectoryPoint *, G4Colour)