74 #ifndef G4VIEWPARAMETERS_HH
75 #define G4VIEWPARAMETERS_HH
111 friend std::ostream&
operator <<
114 friend std::ostream&
operator <<
180 const std::vector<G4ModelingParameters::VisAttributesModifier>&
275 (
const std::vector<G4ViewParameters>& views,
276 G4int nInterpolationPoints = 50);
280 G4int ParseGeometry (
const char *
string,
G4int *
x,
G4int *y,
unsigned int *
width,
unsigned int *height);
281 G4int ReadInteger(
char *
string,
char **NextString);
305 G4bool fLightsMoveWithCamera;
319 G4int fWindowSizeHintX;
320 G4int fWindowSizeHintY;
321 G4int fWindowLocationHintX;
322 G4int fWindowLocationHintY;
323 G4bool fWindowLocationHintXNegative;
324 G4bool fWindowLocationHintYNegative;
331 std::vector<G4ModelingParameters::VisAttributesModifier> fVisAttributesModifiers;
337 fWidthValue = 0x0004,
338 fHeightValue = 0x0008,
345 #include "G4ViewParameters.icc"
bool IsWindowSizeHintY() const
G4String TouchableCommands() const
void SetOrthogonalProjection()
void SetMarkerNotHidden()
G4double GetZoomFactor() const
void IncrementPan(G4double right, G4double up)
void ClearCutawayPlanes()
const G4Colour & GetBackgroundColour() const
G4Vector3D & GetActualLightpointDirection()
bool IsWindowSizeHintX() const
void AddCutawayPlane(const G4Plane3D &cutawayPlane)
G4double GetDolly() const
void SetLightpointDirection(const G4Vector3D &lightpointDirection)
G4double GetVisibleDensity() const
void SetPan(G4double right, G4double up)
void SetScaleFactor(const G4Vector3D &scaleFactor)
void SetAuxEdgeVisible(G4bool)
G4int SetNoOfSides(G4int nSides)
G4int GetWindowAbsoluteLocationHintX(G4int) const
void SetRotationStyle(RotationStyle)
const G4Point3D & GetExplodeCentre() const
G4bool IsCullingInvisible() const
G4bool operator!=(const G4ViewParameters &) const
G4double GetExplodeFactor() const
G4int GetWindowAbsoluteLocationHintY(G4int) const
G4int GetWindowLocationHintY() const
void SetUpVector(const G4Vector3D &upVector)
G4bool IsDensityCulling() const
G4String SceneModifyingCommands() const
const G4Planes & GetCutawayPlanes() const
void SetDefaultColour(const G4Colour &)
void SetDensityCulling(G4bool)
G4int GetWindowLocationHintX() const
G4double GetFarDistance(G4double cameraDistance, G4double nearDistance, G4double radius) const
void SetVisibleDensity(G4double visibleDensity)
void SetDefaultTextVisAttributes(const G4VisAttributes &)
void SetBackgroundColour(const G4Colour &)
G4double GetCameraDistance(G4double radius) const
void SetCutawayMode(CutawayMode)
void SetLightsMoveWithCamera(G4bool moves)
void ClearVisAttributesModifiers()
void SetViewAndLights(const G4Vector3D &viewpointDirection)
const G4Point3D & GetCurrentTargetPoint() const
void UnsetExplodeFactor()
G4double GetNearDistance(G4double cameraDistance, G4double radius) const
const G4Vector3D & GetLightpointDirection() const
const std::vector< G4ModelingParameters::VisAttributesModifier > & GetVisAttributesModifiers() const
const G4String & GetXGeometryString() const
unsigned int GetWindowSizeHintX() const
const G4Vector3D & GetViewpointDirection() const
void SetPerspectiveProjection(G4double fieldHalfAngle=30.*CLHEP::deg)
void SetExplodeFactor(G4double explodeFactor)
G4bool IsAuxEdgeVisible() const
void SetWindowLocationHint(G4int xHint, G4int yHint)
void SetZoomFactor(G4double zoomFactor)
void ChangeCutawayPlane(size_t index, const G4Plane3D &cutawayPlane)
void SetGlobalMarkerScale(G4double globalMarkerScale)
void SetDefaultMarker(const G4VMarker &defaultMarker)
std::vector< G4Plane3D > G4Planes
G4double GetFrontHalfHeight(G4double nearDistance, G4double radius) const
void SetCurrentTargetPoint(const G4Point3D ¤tTargetPoint)
void SetDolly(G4double dolly)
bool IsWindowLocationHintX() const
void SetXGeometryString(const G4String &)
RotationStyle GetRotationStyle() const
void SetDefaultVisAttributes(const G4VisAttributes &)
void SetFieldHalfAngle(G4double fieldHalfAngle)
CutawayMode GetCutawayMode() const
G4bool IsCullingCovered() const
void SetExplodeCentre(const G4Point3D &explodeCentre)
G4double GetGlobalLineWidthScale() const
unsigned int GetWindowSizeHintY() const
G4String DrawingStyleCommands() const
const G4VisAttributes * GetDefaultTextVisAttributes() const
void SetCullingInvisible(G4bool)
void PrintDifferences(const G4ViewParameters &v) const
void SetAutoRefresh(G4bool)
static constexpr double deg
G4bool IsMarkerNotHidden() const
void MultiplyZoomFactor(G4double zoomFactorMultiplier)
void AddVisAttributesModifier(const G4ModelingParameters::VisAttributesModifier &)
void SetDrawingStyle(G4ViewParameters::DrawingStyle style)
const G4VMarker & GetDefaultMarker() const
const G4Vector3D & GetScaleFactor() const
G4int GetNoOfSides() const
DrawingStyle GetDrawingStyle() const
void SetGlobalLineWidthScale(G4double globalLineWidthScale)
G4String CameraAndLightingCommands(const G4Point3D standardTargetPoint) const
G4bool GetLightsMoveWithCamera() const
const G4Plane3D & GetSectionPlane() const
G4double GetFieldHalfAngle() const
void SetWindowSizeHint(G4int xHint, G4int yHint)
void MultiplyScaleFactor(const G4Vector3D &scaleFactorMultiplier)
const G4VisAttributes * GetDefaultVisAttributes() const
static G4ViewParameters * CatmullRomCubicSplineInterpolation(const std::vector< G4ViewParameters > &views, G4int nInterpolationPoints=50)
void SetSectionPlane(const G4Plane3D §ionPlane)
const G4Vector3D & GetUpVector() const
bool IsWindowLocationHintY() const
G4bool IsAutoRefresh() const
void SetCullingCovered(G4bool)
void IncrementDolly(G4double dollyIncrement)
void SetViewpointDirection(const G4Vector3D &viewpointDirection)
G4double GetGlobalMarkerScale() const
void SetDefaultTextColour(const G4Colour &)