Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4VViewer.hh>
Classes | |
class | G4Spline |
Protected Member Functions | |
void | SetTouchable (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath) |
void | TouchableSetVisibility (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, G4bool visibility) |
void | TouchableSetColour (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, const G4Colour &) |
Protected Attributes | |
G4VSceneHandler & | fSceneHandler |
G4int | fViewId |
G4String | fName |
G4String | fShortName |
G4ViewParameters | fVP |
G4ViewParameters | fDefaultVP |
G4bool | fNeedKernelVisit |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4VViewer &v) |
Definition at line 45 of file G4VViewer.hh.
G4VViewer::G4VViewer | ( | G4VSceneHandler & | sceneHandler, |
G4int | id, | ||
const G4String & | name = "" |
||
) |
Definition at line 45 of file G4VViewer.cc.
|
virtual |
Definition at line 67 of file G4VViewer.cc.
|
pure virtual |
Implemented in G4DAWNFILEViewer, G4GMocrenFileViewer, G4HepRepFileViewer, G4HepRepViewer, G4RayTracerViewer, G4VTreeViewer, G4VRML1FileViewer, G4VRML2FileViewer, G4XXXFileViewer, G4XXXSGViewer, G4XXXStoredViewer, and G4XXXViewer.
Referenced by G4VisManager::GeometryHasChanged(), G4VisManager::NotifyHandlers(), G4VisCommandViewerClear::SetNewValue(), and G4VisCommandViewerRebuild::SetNewValue().
std::vector< G4ThreeVector > G4VViewer::ComputeFlyThrough | ( | G4Vector3D * | ) |
Definition at line 205 of file G4VViewer.cc.
|
pure virtual |
Implemented in G4DAWNFILEViewer, G4GMocrenFileViewer, G4HepRepFileViewer, G4HepRepViewer, G4RayTracerViewer, G4VTreeViewer, G4VRML1FileViewer, G4VRML2FileViewer, G4XXXFileViewer, G4XXXSGViewer, G4XXXStoredViewer, and G4XXXViewer.
Referenced by G4HepRepSceneHandler::closeHepRep(), and G4VisCommandViewerRebuild::SetNewValue().
|
virtual |
Reimplemented in G4HepRepViewer, G4VRML1FileViewer, and G4VRML2FileViewer.
Definition at line 100 of file G4VViewer.cc.
Referenced by G4XXXFileViewer::DrawView(), G4XXXSGViewer::DrawView(), G4XXXStoredViewer::DrawView(), G4XXXViewer::DrawView(), G4HepRepViewer::FinishView(), G4VisManager::GeometryHasChanged(), G4VisManager::NotifyHandlers(), and G4VisCommandViewerClear::SetNewValue().
const G4VisAttributes * G4VViewer::GetApplicableVisAttributes | ( | const G4VisAttributes * | ) | const |
const G4ViewParameters & G4VViewer::GetDefaultViewParameters | ( | ) | const |
Referenced by G4VisCommandsViewerSet::SetNewValue().
const G4String & G4VViewer::GetName | ( | ) | const |
Referenced by G4VVisCommand::InterpolateViews(), G4VisCommandDrawTree::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandViewerAddCutawayPlane::SetNewValue(), G4VisCommandViewerCentreOn::SetNewValue(), G4VisCommandViewerChangeCutawayPlane::SetNewValue(), G4VisCommandViewerClearCutawayPlanes::SetNewValue(), G4VisCommandViewerClearVisAttributesModifiers::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerColourByDensity::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
|
virtual |
Referenced by G4VisCommandViewerSave::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
G4VSceneHandler * G4VViewer::GetSceneHandler | ( | ) | const |
Referenced by G4VVisCommand::RefreshIfRequired(), G4VisCommandViewerCentreOn::SetNewValue(), G4VisCommandViewerClearTransients::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerUpdate::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4HepRepViewer::ShowView(), and G4HepRepViewer::~G4HepRepViewer().
const G4String & G4VViewer::GetShortName | ( | ) | const |
G4int G4VViewer::GetViewId | ( | ) | const |
const G4ViewParameters & G4VViewer::GetViewParameters | ( | ) | const |
Referenced by G4VSceneHandler::CreateSectionSolid(), G4VisManager::CreateViewer(), G4VSceneHandler::GetAuxEdgeVisible(), G4VSceneHandler::GetDrawingStyle(), G4VSceneHandler::GetNoOfSides(), G4VSceneHandler::GetNumberOfCloudPoints(), G4VVisCommand::RefreshIfRequired(), G4VSceneHandler::RequestPrimitives(), G4VisCommandDrawView::SetNewValue(), G4VisCommandDrawLogicalVolume::SetNewValue(), G4VisCommandGeometrySetDaughtersInvisible::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValue(), G4VisCommandSceneNotifyHandlers::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandsTouchableSet::SetNewValue(), G4VisCommandViewerAddCutawayPlane::SetNewValue(), G4VisCommandViewerCentreOn::SetNewValue(), G4VisCommandViewerChangeCutawayPlane::SetNewValue(), G4VisCommandViewerClearCutawayPlanes::SetNewValue(), G4VisCommandViewerClearVisAttributesModifiers::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerColourByDensity::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandViewerDolly::SetNewValue(), G4VisCommandViewerInterpolate::SetNewValue(), G4VisCommandViewerPan::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandViewerZoom::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandGeometrySetVisibility::SetNewValueOnLV().
|
virtual |
Reimplemented in G4RayTracerViewer.
void G4VViewer::NeedKernelVisit | ( | ) |
Definition at line 77 of file G4VViewer.cc.
Referenced by G4DAWNFILEViewer::DrawView(), G4GMocrenFileViewer::DrawView(), G4HepRepFileViewer::DrawView(), G4HepRepViewer::DrawView(), G4VTreeViewer::DrawView(), G4VRML1FileViewer::DrawView(), G4VRML2FileViewer::DrawView(), G4XXXFileViewer::DrawView(), G4XXXViewer::DrawView(), G4VisManager::GeometryHasChanged(), G4XXXSGViewer::KernelVisitDecision(), G4XXXStoredViewer::KernelVisitDecision(), G4VisManager::NotifyHandlers(), and G4VisCommandViewerRebuild::SetNewValue().
void G4VViewer::ProcessView | ( | ) |
Definition at line 104 of file G4VViewer.cc.
Referenced by G4DAWNFILEViewer::DrawView(), G4GMocrenFileViewer::DrawView(), G4HepRepFileViewer::DrawView(), G4HepRepViewer::DrawView(), G4RayTracerViewer::DrawView(), G4VTreeViewer::DrawView(), G4VRML1FileViewer::DrawView(), G4VRML2FileViewer::DrawView(), G4XXXFileViewer::DrawView(), G4XXXSGViewer::DrawView(), G4XXXStoredViewer::DrawView(), and G4XXXViewer::DrawView().
void G4VViewer::RefreshView | ( | ) |
Referenced by G4VVisCommand::InterpolateViews(), and G4VisCommandViewerInterpolate::SetNewValue().
|
virtual |
Referenced by G4VisCommandViewerReset::SetNewValue().
void G4VViewer::SetDefaultViewParameters | ( | const G4ViewParameters & | vp | ) |
void G4VViewer::SetName | ( | const G4String & | name | ) |
Definition at line 71 of file G4VViewer.cc.
void G4VViewer::SetNeedKernelVisit | ( | G4bool | need | ) |
|
protected |
Definition at line 123 of file G4VViewer.cc.
|
pure virtual |
Implemented in G4DAWNFILEViewer, G4GMocrenFileViewer, G4HepRepFileViewer, G4HepRepViewer, G4RayTracerViewer, G4VTreeViewer, G4XXXFileViewer, G4XXXSGViewer, G4XXXStoredViewer, and G4XXXViewer.
Referenced by G4VisManager::GeometryHasChanged(), G4VisManager::NotifyHandlers(), G4VisCommandViewerClear::SetNewValue(), and G4VisCommandViewerRebuild::SetNewValue().
void G4VViewer::SetViewParameters | ( | const G4ViewParameters & | vp | ) |
Definition at line 119 of file G4VViewer.cc.
Referenced by G4VVisCommand::InterpolateViews(), G4VisCommandDrawView::SetNewValue(), G4VisCommandViewerInterpolate::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), and G4VVisCommand::SetViewParameters().
|
virtual |
Reimplemented in G4DAWNFILEViewer, G4GMocrenFileViewer, G4HepRepFileViewer, G4HepRepViewer, G4VRML1FileViewer, G4VRML2FileViewer, G4XXXFileViewer, G4XXXSGViewer, G4XXXStoredViewer, and G4XXXViewer.
Definition at line 102 of file G4VViewer.cc.
Referenced by G4VVisCommand::InterpolateViews(), G4HepRepFileViewer::ShowView(), and G4HepRepViewer::ShowView().
|
protected |
Definition at line 170 of file G4VViewer.cc.
|
protected |
Definition at line 136 of file G4VViewer.cc.
|
friend |
Definition at line 383 of file G4VViewer.cc.
|
protected |
Definition at line 220 of file G4VViewer.hh.
Referenced by G4ASCIITreeViewer::G4ASCIITreeViewer(), G4HepRepFileViewer::G4HepRepFileViewer(), G4HepRepViewer::G4HepRepViewer(), and G4VViewer().
|
protected |
Definition at line 217 of file G4VViewer.hh.
Referenced by G4XXXStoredViewer::DrawFromStore(), G4XXXSGViewer::DrawFromStore(), G4VViewer(), and SetName().
|
protected |
Definition at line 224 of file G4VViewer.hh.
Referenced by G4XXXSGViewer::DrawView(), G4XXXStoredViewer::DrawView(), NeedKernelVisit(), and ProcessView().
|
protected |
Definition at line 215 of file G4VViewer.hh.
Referenced by G4XXXStoredViewer::DrawFromStore(), G4XXXSGViewer::DrawFromStore(), G4VViewer(), G4XXXSGViewer::KernelVisitDecision(), G4XXXStoredViewer::KernelVisitDecision(), ProcessView(), G4RayTracerViewer::SetView(), G4XXXViewer::ShowView(), and ~G4VViewer().
|
protected |
Definition at line 218 of file G4VViewer.hh.
Referenced by G4RayTracerViewer::DrawView(), G4VViewer(), and SetName().
|
protected |
Definition at line 216 of file G4VViewer.hh.
Referenced by G4RayTracerViewer::G4RayTracerViewer(), and G4VViewer().
|
protected |
Definition at line 219 of file G4VViewer.hh.
Referenced by G4XXXSGViewer::CompareForKernelVisit(), G4XXXStoredViewer::CompareForKernelVisit(), G4RayTracerViewer::DrawView(), G4XXXSGViewer::DrawView(), G4XXXStoredViewer::DrawView(), G4ASCIITreeViewer::G4ASCIITreeViewer(), G4HepRepFileViewer::G4HepRepFileViewer(), G4HepRepViewer::G4HepRepViewer(), G4VViewer(), G4RayTracerViewer::Initialise(), G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI(), G4DAWNFILEViewer::SendViewParameters(), G4RayTracerViewer::SetView(), SetViewParameters(), TouchableSetColour(), and TouchableSetVisibility().