40 #ifdef G4MULTITHREADED
52 #ifdef G4MULTITHREADED
58 theTracer->
SetNColumn(fVP.GetWindowSizeHintX());
59 theTracer->SetNRow(fVP.GetWindowSizeHintY());
73 if(radius<=0.) radius = 1.;
79 const G4double frontHalfAngle = std::atan(frontHalfHeight / nearDistance);
99 static G4bool called =
false;
107 "WARNING: G4RayTracerViewer::DrawView: true orthogonal projection"
108 "\n not yet implemented. Doing a \"long shot\", i.e., a perspective"
109 "\n projection with a half field angle of "
119 std::ostringstream filename;
void SetLightDirection(const G4ThreeVector &val)
static constexpr double perMillion
const G4Colour & GetBackgroundColour() const
G4Vector3D & GetActualLightpointDirection()
G4RayTracerViewer(G4VSceneHandler &, const G4String &name, G4TheRayTracer *=0)
G4int IncrementViewCount()
virtual ~G4RayTracerViewer()
HepGeom::Point3D< G4double > G4Point3D
HepGeom::Vector3D< G4double > G4Vector3D
const char * name(G4int ptype)
void SetNColumn(G4int val)
G4double GetCameraDistance(G4double radius) const
const G4Point3D & GetCurrentTargetPoint() const
G4double GetNearDistance(G4double cameraDistance, G4double radius) const
G4double GetExtentRadius() const
virtual void Trace(const G4String &fileName)
const G4Vector3D & GetViewpointDirection() const
G4GLOB_DLL std::ostream G4cout
const G4VisExtent & GetExtent() const
const G4Point3D & GetStandardTargetPoint() const
G4double GetFrontHalfHeight(G4double nearDistance, G4double radius) const
void SetFieldHalfAngle(G4double fieldHalfAngle)
void SetUpVector(const G4ThreeVector &val)
G4Scene * GetScene() const
void SetBackgroundColour(const G4Colour &val)
G4TheRayTracer * theTracer
G4double GetFieldHalfAngle() const
static G4TheMTRayTracer * theInstance
void SetEyePosition(const G4ThreeVector &val)
const G4Vector3D & GetUpVector() const
G4VSceneHandler & fSceneHandler
void SetTargetPosition(const G4ThreeVector &val)