Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4ViewParameters.hh>
Public Types | |
enum | DrawingStyle { wireframe , hlr , hsr , hlhsr , cloud } |
enum | CutawayMode { cutawayUnion , cutawayIntersection } |
enum | RotationStyle { constrainUpDirection , freeRotation } |
Static Public Member Functions | |
static G4ViewParameters * | CatmullRomCubicSplineInterpolation (const std::vector< G4ViewParameters > &views, G4int nInterpolationPoints=50) |
Friends | |
std::ostream & | operator<< (std::ostream &, const DrawingStyle &) |
std::ostream & | operator<< (std::ostream &, const G4ViewParameters &) |
Definition at line 90 of file G4ViewParameters.hh.
Enumerator | |
---|---|
cutawayUnion | |
cutawayIntersection |
Definition at line 102 of file G4ViewParameters.hh.
Enumerator | |
---|---|
wireframe | |
hlr | |
hsr | |
hlhsr | |
cloud |
Definition at line 94 of file G4ViewParameters.hh.
Enumerator | |
---|---|
constrainUpDirection | |
freeRotation |
Definition at line 107 of file G4ViewParameters.hh.
G4ViewParameters::G4ViewParameters | ( | ) |
Definition at line 43 of file G4ViewParameters.cc.
G4ViewParameters::~G4ViewParameters | ( | ) |
Definition at line 118 of file G4ViewParameters.cc.
void G4ViewParameters::AddCutawayPlane | ( | const G4Plane3D & | cutawayPlane | ) |
Definition at line 180 of file G4ViewParameters.cc.
Referenced by G4VisCommandViewerAddCutawayPlane::SetNewValue().
void G4ViewParameters::AddVisAttributesModifier | ( | const G4ModelingParameters::VisAttributesModifier & | vam | ) |
Definition at line 297 of file G4ViewParameters.cc.
Referenced by G4VisCommandsTouchableSet::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4VViewer::TouchableSetColour(), and G4VViewer::TouchableSetVisibility().
Definition at line 313 of file G4ViewParameters.cc.
|
static |
Definition at line 1387 of file G4ViewParameters.cc.
Referenced by G4VVisCommand::InterpolateViews().
void G4ViewParameters::ChangeCutawayPlane | ( | size_t | index, |
const G4Plane3D & | cutawayPlane | ||
) |
Definition at line 191 of file G4ViewParameters.cc.
Referenced by G4VisCommandViewerChangeCutawayPlane::SetNewValue().
void G4ViewParameters::ClearCutawayPlanes | ( | ) |
Referenced by G4VisCommandViewerClearCutawayPlanes::SetNewValue().
void G4ViewParameters::ClearVisAttributesModifiers | ( | ) |
Referenced by G4VisCommandViewerClearVisAttributesModifiers::SetNewValue().
G4String G4ViewParameters::DrawingStyleCommands | ( | ) | const |
Definition at line 403 of file G4ViewParameters.cc.
G4Vector3D & G4ViewParameters::GetActualLightpointDirection | ( | ) |
Definition at line 127 of file G4ViewParameters.cc.
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4RayTracerViewer::SetView().
const G4Colour & G4ViewParameters::GetBackgroundColour | ( | ) | const |
Definition at line 140 of file G4ViewParameters.cc.
Referenced by G4RayTracerViewer::SetView().
G4int G4ViewParameters::GetCBDAlgorithmNumber | ( | ) | const |
const std::vector< G4double > & G4ViewParameters::GetCBDParameters | ( | ) | const |
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::GetDisplayHeadTimeBlue | ( | ) | const |
G4double G4ViewParameters::GetDisplayHeadTimeGreen | ( | ) | const |
G4double G4ViewParameters::GetDisplayHeadTimeRed | ( | ) | const |
G4double G4ViewParameters::GetDisplayHeadTimeSize | ( | ) | const |
G4double G4ViewParameters::GetDisplayHeadTimeX | ( | ) | const |
G4double G4ViewParameters::GetDisplayHeadTimeY | ( | ) | const |
G4double G4ViewParameters::GetDisplayLightFrontBlue | ( | ) | const |
G4double G4ViewParameters::GetDisplayLightFrontGreen | ( | ) | const |
G4double G4ViewParameters::GetDisplayLightFrontRed | ( | ) | const |
G4double G4ViewParameters::GetDisplayLightFrontT | ( | ) | const |
G4double G4ViewParameters::GetDisplayLightFrontX | ( | ) | const |
G4double G4ViewParameters::GetDisplayLightFrontY | ( | ) | const |
G4double G4ViewParameters::GetDisplayLightFrontZ | ( | ) | const |
G4double G4ViewParameters::GetDolly | ( | ) | const |
DrawingStyle G4ViewParameters::GetDrawingStyle | ( | ) | const |
Referenced by G4XXXSGViewer::CompareForKernelVisit(), G4XXXStoredViewer::CompareForKernelVisit(), G4VSceneHandler::CreateModelingParameters(), G4VSceneHandler::GetDrawingStyle(), G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI(), G4VisCommandDrawLogicalVolume::SetNewValue(), G4VisCommandViewerDefaultHiddenEdge::SetNewValue(), G4VisCommandViewerDefaultStyle::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
G4double G4ViewParameters::GetEndTime | ( | ) | const |
Referenced by G4VisCommandsViewerSet::SetNewValue().
const G4Point3D & G4ViewParameters::GetExplodeCentre | ( | ) | const |
Referenced by G4VSceneHandler::CreateModelingParameters(), and G4VisCommandsViewerSet::SetNewValue().
G4double G4ViewParameters::GetExplodeFactor | ( | ) | const |
G4double G4ViewParameters::GetFadeFactor | ( | ) | const |
Referenced by G4VisCommandsViewerSet::SetNewValue().
G4double G4ViewParameters::GetFarDistance | ( | G4double | cameraDistance, |
G4double | nearDistance, | ||
G4double | radius | ||
) | const |
Definition at line 159 of file G4ViewParameters.cc.
G4double G4ViewParameters::GetFieldHalfAngle | ( | ) | const |
Definition at line 167 of file G4ViewParameters.cc.
Referenced by G4RayTracerViewer::SetView().
G4double G4ViewParameters::GetGlobalLineWidthScale | ( | ) | const |
G4double G4ViewParameters::GetGlobalMarkerScale | ( | ) | const |
const G4Vector3D & G4ViewParameters::GetLightpointDirection | ( | ) | const |
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
G4bool G4ViewParameters::GetLightsMoveWithCamera | ( | ) | const |
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
Definition at line 151 of file G4ViewParameters.cc.
Referenced by G4RayTracerViewer::SetView().
G4int G4ViewParameters::GetNoOfSides | ( | ) | const |
G4int G4ViewParameters::GetNumberOfCloudPoints | ( | ) | 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().
G4double G4ViewParameters::GetStartTime | ( | ) | const |
Referenced by 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 1243 of file G4ViewParameters.cc.
Definition at line 1250 of file G4ViewParameters.cc.
G4int G4ViewParameters::GetWindowLocationHintX | ( | ) | const |
G4int G4ViewParameters::GetWindowLocationHintY | ( | ) | const |
unsigned int G4ViewParameters::GetWindowSizeHintX | ( | ) | const |
Referenced by G4RayTracerViewer::Initialise().
unsigned int G4ViewParameters::GetWindowSizeHintY | ( | ) | const |
Referenced by G4RayTracerViewer::Initialise().
const G4String & G4ViewParameters::GetXGeometryString | ( | ) | const |
Referenced by G4VisCommandViewerClone::SetNewValue().
G4double G4ViewParameters::GetZoomFactor | ( | ) | const |
void G4ViewParameters::IncrementDolly | ( | G4double | dollyIncrement | ) |
Referenced by G4VisCommandViewerDolly::SetNewValue().
Definition at line 287 of file G4ViewParameters.cc.
Referenced by IncrementPan(), and G4VisCommandViewerPan::SetNewValue().
Definition at line 291 of file G4ViewParameters.cc.
G4bool G4ViewParameters::IsAutoRefresh | ( | ) | const |
Referenced by G4VVisCommand::RefreshIfRequired(), G4VisCommandDrawView::SetNewValue(), G4VisCommandDrawLogicalVolume::SetNewValue(), G4VisCommandSceneNotifyHandlers::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandViewerInterpolate::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
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!=(), and PrintDifferences().
G4bool G4ViewParameters::IsDensityCulling | ( | ) | const |
G4bool G4ViewParameters::IsDisplayHeadTime | ( | ) | const |
G4bool G4ViewParameters::IsDisplayLightFront | ( | ) | 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 120 of file G4ViewParameters.cc.
Referenced by G4VisCommandViewerScale::SetNewValue().
void G4ViewParameters::MultiplyZoomFactor | ( | G4double | zoomFactorMultiplier | ) |
Referenced by G4VisCommandViewerZoom::SetNewValue().
G4bool G4ViewParameters::operator!= | ( | const G4ViewParameters & | v | ) | const |
Definition at line 1056 of file G4ViewParameters.cc.
void G4ViewParameters::PrintDifferences | ( | const G4ViewParameters & | v | ) | const |
Definition at line 740 of file G4ViewParameters.cc.
G4String G4ViewParameters::SceneModifyingCommands | ( | ) | const |
Definition at line 459 of file G4ViewParameters.cc.
void G4ViewParameters::SetAutoRefresh | ( | G4bool | ) |
void G4ViewParameters::SetAuxEdgeVisible | ( | G4bool | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetBackgroundColour | ( | const G4Colour & | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetCBDAlgorithmNumber | ( | G4int | ) |
Referenced by G4VisCommandViewerColourByDensity::SetNewValue().
void G4ViewParameters::SetCBDParameters | ( | const std::vector< G4double > & | ) |
Referenced by G4VisCommandViewerColourByDensity::SetNewValue().
void G4ViewParameters::SetCulling | ( | G4bool | ) |
void G4ViewParameters::SetCullingCovered | ( | G4bool | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetCullingInvisible | ( | G4bool | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetCurrentTargetPoint | ( | const G4Point3D & | currentTargetPoint | ) |
void G4ViewParameters::SetCutawayMode | ( | CutawayMode | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDefaultColour | ( | const G4Colour & | ) |
void G4ViewParameters::SetDefaultMarker | ( | const G4VMarker & | defaultMarker | ) |
void G4ViewParameters::SetDefaultTextColour | ( | const G4Colour & | ) |
void G4ViewParameters::SetDefaultTextVisAttributes | ( | const G4VisAttributes & | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDefaultVisAttributes | ( | const G4VisAttributes & | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDensityCulling | ( | G4bool | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayHeadTime | ( | G4bool | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayHeadTimeBlue | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayHeadTimeGreen | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayHeadTimeRed | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayHeadTimeSize | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayHeadTimeX | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayHeadTimeY | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayLightFront | ( | G4bool | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayLightFrontBlue | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayLightFrontGreen | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayLightFrontRed | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayLightFrontT | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayLightFrontX | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayLightFrontY | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDisplayLightFrontZ | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetDolly | ( | G4double | dolly | ) |
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandViewerDolly::SetNewValue().
void G4ViewParameters::SetDrawingStyle | ( | G4ViewParameters::DrawingStyle | style | ) |
void G4ViewParameters::SetEndTime | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetExplodeCentre | ( | const G4Point3D & | explodeCentre | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetExplodeFactor | ( | G4double | explodeFactor | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetFadeFactor | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetFieldHalfAngle | ( | G4double | fieldHalfAngle | ) |
void G4ViewParameters::SetGlobalLineWidthScale | ( | G4double | globalLineWidthScale | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetGlobalMarkerScale | ( | G4double | globalMarkerScale | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetLightpointDirection | ( | const G4Vector3D & | lightpointDirection | ) |
Definition at line 275 of file G4ViewParameters.cc.
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetLightsMoveWithCamera | ( | G4bool | moves | ) |
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetMarkerHidden | ( | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetMarkerNotHidden | ( | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
Definition at line 219 of file G4ViewParameters.cc.
Referenced by G4VisCommandsViewerSet::SetNewValue().
Definition at line 231 of file G4ViewParameters.cc.
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetOrthogonalProjection | ( | ) |
Definition at line 281 of file G4ViewParameters.cc.
Referenced by G4VisCommandViewerPan::SetNewValue().
void G4ViewParameters::SetPerspectiveProjection | ( | G4double | fieldHalfAngle = 30. *CLHEP::deg | ) |
void G4ViewParameters::SetPicking | ( | G4bool | ) |
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().
void G4ViewParameters::SetSectionPlane | ( | const G4Plane3D & | sectionPlane | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetStartTime | ( | G4double | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetUpVector | ( | const G4Vector3D & | upVector | ) |
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetViewAndLights | ( | const G4Vector3D & | viewpointDirection | ) |
Definition at line 243 of file G4ViewParameters.cc.
Referenced by GetActualLightpointDirection(), SetLightpointDirection(), and G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetViewpointDirection | ( | const G4Vector3D & | viewpointDirection | ) |
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetVisibleDensity | ( | G4double | visibleDensity | ) |
Definition at line 202 of file G4ViewParameters.cc.
Referenced by G4VisCommandsViewerSet::SetNewValue().
void G4ViewParameters::SetXGeometryString | ( | const G4String & | geomStringArg | ) |
Definition at line 1160 of file G4ViewParameters.cc.
Referenced by G4VisManager::CreateViewer().
void G4ViewParameters::SetZoomFactor | ( | G4double | zoomFactor | ) |
G4String G4ViewParameters::TimeWindowCommands | ( | ) | const |
Definition at line 685 of file G4ViewParameters.cc.
G4String G4ViewParameters::TouchableCommands | ( | ) | const |
Definition at line 542 of file G4ViewParameters.cc.
void G4ViewParameters::UnsetExplodeFactor | ( | ) |
void G4ViewParameters::UnsetSectionPlane | ( | ) |
Referenced by G4VisCommandsViewerSet::SetNewValue().
|
friend |
Definition at line 857 of file G4ViewParameters.cc.
|
friend |
Definition at line 876 of file G4ViewParameters.cc.