Geant4
10.03
|
#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 46 of file G4VViewer.hh.
G4VViewer::G4VViewer | ( | G4VSceneHandler & | sceneHandler, |
G4int | id, | ||
const G4String & | name = "" |
||
) |
Definition at line 46 of file G4VViewer.cc.
References fDefaultVP, fName, fSceneHandler, fShortName, fViewId, fVP, G4VisManager::GetDefaultViewParameters(), G4VisManager::GetInstance(), G4VSceneHandler::GetName(), G4InuclParticleNames::name(), and G4String::strip().
|
virtual |
Definition at line 68 of file G4VViewer.cc.
References fSceneHandler, and G4VSceneHandler::RemoveViewerFromList().
|
pure virtual |
Implemented in G4GMocrenFileViewer, G4DAWNFILEViewer, G4HepRepFileViewer, G4HepRepViewer, G4XXXFileViewer, G4XXXViewer, G4RayTracerViewer, G4VRML2FileViewer, G4VRML1FileViewer, G4XXXSGViewer, G4XXXStoredViewer, and G4VTreeViewer.
Referenced by G4VisCommandViewerClear::SetNewValue(), and G4VisCommandViewerRebuild::SetNewValue().
std::vector< G4ThreeVector > G4VViewer::ComputeFlyThrough | ( | G4Vector3D * | ) |
Definition at line 206 of file G4VViewer.cc.
References G4VViewer::G4Spline::AddSplinePoint(), G4cout, G4endl, and G4VViewer::G4Spline::GetInterpolatedSplinePoint().
|
pure virtual |
Implemented in G4GMocrenFileViewer, G4DAWNFILEViewer, G4HepRepFileViewer, G4HepRepViewer, G4XXXFileViewer, G4XXXViewer, G4RayTracerViewer, G4VRML2FileViewer, G4VRML1FileViewer, G4XXXSGViewer, G4XXXStoredViewer, and G4VTreeViewer.
Referenced by G4HepRepSceneHandler::closeHepRep(), and G4VisCommandViewerRebuild::SetNewValue().
|
virtual |
Reimplemented in G4HepRepViewer, G4VRML2FileViewer, and G4VRML1FileViewer.
Definition at line 101 of file G4VViewer.cc.
Referenced by G4XXXSGViewer::DrawView(), G4XXXStoredViewer::DrawView(), G4XXXFileViewer::DrawView(), G4XXXViewer::DrawView(), G4HepRepViewer::FinishView(), and G4VisCommandViewerClear::SetNewValue().
const G4VisAttributes* G4VViewer::GetApplicableVisAttributes | ( | const G4VisAttributes * | ) | const |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4RayTrajectory::AppendStep(), G4GMocrenFileSceneHandler::IsVisible(), and G4RTSteppingAction::UserSteppingAction().
const G4ViewParameters& G4VViewer::GetDefaultViewParameters | ( | ) | const |
const G4String& G4VViewer::GetName | ( | ) | const |
Referenced by G4VisCommandDrawTree::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4VisCommandViewerAddCutawayPlane::SetNewValue(), G4VisCommandViewerChangeCutawayPlane::SetNewValue(), G4VisCommandViewerClearCutawayPlanes::SetNewValue(), G4VisCommandViewerClearVisAttributesModifiers::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandViewerInterpolate::SetNewValue(), and G4VisCommandViewerRebuild::SetNewValue().
|
virtual |
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandViewerSave::SetNewValue().
G4VSceneHandler* G4VViewer::GetSceneHandler | ( | ) | const |
Referenced by G4VVisCommandViewer::RefreshIfRequired(), G4VisCommandsViewerSet::SetNewValue(), G4VisCommandViewerClearTransients::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerUpdate::SetNewValue(), G4HepRepViewer::ShowView(), and G4HepRepViewer::~G4HepRepViewer().
const G4String& G4VViewer::GetShortName | ( | ) | const |
G4int G4VViewer::GetViewId | ( | ) | const |
Referenced by G4XXX::CreateViewer(), G4XXXFile::CreateViewer(), G4XXXSG::CreateViewer(), G4XXXStored::CreateViewer(), G4HepRepFile::CreateViewer(), and G4RayTracer::CreateViewer().
const G4ViewParameters& G4VViewer::GetViewParameters | ( | ) | const |
Referenced by G4HepRepSceneHandler::addTopLevelAttributes(), G4VSceneHandler::CreateSectionSolid(), G4VisManager::EndOfRun(), G4VSceneHandler::GetAuxEdgeVisible(), G4VSceneHandler::GetNoOfSides(), G4VVisCommandViewer::RefreshIfRequired(), G4VisCommandsTouchableSet::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4VisCommandDrawView::SetNewValue(), G4VisCommandViewerAddCutawayPlane::SetNewValue(), G4VisCommandViewerChangeCutawayPlane::SetNewValue(), G4VisCommandViewerClearCutawayPlanes::SetNewValue(), G4VisCommandSceneNotifyHandlers::SetNewValue(), G4VisCommandViewerClearVisAttributesModifiers::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandViewerDolly::SetNewValue(), G4VisCommandGeometrySetDaughtersInvisible::SetNewValue(), G4VisCommandViewerInterpolate::SetNewValue(), G4VisCommandViewerPan::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValue(), G4VisCommandViewerZoom::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), and G4VisCommandGeometrySetVisibility::SetNewValueOnLV().
|
virtual |
void G4VViewer::NeedKernelVisit | ( | ) |
Definition at line 78 of file G4VViewer.cc.
References fNeedKernelVisit.
Referenced by G4VTreeViewer::DrawView(), G4VRML1FileViewer::DrawView(), G4VRML2FileViewer::DrawView(), G4XXXFileViewer::DrawView(), G4XXXViewer::DrawView(), G4HepRepViewer::DrawView(), G4HepRepFileViewer::DrawView(), G4DAWNFILEViewer::DrawView(), G4GMocrenFileViewer::DrawView(), G4XXXStoredViewer::KernelVisitDecision(), G4XXXSGViewer::KernelVisitDecision(), and G4VisCommandViewerRebuild::SetNewValue().
void G4VViewer::ProcessView | ( | ) |
Definition at line 105 of file G4VViewer.cc.
References G4VSceneHandler::ClearStore(), fNeedKernelVisit, fSceneHandler, and G4VSceneHandler::ProcessScene().
Referenced by G4VTreeViewer::DrawView(), G4XXXSGViewer::DrawView(), G4XXXStoredViewer::DrawView(), G4VRML1FileViewer::DrawView(), G4VRML2FileViewer::DrawView(), G4XXXFileViewer::DrawView(), G4XXXViewer::DrawView(), G4HepRepViewer::DrawView(), G4HepRepFileViewer::DrawView(), G4DAWNFILEViewer::DrawView(), and G4GMocrenFileViewer::DrawView().
void G4VViewer::RefreshView | ( | ) |
Referenced by G4VisManager::EndOfRun(), and G4VisCommandViewerInterpolate::SetNewValue().
|
virtual |
void G4VViewer::SetDefaultViewParameters | ( | const G4ViewParameters & | vp | ) |
void G4VViewer::SetName | ( | const G4String & | name | ) |
Definition at line 72 of file G4VViewer.cc.
References fName, fShortName, G4InuclParticleNames::name(), and G4String::strip().
void G4VViewer::SetNeedKernelVisit | ( | G4bool | need | ) |
|
protected |
Definition at line 125 of file G4VViewer.cc.
References G4UImanager::ApplyCommand(), and G4UImanager::GetUIpointer().
|
pure virtual |
Implemented in G4GMocrenFileViewer, G4DAWNFILEViewer, G4VRML2FileViewer, G4VRML1FileViewer, G4HepRepFileViewer, G4HepRepViewer, G4XXXFileViewer, G4XXXViewer, G4RayTracerViewer, G4XXXSGViewer, G4XXXStoredViewer, and G4VTreeViewer.
Referenced by G4VisManager::SetCurrentViewer(), G4VisCommandViewerClear::SetNewValue(), and G4VisCommandViewerRebuild::SetNewValue().
void G4VViewer::SetViewParameters | ( | const G4ViewParameters & | vp | ) |
Definition at line 120 of file G4VViewer.cc.
References fVP.
Referenced by G4VisCommandsViewerSet::SetNewValue(), G4VisCommandDrawView::SetNewValue(), G4VisCommandViewerInterpolate::SetNewValue(), and G4VVisCommandViewer::SetViewParameters().
|
virtual |
Reimplemented in G4GMocrenFileViewer, G4DAWNFILEViewer, G4HepRepFileViewer, G4HepRepViewer, G4XXXFileViewer, G4XXXViewer, G4VRML2FileViewer, G4VRML1FileViewer, G4XXXSGViewer, and G4XXXStoredViewer.
Definition at line 103 of file G4VViewer.cc.
Referenced by G4VisManager::EndOfEvent(), G4VisManager::EndOfRun(), G4HepRepViewer::ShowView(), and G4HepRepFileViewer::ShowView().
|
protected |
Definition at line 172 of file G4VViewer.cc.
References G4cout, G4endl, G4Colour::GetAlpha(), G4Colour::GetBlue(), G4Colour::GetGreen(), G4Colour::GetRed(), G4UImanager::GetUIpointer(), G4VisAttributes::SetColour(), and G4ModelingParameters::VASColour.
|
protected |
Definition at line 138 of file G4VViewer.cc.
References G4cout, G4endl, G4UImanager::GetUIpointer(), G4VisAttributes::SetVisibility(), and G4ModelingParameters::VASVisibility.
|
friend |
Definition at line 384 of file G4VViewer.cc.
|
protected |
Definition at line 206 of file G4VViewer.hh.
Referenced by G4HepRepViewer::G4HepRepViewer(), and G4VViewer().
|
protected |
Definition at line 203 of file G4VViewer.hh.
Referenced by G4XXXSGViewer::DrawFromStore(), G4XXXStoredViewer::DrawFromStore(), G4VViewer(), operator<<(), and SetName().
|
protected |
Definition at line 210 of file G4VViewer.hh.
Referenced by G4XXXSGViewer::DrawView(), G4XXXStoredViewer::DrawView(), NeedKernelVisit(), and ProcessView().
|
protected |
Definition at line 201 of file G4VViewer.hh.
Referenced by G4XXXSGViewer::DrawFromStore(), G4XXXStoredViewer::DrawFromStore(), G4VViewer(), G4XXXSGViewer::KernelVisitDecision(), G4XXXStoredViewer::KernelVisitDecision(), ProcessView(), G4RayTracerViewer::SetView(), G4XXXViewer::ShowView(), and ~G4VViewer().
|
protected |
Definition at line 204 of file G4VViewer.hh.
Referenced by G4RayTracerViewer::DrawView(), G4VViewer(), and SetName().
|
protected |
Definition at line 202 of file G4VViewer.hh.
Referenced by G4VViewer().
|
protected |
Definition at line 205 of file G4VViewer.hh.
Referenced by G4XXXSGViewer::CompareForKernelVisit(), G4XXXStoredViewer::CompareForKernelVisit(), G4RayTracerViewer::DrawView(), G4HepRepViewer::G4HepRepViewer(), G4VViewer(), G4XXXSGViewer::KernelVisitDecision(), G4XXXStoredViewer::KernelVisitDecision(), operator<<(), G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI(), G4VRML2FileViewer::SendViewParameters(), G4DAWNFILEViewer::SendViewParameters(), G4RayTracerViewer::SetView(), and SetViewParameters().