74#ifndef G4VIEWPARAMETERS_HH
75#define G4VIEWPARAMETERS_HH
112 friend std::ostream&
operator <<
115 friend std::ostream&
operator <<
184 const std::vector<G4ModelingParameters::VisAttributesModifier>&
319 (
const std::vector<G4ViewParameters>& views,
320 G4int nInterpolationPoints = 50);
324 G4int ParseGeometry (
const char *
string,
G4int *x,
G4int *y,
unsigned int *width,
unsigned int *height);
325 G4int ReadInteger(
char *
string,
char **NextString);
328 G4int fNumberOfCloudPoints;
336 G4int fCBDAlgorithmNumber;
337 std::vector<G4double> fCBDParameters;
353 G4bool fLightsMoveWithCamera;
367 G4int fWindowSizeHintX;
368 G4int fWindowSizeHintY;
369 G4int fWindowLocationHintX;
370 G4int fWindowLocationHintY;
371 G4bool fWindowLocationHintXNegative;
372 G4bool fWindowLocationHintYNegative;
379 std::vector<G4ModelingParameters::VisAttributesModifier> fVisAttributesModifiers;
383 G4double fDisplayHeadTimeX, fDisplayHeadTimeY;
385 G4double fDisplayHeadTimeRed, fDisplayHeadTimeGreen, fDisplayHeadTimeBlue;
386 G4bool fDisplayLightFront;
387 G4double fDisplayLightFrontX, fDisplayLightFrontY, fDisplayLightFrontZ,
389 G4double fDisplayLightFrontRed, fDisplayLightFrontGreen, fDisplayLightFrontBlue;
395 fWidthValue = 0x0004,
396 fHeightValue = 0x0008,
403#include "G4ViewParameters.icc"
std::vector< G4Plane3D > G4Planes
void SetCBDParameters(const std::vector< G4double > &)
bool IsWindowLocationHintY() const
G4int GetWindowLocationHintX() const
void SetViewpointDirection(const G4Vector3D &viewpointDirection)
void SetScaleFactor(const G4Vector3D &scaleFactor)
const std::vector< G4ModelingParameters::VisAttributesModifier > & GetVisAttributesModifiers() const
G4int SetNumberOfCloudPoints(G4int)
static G4ViewParameters * CatmullRomCubicSplineInterpolation(const std::vector< G4ViewParameters > &views, G4int nInterpolationPoints=50)
G4int SetNoOfSides(G4int nSides)
void SetViewAndLights(const G4Vector3D &viewpointDirection)
const G4Vector3D & GetScaleFactor() const
G4double GetDisplayLightFrontX() const
void SetAutoRefresh(G4bool)
void SetBackgroundColour(const G4Colour &)
const G4String & GetXGeometryString() const
void SetGlobalMarkerScale(G4double globalMarkerScale)
void SetExplodeCentre(const G4Point3D &explodeCentre)
void SetDisplayLightFrontY(G4double)
G4bool IsDisplayHeadTime() const
G4double GetDisplayHeadTimeSize() const
G4int GetNoOfSides() const
G4double GetDisplayHeadTimeBlue() const
G4int GetWindowAbsoluteLocationHintY(G4int) const
G4String CameraAndLightingCommands(const G4Point3D standardTargetPoint) const
CutawayMode GetCutawayMode() const
G4double GetDisplayHeadTimeY() const
G4double GetCameraDistance(G4double radius) const
bool IsWindowLocationHintX() const
G4double GetExplodeFactor() const
void PrintDifferences(const G4ViewParameters &v) const
G4int GetNumberOfCloudPoints() const
G4bool IsMarkerNotHidden() const
void SetDisplayHeadTimeBlue(G4double)
void SetVisibleDensity(G4double visibleDensity)
unsigned int GetWindowSizeHintX() const
G4double GetGlobalLineWidthScale() const
void SetPerspectiveProjection(G4double fieldHalfAngle=30. *CLHEP::deg)
void AddVisAttributesModifier(const G4ModelingParameters::VisAttributesModifier &)
G4Vector3D & GetActualLightpointDirection()
void SetDefaultColour(const G4Colour &)
void SetCurrentTargetPoint(const G4Point3D ¤tTargetPoint)
void SetDisplayLightFrontT(G4double)
void SetDrawingStyle(G4ViewParameters::DrawingStyle style)
bool IsWindowSizeHintX() const
const G4Colour & GetBackgroundColour() const
const G4Vector3D & GetLightpointDirection() const
void SetDefaultTextColour(const G4Colour &)
void SetDisplayHeadTimeX(G4double)
void SetXGeometryString(const G4String &)
void SetDefaultVisAttributes(const G4VisAttributes &)
void SetFieldHalfAngle(G4double fieldHalfAngle)
void SetCullingCovered(G4bool)
const G4Vector3D & GetViewpointDirection() const
void ClearCutawayPlanes()
void SetExplodeFactor(G4double explodeFactor)
G4double GetDisplayHeadTimeX() const
void SetGlobalLineWidthScale(G4double globalLineWidthScale)
const G4Point3D & GetCurrentTargetPoint() const
G4double GetDisplayLightFrontRed() const
void SetCBDAlgorithmNumber(G4int)
void SetStartTime(G4double)
G4double GetFarDistance(G4double cameraDistance, G4double nearDistance, G4double radius) const
void MultiplyScaleFactor(const G4Vector3D &scaleFactorMultiplier)
G4double GetFieldHalfAngle() const
bool IsWindowSizeHintY() const
void SetDisplayLightFrontBlue(G4double)
G4double GetFrontHalfHeight(G4double nearDistance, G4double radius) const
void SetDisplayHeadTime(G4bool)
const G4VisAttributes * GetDefaultTextVisAttributes() const
G4double GetZoomFactor() const
void SetDolly(G4double dolly)
void SetDisplayHeadTimeY(G4double)
void SetDensityCulling(G4bool)
void SetOrthogonalProjection()
G4int GetWindowAbsoluteLocationHintX(G4int) const
void SetDisplayLightFrontZ(G4double)
G4String SceneModifyingCommands() const
const G4VMarker & GetDefaultMarker() const
G4double GetStartTime() const
G4double GetDisplayLightFrontBlue() const
void SetWindowSizeHint(G4int xHint, G4int yHint)
void SetDefaultMarker(const G4VMarker &defaultMarker)
void IncrementPan(G4double right, G4double up)
void SetDisplayLightFront(G4bool)
void SetWindowLocationHint(G4int xHint, G4int yHint)
void SetDisplayLightFrontRed(G4double)
const G4Vector3D & GetUpVector() const
void SetDisplayHeadTimeSize(G4double)
G4String TimeWindowCommands() const
G4String TouchableCommands() const
void SetMarkerNotHidden()
const std::vector< G4double > & GetCBDParameters() const
void SetDisplayHeadTimeRed(G4double)
G4int GetCBDAlgorithmNumber() const
G4double GetEndTime() const
G4double GetDisplayLightFrontZ() const
void ChangeCutawayPlane(size_t index, const G4Plane3D &cutawayPlane)
G4double GetFadeFactor() const
G4double GetDisplayHeadTimeRed() const
G4double GetGlobalMarkerScale() const
G4bool IsCullingInvisible() const
void SetZoomFactor(G4double zoomFactor)
void UnsetExplodeFactor()
G4double GetDisplayLightFrontT() const
const G4VisAttributes * GetDefaultVisAttributes() const
void SetCullingInvisible(G4bool)
void SetUpVector(const G4Vector3D &upVector)
G4double GetDisplayLightFrontY() const
void SetEndTime(G4double)
void SetPan(G4double right, G4double up)
G4bool IsDisplayLightFront() const
void SetFadeFactor(G4double)
const G4Planes & GetCutawayPlanes() const
RotationStyle GetRotationStyle() const
G4int GetWindowLocationHintY() const
void SetCutawayMode(CutawayMode)
G4double GetDisplayHeadTimeGreen() const
G4bool IsDensityCulling() const
void SetDefaultTextVisAttributes(const G4VisAttributes &)
void SetLightpointDirection(const G4Vector3D &lightpointDirection)
void SetDisplayLightFrontX(G4double)
void SetLightsMoveWithCamera(G4bool moves)
void SetDisplayHeadTimeGreen(G4double)
G4double GetDisplayLightFrontGreen() const
void MultiplyZoomFactor(G4double zoomFactorMultiplier)
G4String DrawingStyleCommands() const
void SetRotationStyle(RotationStyle)
G4bool IsAutoRefresh() const
G4double GetVisibleDensity() const
unsigned int GetWindowSizeHintY() const
G4bool operator!=(const G4ViewParameters &) const
G4bool GetLightsMoveWithCamera() const
void IncrementDolly(G4double dollyIncrement)
void SetSectionPlane(const G4Plane3D §ionPlane)
void SetAuxEdgeVisible(G4bool)
void SetDisplayLightFrontGreen(G4double)
const G4Point3D & GetExplodeCentre() const
G4bool IsCullingCovered() const
const G4Plane3D & GetSectionPlane() const
G4double GetNearDistance(G4double cameraDistance, G4double radius) const
DrawingStyle GetDrawingStyle() const
void ClearVisAttributesModifiers()
void AddCutawayPlane(const G4Plane3D &cutawayPlane)
G4bool IsAuxEdgeVisible() const
G4double GetDolly() const