83 +
fVP.GetCurrentTargetPoint();
86 if(radius<=0.) radius = 1.;
87 const G4double cameraDistance =
fVP.GetCameraDistance(radius);
89 targetPoint + cameraDistance *
fVP.GetViewpointDirection().unit();
90 const G4double nearDistance =
fVP.GetNearDistance(cameraDistance,radius);
91 const G4double frontHalfHeight =
fVP.GetFrontHalfHeight(nearDistance,radius);
92 const G4double frontHalfAngle = std::atan(frontHalfHeight / nearDistance);
96 SetViewSpan(200. * frontHalfAngle /
theTracer->GetNColumn());
97 theTracer->SetTargetPosition(targetPoint);
98 theTracer->SetEyePosition(cameraPosition);
101 actualLightpointDirection(-
fVP.GetActualLightpointDirection());
102 theTracer->SetLightDirection(actualLightpointDirection);
103 theTracer->SetBackgroundColour(
fVP.GetBackgroundColour());