74#ifndef G4VIEWPARAMETERS_HH
75#define G4VIEWPARAMETERS_HH
186 const std::vector<G4ModelingParameters::VisAttributesModifier>&
274 G4int ParseGeometry (
const char *
string,
G4int *x,
G4int *y,
unsigned int *width,
unsigned int *height);
275 G4int ReadInteger(
char *
string,
char **NextString);
300 G4bool fLightsMoveWithCamera;
314 G4int fWindowSizeHintX;
315 G4int fWindowSizeHintY;
316 G4int fWindowLocationHintX;
317 G4int fWindowLocationHintY;
318 G4bool fWindowLocationHintXNegative;
319 G4bool fWindowLocationHintYNegative;
326 std::vector<G4ModelingParameters::VisAttributesModifier>
327 fVisAttributesModifiers;
333 fWidthValue = 0x0004,
334 fHeightValue = 0x0008,
341#include "G4ViewParameters.icc"
std::vector< G4Plane3D > G4Planes
bool IsWindowLocationHintY() const
G4int GetWindowLocationHintX() const
void SetViewpointDirection(const G4Vector3D &viewpointDirection)
void SetScaleFactor(const G4Vector3D &scaleFactor)
const std::vector< G4ModelingParameters::VisAttributesModifier > & GetVisAttributesModifiers() const
G4int SetNoOfSides(G4int nSides)
void SetViewAndLights(const G4Vector3D &viewpointDirection)
const G4Vector3D & GetScaleFactor() const
void SetAutoRefresh(G4bool)
void SetBackgroundColour(const G4Colour &)
const G4String & GetXGeometryString() const
void SetGlobalMarkerScale(G4double globalMarkerScale)
void SetExplodeCentre(const G4Point3D &explodeCentre)
G4int GetNoOfSides() const
G4int GetWindowAbsoluteLocationHintY(G4int) const
G4String CameraAndLightingCommands(const G4Point3D standardTargetPoint) const
CutawayMode GetCutawayMode() const
G4double GetCameraDistance(G4double radius) const
bool IsWindowLocationHintX() const
G4double GetExplodeFactor() const
void PrintDifferences(const G4ViewParameters &v) const
G4bool IsMarkerNotHidden() const
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 SetDrawingStyle(G4ViewParameters::DrawingStyle style)
bool IsWindowSizeHintX() const
const G4Colour & GetBackgroundColour() const
const G4Vector3D & GetLightpointDirection() const
void SetDefaultTextColour(const G4Colour &)
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)
void SetGlobalLineWidthScale(G4double globalLineWidthScale)
const G4Point3D & GetCurrentTargetPoint() const
G4double GetFarDistance(G4double cameraDistance, G4double nearDistance, G4double radius) const
void MultiplyScaleFactor(const G4Vector3D &scaleFactorMultiplier)
G4double GetFieldHalfAngle() const
bool IsWindowSizeHintY() const
G4double GetFrontHalfHeight(G4double nearDistance, G4double radius) const
friend std::ostream & operator<<(std::ostream &, const DrawingStyle &)
const G4VisAttributes * GetDefaultTextVisAttributes() const
G4double GetZoomFactor() const
void SetDolly(G4double dolly)
void SetDensityCulling(G4bool)
void SetOrthogonalProjection()
G4int GetWindowAbsoluteLocationHintX(G4int) const
G4String SceneModifyingCommands() const
const G4VMarker & GetDefaultMarker() const
void SetWindowSizeHint(G4int xHint, G4int yHint)
void SetDefaultMarker(const G4VMarker &defaultMarker)
void IncrementPan(G4double right, G4double up)
void SetWindowLocationHint(G4int xHint, G4int yHint)
const G4Vector3D & GetUpVector() const
G4String TouchableCommands() const
void SetMarkerNotHidden()
void ChangeCutawayPlane(size_t index, const G4Plane3D &cutawayPlane)
G4double GetGlobalMarkerScale() const
G4bool IsCullingInvisible() const
void SetZoomFactor(G4double zoomFactor)
void UnsetExplodeFactor()
RepStyle GetRepStyle() const
const G4VisAttributes * GetDefaultVisAttributes() const
void SetCullingInvisible(G4bool)
void SetRepStyle(G4ViewParameters::RepStyle style)
void SetUpVector(const G4Vector3D &upVector)
void SetPan(G4double right, G4double up)
const G4Planes & GetCutawayPlanes() const
RotationStyle GetRotationStyle() const
G4int GetWindowLocationHintY() const
void SetCutawayMode(CutawayMode)
G4bool IsDensityCulling() const
void SetDefaultTextVisAttributes(const G4VisAttributes &)
void SetLightpointDirection(const G4Vector3D &lightpointDirection)
void SetLightsMoveWithCamera(G4bool moves)
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)
const G4Point3D & GetExplodeCentre() const
G4bool IsCullingCovered() const
const G4Plane3D & GetSectionPlane() const
G4double GetNearDistance(G4double cameraDistance, G4double radius) const
DrawingStyle GetDrawingStyle() const
void AddCutawayPlane(const G4Plane3D &cutawayPlane)
G4bool IsAuxEdgeVisible() const
G4double GetDolly() const