Geant4
10.00.p03
|
#include <G4TheRayTracer.hh>
Protected Member Functions | |
virtual G4bool | CreateBitMap () |
void | CreateFigureFile (const G4String &fileName) |
G4bool | GenerateColour (G4Event *anEvent) |
virtual void | StoreUserActions () |
virtual void | RestoreUserActions () |
G4Colour | GetSurfaceColour (G4RayTrajectoryPoint *point) |
G4Colour | GetMixedColour (const G4Colour &surfCol, const G4Colour &transCol, G4double weight=0.5) |
G4Colour | Attenuate (G4RayTrajectoryPoint *point, const G4Colour &sourceCol) |
G4bool | ValidColour (const G4VisAttributes *visAtt) |
Definition at line 72 of file G4TheRayTracer.hh.
G4TheRayTracer::G4TheRayTracer | ( | G4VFigureFileMaker * | figMaker = 0 , |
G4VRTScanner * | scanner = 0 |
||
) |
Definition at line 58 of file G4TheRayTracer.cc.
References antialiasingOn, attenuationLength, backgroundColour, deg, distortionOn, eyePosition, G4EventManager::GetEventManager(), G4RTMessenger::GetInstance(), headAngle, lightDirection, m, nColumn, nRow, targetPosition, theEventManager, theFigMaker, theMessenger, theRayShooter, theRayTracerEventAction, theRayTracerStackingAction, theRayTracerSteppingAction, theRayTracerTrackingAction, theScanner, up, and viewSpan.
|
virtual |
Definition at line 90 of file G4TheRayTracer.cc.
References theFigMaker, theMessenger, theRayShooter, theRayTracerSteppingAction, theRayTracerTrackingAction, and theScanner.
|
protected |
Definition at line 385 of file G4TheRayTracer.cc.
References G4Colour::GetAlpha(), G4Colour::GetBlue(), G4VisAttributes::GetColour(), G4Colour::GetGreen(), G4RayTrajectoryPoint::GetPreStepAtt(), G4Colour::GetRed(), and G4RayTrajectoryPoint::GetStepLength().
Referenced by GenerateColour().
|
protectedvirtual |
Reimplemented in G4TheMTRayTracer.
Definition at line 183 of file G4TheRayTracer.cc.
References backgroundColour, G4GeometryManager::CloseGeometry(), colorB, colorG, colorR, G4VRTScanner::Coords(), cp, distortionOn, G4VRTScanner::Draw(), eyeDirection, eyePosition, G4State_GeomClosed, G4State_Idle, G4Geantino::GeantinoDefinition(), GenerateColour(), G4Colour::GetBlue(), G4VVisManager::GetConcreteInstance(), G4Colour::GetGreen(), G4RegionStore::GetInstance(), G4GeometryManager::GetInstance(), G4VPhysicalVolume::GetLogicalVolume(), G4TransportationManager::GetNavigatorForTracking(), G4ProcessManager::GetProcessList(), G4ParticleDefinition::GetProcessManager(), G4ProductionCutsTable::GetProductionCutsTable(), G4Colour::GetRed(), G4LogicalVolume::GetSolid(), G4StateManager::GetStateManager(), G4TransportationManager::GetTransportationManager(), headAngle, G4VVisManager::IgnoreStateChanges(), G4VRTScanner::Initialize(), G4VSolid::Inside(), kInfinity, kInside, G4Navigator::LocateGlobalPointAndSetup(), nColumn, nRow, G4GeometryManager::OpenGeometry(), G4EventManager::ProcessOneEvent(), rayColour, G4StateManager::SetNewState(), G4RayShooter::Shoot(), G4ProcessVector::size(), G4InuclParticleNames::sp, theEventManager, theRayShooter, theScanner, up, G4ProductionCutsTable::UpdateCoupleTable(), G4RegionStore::UpdateMaterialList(), and viewSpan.
Referenced by Trace().
|
protected |
Definition at line 292 of file G4TheRayTracer.cc.
References colorB, colorG, colorR, G4VFigureFileMaker::CreateFigureFile(), nColumn, nRow, and theFigMaker.
Referenced by Trace(), and G4TheMTRayTracer::Trace().
Definition at line 298 of file G4TheRayTracer.cc.
References Attenuate(), backgroundColour, G4Colour::GetAlpha(), GetMixedColour(), G4RayTrajectory::GetPointC(), G4RayTrajectory::GetPointEntries(), G4RayTrajectoryPoint::GetPostStepAtt(), GetSurfaceColour(), G4Event::GetTrajectoryContainer(), and rayColour.
Referenced by CreateBitMap().
|
inline |
Definition at line 182 of file G4TheRayTracer.hh.
References attenuationLength.
Referenced by G4RTMessenger::GetCurrentValue().
|
inline |
Definition at line 186 of file G4TheRayTracer.hh.
References backgroundColour.
Referenced by G4RTMessenger::GetCurrentValue().
|
inline |
Definition at line 184 of file G4TheRayTracer.hh.
References distortionOn.
Referenced by G4RTMessenger::GetCurrentValue().
|
inline |
Definition at line 170 of file G4TheRayTracer.hh.
References eyePosition.
Referenced by G4RTMessenger::GetCurrentValue().
|
inline |
Definition at line 117 of file G4TheRayTracer.hh.
References theFigMaker.
|
inline |
Definition at line 178 of file G4TheRayTracer.hh.
References headAngle.
Referenced by G4RTMessenger::GetCurrentValue().
|
inline |
Definition at line 174 of file G4TheRayTracer.hh.
References lightDirection.
Referenced by G4RTMessenger::GetCurrentValue().
|
protected |
Definition at line 325 of file G4TheRayTracer.cc.
References alpha, blue, G4Colour::GetAlpha(), G4Colour::GetBlue(), G4Colour::GetGreen(), G4Colour::GetRed(), and red.
Referenced by GenerateColour(), and GetSurfaceColour().
|
inline |
Definition at line 166 of file G4TheRayTracer.hh.
References nColumn.
Referenced by G4RTMessenger::GetCurrentValue(), and G4RayTracerViewer::SetView().
|
inline |
Definition at line 168 of file G4TheRayTracer.hh.
References nRow.
Referenced by G4RTMessenger::GetCurrentValue().
|
inline |
Definition at line 122 of file G4TheRayTracer.hh.
References theScanner.
|
protected |
Definition at line 334 of file G4TheRayTracer.cc.
References blue, G4Colour::GetAlpha(), G4Colour::GetBlue(), G4VisAttributes::GetColour(), G4Colour::GetGreen(), GetMixedColour(), G4RayTrajectoryPoint::GetPostStepAtt(), G4RayTrajectoryPoint::GetPreStepAtt(), G4Colour::GetRed(), G4RayTrajectoryPoint::GetSurfaceNormal(), lightDirection, CLHEP::normal(), red, and ValidColour().
Referenced by GenerateColour().
|
inline |
Definition at line 172 of file G4TheRayTracer.hh.
References targetPosition.
Referenced by G4RTMessenger::GetCurrentValue().
|
inline |
Definition at line 176 of file G4TheRayTracer.hh.
References up.
|
inline |
Definition at line 180 of file G4TheRayTracer.hh.
References viewSpan.
Referenced by G4RTMessenger::GetCurrentValue().
|
protectedvirtual |
Reimplemented in G4TheMTRayTracer.
Definition at line 167 of file G4TheRayTracer.cc.
References G4SDManager::Activate(), G4SDManager::GetSDMpointerIfExist(), G4EventManager::SetUserAction(), theEventManager, theUserEventAction, theUserStackingAction, theUserSteppingAction, and theUserTrackingAction.
Referenced by Trace().
|
inline |
Definition at line 181 of file G4TheRayTracer.hh.
Referenced by G4RTMessenger::SetNewValue().
|
inline |
Definition at line 185 of file G4TheRayTracer.hh.
Referenced by G4RayTracerViewer::SetView().
|
inline |
Definition at line 183 of file G4TheRayTracer.hh.
Referenced by G4RTMessenger::SetNewValue().
|
inline |
Definition at line 169 of file G4TheRayTracer.hh.
Referenced by G4RTMessenger::SetNewValue(), and G4RayTracerViewer::SetView().
|
inline |
Definition at line 113 of file G4TheRayTracer.hh.
References theFigMaker.
|
inline |
Definition at line 177 of file G4TheRayTracer.hh.
Referenced by G4RTMessenger::SetNewValue().
|
inline |
Definition at line 173 of file G4TheRayTracer.hh.
Referenced by G4RTMessenger::SetNewValue(), and G4RayTracerViewer::SetView().
|
inline |
Definition at line 165 of file G4TheRayTracer.hh.
Referenced by G4RayTracerViewer::G4RayTracerViewer(), and G4RTMessenger::SetNewValue().
|
inline |
Definition at line 167 of file G4TheRayTracer.hh.
Referenced by G4RTMessenger::SetNewValue().
|
inline |
Definition at line 118 of file G4TheRayTracer.hh.
References theScanner.
|
inline |
Definition at line 171 of file G4TheRayTracer.hh.
Referenced by G4RTMessenger::SetNewValue(), and G4RayTracerViewer::SetView().
|
inline |
Definition at line 175 of file G4TheRayTracer.hh.
Referenced by G4RayTracerViewer::SetView().
|
inline |
Definition at line 179 of file G4TheRayTracer.hh.
Referenced by G4RTMessenger::SetNewValue().
|
protectedvirtual |
Reimplemented in G4TheMTRayTracer.
Definition at line 143 of file G4TheRayTracer.cc.
References G4SDManager::Activate(), G4GeometryManager::CloseGeometry(), G4GeometryManager::GetInstance(), G4SDManager::GetSDMpointerIfExist(), G4EventManager::GetUserEventAction(), G4EventManager::GetUserStackingAction(), G4EventManager::GetUserSteppingAction(), G4EventManager::GetUserTrackingAction(), G4GeometryManager::OpenGeometry(), G4EventManager::SetUserAction(), theEventManager, theRayTracerEventAction, theRayTracerStackingAction, theRayTracerSteppingAction, theRayTracerTrackingAction, theUserEventAction, theUserStackingAction, theUserSteppingAction, and theUserTrackingAction.
Referenced by Trace().
|
virtual |
Reimplemented in G4TheMTRayTracer.
Definition at line 100 of file G4TheRayTracer.cc.
References G4UImanager::ApplyCommand(), colorB, colorG, colorR, CreateBitMap(), CreateFigureFile(), eyeDirection, eyePosition, G4cerr, G4endl, G4State_Idle, G4UImanager::GetCurrentIntValue(), G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), G4UImanager::GetUIpointer(), nColumn, nRow, RestoreUserActions(), StoreUserActions(), targetPosition, and theFigMaker.
Referenced by G4RayTracerViewer::DrawView(), and G4RTMessenger::SetNewValue().
|
protected |
Definition at line 413 of file G4TheRayTracer.cc.
References G4VisAttributes::GetForcedDrawingStyle(), G4VisAttributes::IsForceDrawingStyle(), G4VisAttributes::IsVisible(), and G4VisAttributes::wireframe.
Referenced by GetSurfaceColour().
|
protected |
Definition at line 159 of file G4TheRayTracer.hh.
Referenced by G4TheRayTracer().
|
protected |
Definition at line 156 of file G4TheRayTracer.hh.
Referenced by G4RTRun::G4RTRun(), G4TheRayTracer(), and GetAttenuationLength().
|
protected |
Definition at line 162 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4RTRun::G4RTRun(), G4TheRayTracer(), GenerateColour(), GetBackgroundColour(), and G4TheMTRayTracer::Trace().
|
protected |
Definition at line 144 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheMTRayTracer::CreateBitMap(), CreateFigureFile(), Trace(), and G4TheMTRayTracer::Trace().
|
protected |
Definition at line 143 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheMTRayTracer::CreateBitMap(), CreateFigureFile(), Trace(), and G4TheMTRayTracer::Trace().
|
protected |
Definition at line 142 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheMTRayTracer::CreateBitMap(), CreateFigureFile(), Trace(), and G4TheMTRayTracer::Trace().
|
protected |
Definition at line 158 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheRayTracer(), GetDistortion(), and G4RTPrimaryGeneratorAction::SetUp().
|
protected |
Definition at line 151 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4RTPrimaryGeneratorAction::SetUp(), Trace(), and G4TheMTRayTracer::Trace().
|
protected |
Definition at line 149 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheRayTracer(), GetEyePosition(), G4RTPrimaryGeneratorAction::SetUp(), Trace(), and G4TheMTRayTracer::Trace().
|
protected |
Definition at line 154 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheRayTracer(), and GetHeadAngle().
|
protected |
Definition at line 152 of file G4TheRayTracer.hh.
Referenced by G4RTRun::G4RTRun(), G4TheRayTracer(), GetLightDirection(), and GetSurfaceColour().
|
protected |
Definition at line 146 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheMTRayTracer::CreateBitMap(), CreateFigureFile(), G4TheRayTracer(), GetNColumn(), G4RTPrimaryGeneratorAction::SetUp(), Trace(), and G4TheMTRayTracer::Trace().
|
protected |
Definition at line 147 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheMTRayTracer::CreateBitMap(), CreateFigureFile(), G4TheRayTracer(), GetNRow(), G4RTPrimaryGeneratorAction::SetUp(), Trace(), and G4TheMTRayTracer::Trace().
|
protected |
Definition at line 161 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), and GenerateColour().
|
protected |
Definition at line 150 of file G4TheRayTracer.hh.
Referenced by G4TheRayTracer(), GetTargetPosition(), Trace(), and G4TheMTRayTracer::Trace().
|
protected |
Definition at line 130 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheRayTracer(), RestoreUserActions(), and StoreUserActions().
|
protected |
Definition at line 126 of file G4TheRayTracer.hh.
Referenced by CreateFigureFile(), G4TheRayTracer(), GetFigureFileMaker(), SetFigureFileMaker(), Trace(), G4TheMTRayTracer::Trace(), and ~G4TheRayTracer().
|
protected |
Definition at line 127 of file G4TheRayTracer.hh.
Referenced by G4TheRayTracer(), and ~G4TheRayTracer().
|
protected |
Definition at line 125 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheRayTracer(), and ~G4TheRayTracer().
|
protected |
Definition at line 137 of file G4TheRayTracer.hh.
Referenced by G4TheRayTracer(), and StoreUserActions().
|
protected |
Definition at line 138 of file G4TheRayTracer.hh.
Referenced by G4TheRayTracer(), and StoreUserActions().
|
protected |
Definition at line 140 of file G4TheRayTracer.hh.
Referenced by G4TheRayTracer(), StoreUserActions(), and ~G4TheRayTracer().
|
protected |
Definition at line 139 of file G4TheRayTracer.hh.
Referenced by G4TheRayTracer(), StoreUserActions(), and ~G4TheRayTracer().
|
protected |
Definition at line 128 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheMTRayTracer::CreateBitMap(), G4TheRayTracer(), GetScanner(), SetScanner(), and ~G4TheRayTracer().
|
protected |
Definition at line 132 of file G4TheRayTracer.hh.
Referenced by RestoreUserActions(), and StoreUserActions().
|
protected |
Definition at line 133 of file G4TheRayTracer.hh.
Referenced by RestoreUserActions(), and StoreUserActions().
|
protected |
Definition at line 135 of file G4TheRayTracer.hh.
Referenced by RestoreUserActions(), and StoreUserActions().
|
protected |
Definition at line 134 of file G4TheRayTracer.hh.
Referenced by RestoreUserActions(), and StoreUserActions().
|
protected |
Definition at line 153 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheRayTracer(), and GetUpVector().
|
protected |
Definition at line 155 of file G4TheRayTracer.hh.
Referenced by CreateBitMap(), G4TheRayTracer(), GetViewSpan(), and G4RTPrimaryGeneratorAction::SetUp().