44 G4VViewer(sceneHandler, sceneHandler.IncrementViewCount(), name),
64 if(radius<=0.) radius = 1.;
70 const G4double frontHalfAngle = std::atan(frontHalfHeight / nearDistance);
90 static G4bool called =
false;
95 G4double fieldHalfAngle = perMillion;
98 "WARNING: G4RayTracerViewer::DrawView: true orthogonal projection"
99 "\n not yet implemented. Doing a \"long shot\", i.e., a perspective"
100 "\n projection with a half field angle of "
110 std::ostringstream filename;
G4DLLIMPORT std::ostream G4cout
G4RayTracerViewer(G4VSceneHandler &, const G4String &name, G4TheRayTracer *=0)
G4TheRayTracer * theTracer
virtual ~G4RayTracerViewer()
const G4VisExtent & GetExtent() const
const G4Point3D & GetStandardTargetPoint() const
void SetTargetPosition(const G4ThreeVector &val)
void SetUpVector(const G4ThreeVector &val)
void SetNColumn(G4int val)
void SetLightDirection(const G4ThreeVector &val)
void SetBackgroundColour(G4Colour val)
void Trace(G4String fileName)
void SetEyePosition(const G4ThreeVector &val)
G4Scene * GetScene() const
G4VSceneHandler & fSceneHandler
G4double GetCameraDistance(G4double radius) const
unsigned int GetWindowSizeHintX() const
G4Vector3D & GetActualLightpointDirection()
const G4Colour & GetBackgroundColour() const
void SetFieldHalfAngle(G4double fieldHalfAngle)
const G4Vector3D & GetViewpointDirection() const
const G4Point3D & GetCurrentTargetPoint() const
G4double GetFieldHalfAngle() const
G4double GetFrontHalfHeight(G4double nearDistance, G4double radius) const
const G4Vector3D & GetUpVector() const
unsigned int GetWindowSizeHintY() const
G4double GetNearDistance(G4double cameraDistance, G4double radius) const
G4double GetExtentRadius() const
BasicVector3D< T > unit() const