#include <G4RayTracerViewer.hh>
Definition at line 38 of file G4RayTracerViewer.hh.
◆ G4RayTracerViewer()
Definition at line 45 of file G4RayTracerViewer.cc.
52 #ifdef G4MULTITHREADED
G4int IncrementViewCount()
void SetNColumn(G4int val)
G4VViewer(G4VSceneHandler &, G4int id, const G4String &name="")
unsigned int GetWindowSizeHintX() const
G4TheRayTracer * theTracer
static G4TheMTRayTracer * theInstance
unsigned int GetWindowSizeHintY() const
◆ ~G4RayTracerViewer()
G4RayTracerViewer::~G4RayTracerViewer |
( |
| ) |
|
|
virtual |
◆ ClearView()
void G4RayTracerViewer::ClearView |
( |
void |
| ) |
|
|
virtual |
◆ DrawView()
void G4RayTracerViewer::DrawView |
( |
| ) |
|
|
virtual |
Implements G4VViewer.
Definition at line 96 of file G4RayTracerViewer.cc.
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;
virtual void Trace(const G4String &fileName)
G4GLOB_DLL std::ostream G4cout
void SetFieldHalfAngle(G4double fieldHalfAngle)
static const double perMillion
G4TheRayTracer * theTracer
G4double GetFieldHalfAngle() const
◆ GetTracer()
◆ SetView()
void G4RayTracerViewer::SetView |
( |
| ) |
|
|
virtual |
Implements G4VViewer.
Definition at line 64 of file G4RayTracerViewer.cc.
73 if(radius<=0.) radius = 1.;
79 const G4double frontHalfAngle = std::atan(frontHalfHeight / nearDistance);
void SetLightDirection(const G4ThreeVector &val)
G4Vector3D & GetActualLightpointDirection()
G4Scene * GetScene() const
G4double GetExtentRadius() const
const G4Vector3D & GetUpVector() const
G4double GetCameraDistance(G4double radius) const
const G4Vector3D & GetViewpointDirection() const
G4double GetNearDistance(G4double cameraDistance, G4double radius) const
const G4VisExtent & GetExtent() const
const G4Point3D & GetStandardTargetPoint() const
void SetUpVector(const G4ThreeVector &val)
const G4Point3D & GetCurrentTargetPoint() const
void SetBackgroundColour(const G4Colour &val)
G4TheRayTracer * theTracer
G4double GetFrontHalfHeight(G4double nearDistance, G4double radius) const
const G4Colour & GetBackgroundColour() const
BasicVector3D< T > unit() const
void SetEyePosition(const G4ThreeVector &val)
G4VSceneHandler & fSceneHandler
void SetTargetPosition(const G4ThreeVector &val)
◆ fFileCount
G4int G4RayTracerViewer::fFileCount |
|
protected |
◆ theTracer
The documentation for this class was generated from the following files: