Geant4.10
|
#include <G4ViewParameters.hh>
Public Types | |
enum | DrawingStyle { wireframe, hlr, hsr, hlhsr } |
enum | CutawayMode { cutawayUnion, cutawayIntersection } |
enum | RotationStyle { constrainUpDirection, freeRotation } |
Friends | |
std::ostream & | operator<< (std::ostream &, const DrawingStyle &) |
std::ostream & | operator<< (std::ostream &, const G4ViewParameters &) |
Definition at line 90 of file G4ViewParameters.hh.
Enumerator | |
---|---|
wireframe | |
hlr | |
hsr | |
hlhsr |
Definition at line 94 of file G4ViewParameters.hh.
G4ViewParameters::G4ViewParameters | ( | ) |
Definition at line 42 of file G4ViewParameters.cc.
References G4VMarker::SetScreenSize().
G4ViewParameters::~G4ViewParameters | ( | ) |
Definition at line 88 of file G4ViewParameters.cc.
Definition at line 150 of file G4ViewParameters.cc.
References G4cout, and G4endl.
Referenced by G4VisCommandViewerAddCutawayPlane::SetNewValue().
void G4ViewParameters::AddVisAttributesModifier | ( | const G4ModelingParameters::VisAttributesModifier & | ) |
Definition at line 252 of file G4ViewParameters.cc.
References test::c, python.hepunit::deg, G4BestUnit, G4Colour::GetAlpha(), G4Colour::GetBlue(), G4Colour::GetColour(), G4Colour::GetGreen(), and G4Colour::GetRed().
Definition at line 162 of file G4ViewParameters.cc.
References G4cout, and G4endl.
Referenced by G4VisCommandViewerChangeCutawayPlane::SetNewValue().
void G4ViewParameters::ClearCutawayPlanes | ( | ) |
Referenced by G4VisCommandViewerClearCutawayPlanes::SetNewValue().
G4String G4ViewParameters::DrawingStyleCommands | ( | ) | const |
Definition at line 341 of file G4ViewParameters.cc.
References hlhsr, hlr, and wireframe.
G4Vector3D & G4ViewParameters::GetActualLightpointDirection | ( | ) |
Definition at line 97 of file G4ViewParameters.cc.
References SetViewAndLights().
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4RayTracerViewer::SetView().
const G4Colour& G4ViewParameters::GetBackgroundColour | ( | ) | const |
Definition at line 110 of file G4ViewParameters.cc.
Referenced by operator<<(), and G4RayTracerViewer::SetView().
const G4Point3D& G4ViewParameters::GetCurrentTargetPoint | ( | ) | const |
CutawayMode G4ViewParameters::GetCutawayMode | ( | ) | const |
Referenced by G4VisCommandsViewerSet::SetNewValue().
const G4Planes& G4ViewParameters::GetCutawayPlanes | ( | ) | const |
const G4VMarker& G4ViewParameters::GetDefaultMarker | ( | ) | const |
const G4VisAttributes* G4ViewParameters::GetDefaultTextVisAttributes | ( | ) | const |
const G4VisAttributes* G4ViewParameters::GetDefaultVisAttributes | ( | ) | const |
G4double G4ViewParameters::GetDolly | ( | ) | const |
DrawingStyle G4ViewParameters::GetDrawingStyle | ( | ) | const |
Referenced by G4XXXSGViewer::CompareForKernelVisit(), G4XXXStoredViewer::CompareForKernelVisit(), G4VSceneHandler::CreateModelingParameters(), G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI(), G4VisCommandViewerDefaultHiddenEdge::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandViewerDefaultStyle::SetNewValue().
const G4Point3D& G4ViewParameters::GetExplodeCentre | ( | ) | const |
Referenced by G4VSceneHandler::CreateModelingParameters(), and G4VisCommandsViewerSet::SetNewValue().
G4double G4ViewParameters::GetExplodeFactor | ( | ) | const |
G4double G4ViewParameters::GetFarDistance | ( | G4double | cameraDistance, |
G4double | nearDistance, | ||
G4double | radius | ||
) | const |
G4double G4ViewParameters::GetFieldHalfAngle | ( | ) | const |
Definition at line 137 of file G4ViewParameters.cc.
Referenced by operator<<(), and G4RayTracerViewer::SetView().
G4double G4ViewParameters::GetGlobalLineWidthScale | ( | ) | const |
Referenced by G4VisCommandsViewerSet::SetNewValue().
G4double G4ViewParameters::GetGlobalMarkerScale | ( | ) | const |
Referenced by G4VisCommandsViewerSet::SetNewValue().
const G4Vector3D& G4ViewParameters::GetLightpointDirection | ( | ) | const |
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandViewerCopyViewFrom::SetNewValue().
G4bool G4ViewParameters::GetLightsMoveWithCamera | ( | ) | const |
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandViewerCopyViewFrom::SetNewValue().
Definition at line 121 of file G4ViewParameters.cc.
Referenced by operator<<(), and G4RayTracerViewer::SetView().
G4int G4ViewParameters::GetNoOfSides | ( | ) | const |
RotationStyle G4ViewParameters::GetRotationStyle | ( | ) | const |
Referenced by G4VisCommandsViewerSet::SetNewValue().
const G4Vector3D& G4ViewParameters::GetScaleFactor | ( | ) | const |
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandViewerScale::SetNewValue().
const G4Plane3D& G4ViewParameters::GetSectionPlane | ( | ) | const |
Referenced by G4VSceneHandler::CreateSectionSolid(), and G4VisCommandsViewerSet::SetNewValue().
const G4Vector3D& G4ViewParameters::GetUpVector | ( | ) | const |
const G4Vector3D& G4ViewParameters::GetViewpointDirection | ( | ) | const |
const std::vector<G4ModelingParameters::VisAttributesModifier>& G4ViewParameters::GetVisAttributesModifiers | ( | ) | const |
G4double G4ViewParameters::GetVisibleDensity | ( | ) | const |
Definition at line 967 of file G4ViewParameters.cc.
Definition at line 974 of file G4ViewParameters.cc.
G4int G4ViewParameters::GetWindowLocationHintX | ( | ) | const |
G4int G4ViewParameters::GetWindowLocationHintY | ( | ) | const |
unsigned int G4ViewParameters::GetWindowSizeHintX | ( | ) | const |
unsigned int G4ViewParameters::GetWindowSizeHintY | ( | ) | const |
const G4String& G4ViewParameters::GetXGeometryString | ( | ) | const |
Referenced by G4VisCommandViewerClone::SetNewValue().
G4double G4ViewParameters::GetZoomFactor | ( | ) | const |
Referenced by G4VisCommandViewerDolly::SetNewValue().
Definition at line 241 of file G4ViewParameters.cc.
Referenced by G4VisCommandViewerPan::SetNewValue().
Definition at line 245 of file G4ViewParameters.cc.
References HepGeom::BasicVector3D< T >::cross().
G4bool G4ViewParameters::IsAutoRefresh | ( | ) | const |
G4bool G4ViewParameters::IsAuxEdgeVisible | ( | ) | const |
G4bool G4ViewParameters::IsCulling | ( | ) | const |
Referenced by G4XXXSGViewer::CompareForKernelVisit(), G4XXXStoredViewer::CompareForKernelVisit(), G4VSceneHandler::CreateModelingParameters(), G4VisManager::CreateViewer(), G4VisCommandGeometrySetDaughtersInvisible::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValue(), and G4VisCommandGeometrySetVisibility::SetNewValueOnLV().
G4bool G4ViewParameters::IsCullingCovered | ( | ) | const |
G4bool G4ViewParameters::IsCullingInvisible | ( | ) | const |
G4bool G4ViewParameters::IsCutaway | ( | ) | const |
Referenced by G4VSceneHandler::CreateModelingParameters(), operator!=(), operator<<(), and PrintDifferences().
G4bool G4ViewParameters::IsDensityCulling | ( | ) | const |
G4bool G4ViewParameters::IsExplode | ( | ) | const |
G4bool G4ViewParameters::IsMarkerNotHidden | ( | ) | const |
G4bool G4ViewParameters::IsPicking | ( | ) | const |
Referenced by G4VisCommandsViewerSet::SetNewValue().
G4bool G4ViewParameters::IsSection | ( | ) | const |
bool G4ViewParameters::IsWindowLocationHintX | ( | ) | const |
bool G4ViewParameters::IsWindowLocationHintY | ( | ) | const |
bool G4ViewParameters::IsWindowSizeHintX | ( | ) | const |
bool G4ViewParameters::IsWindowSizeHintY | ( | ) | const |
void G4ViewParameters::MultiplyScaleFactor | ( | const G4Vector3D & | scaleFactorMultiplier | ) |
Definition at line 91 of file G4ViewParameters.cc.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by G4VisCommandViewerScale::SetNewValue().
Referenced by G4VisCommandViewerZoom::SetNewValue().
G4bool G4ViewParameters::operator!= | ( | const G4ViewParameters & | v | ) | const |
Definition at line 815 of file G4ViewParameters.cc.
References IsCutaway(), and IsExplode().
void G4ViewParameters::PrintDifferences | ( | const G4ViewParameters & | v | ) | const |
Definition at line 579 of file G4ViewParameters.cc.
References G4cout, G4endl, IsCutaway(), and IsExplode().
G4String G4ViewParameters::SceneModifyingCommands | ( | ) | const |
Definition at line 386 of file G4ViewParameters.cc.
References python.hepunit::cm3, cutawayUnion, g(), G4BestUnit, HepGeom::Plane3D< T >::normal(), and HepGeom::Plane3D< T >::point().
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandDrawView::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue().
Referenced by G4HepRepViewer::G4HepRepViewer(), and G4VisCommandsViewerSet::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandViewerCopyViewFrom::SetNewValue().
void G4ViewParameters::SetCutawayMode | ( | CutawayMode | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDefaultTextVisAttributes | ( | const G4VisAttributes & | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDefaultVisAttributes | ( | const G4VisAttributes & | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue().
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandViewerDolly::SetNewValue().
void G4ViewParameters::SetDrawingStyle | ( | G4ViewParameters::DrawingStyle | style | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetLightpointDirection | ( | const G4Vector3D & | lightpointDirection | ) |
Definition at line 230 of file G4ViewParameters.cc.
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandViewerCopyViewFrom::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandViewerCopyViewFrom::SetNewValue().
void G4ViewParameters::SetMarkerHidden | ( | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetMarkerNotHidden | ( | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
Definition at line 189 of file G4ViewParameters.cc.
References G4cout, and G4endl.
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetOrthogonalProjection | ( | ) |
Definition at line 235 of file G4ViewParameters.cc.
References HepGeom::BasicVector3D< T >::cross().
Referenced by G4VisCommandViewerPan::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetRotationStyle | ( | RotationStyle | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetScaleFactor | ( | const G4Vector3D & | scaleFactor | ) |
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandViewerScale::SetNewValue().
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetUpVector | ( | const G4Vector3D & | upVector | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandViewerCopyViewFrom::SetNewValue().
void G4ViewParameters::SetViewAndLights | ( | const G4Vector3D & | viewpointDirection | ) |
Definition at line 202 of file G4ViewParameters.cc.
References HepGeom::BasicVector3D< T >::cross(), G4cout, G4endl, HepGeom::BasicVector3D< T >::unit(), HepGeom::BasicVector3D< T >::x(), and HepGeom::BasicVector3D< T >::y().
Referenced by GetActualLightpointDirection(), and G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetViewpointDirection | ( | const G4Vector3D & | viewpointDirection | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandViewerCopyViewFrom::SetNewValue().
Definition at line 172 of file G4ViewParameters.cc.
References python.hepunit::cm3, g(), G4BestUnit, G4cout, and G4endl.
Referenced by G4VisCommandsViewerSet::SetNewValue().
Definition at line 884 of file G4ViewParameters.cc.
References G4cout, G4endl, and test::x.
Referenced by G4VisManager::CreateViewer().
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandViewerZoom::SetNewValue().
G4String G4ViewParameters::TouchableCommands | ( | ) | const |
Definition at line 463 of file G4ViewParameters.cc.
References test::c, G4VisAttributes::dashed, G4VisAttributes::dotted, G4Colour::GetAlpha(), G4Colour::GetBlue(), G4VisAttributes::GetColour(), G4VisAttributes::GetForcedDrawingStyle(), G4VisAttributes::GetForcedLineSegmentsPerCircle(), G4Colour::GetGreen(), G4VisAttributes::GetLineStyle(), G4VisAttributes::GetLineWidth(), G4Colour::GetRed(), G4VisAttributes::IsDaughtersInvisible(), G4VisAttributes::IsForceAuxEdgeVisible(), G4VisAttributes::IsForceDrawingStyle(), G4VisAttributes::IsVisible(), G4VisAttributes::solid, G4VisAttributes::unbroken, G4ModelingParameters::VASColour, G4ModelingParameters::VASDaughtersInvisible, G4ModelingParameters::VASForceAuxEdgeVisible, G4ModelingParameters::VASForceLineSegmentsPerCircle, G4ModelingParameters::VASForceSolid, G4ModelingParameters::VASForceWireframe, G4ModelingParameters::VASLineStyle, G4ModelingParameters::VASLineWidth, G4ModelingParameters::VASVisibility, and G4VisAttributes::wireframe.
void G4ViewParameters::UnsetExplodeFactor | ( | ) |
void G4ViewParameters::UnsetSectionPlane | ( | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
|
friend |
Definition at line 646 of file G4ViewParameters.cc.
|
friend |
Definition at line 662 of file G4ViewParameters.cc.