Geant4
10.01.p02
|
#include <G4VSceneHandler.hh>
Public Types | |
enum | MarkerSizeType { world, screen } |
Protected Member Functions | |
virtual void | ProcessScene () |
virtual void | RequestPrimitives (const G4VSolid &solid) |
virtual G4VSolid * | CreateSectionSolid () |
virtual G4VSolid * | CreateCutawaySolid () |
void | LoadAtts (const G4Visible &, G4AttHolder *) |
Private Member Functions | |
G4VSceneHandler (const G4VSceneHandler &) | |
G4VSceneHandler & | operator= (const G4VSceneHandler &) |
Friends | |
class | G4VViewer |
std::ostream & | operator<< (std::ostream &os, const G4VSceneHandler &s) |
Definition at line 61 of file G4VSceneHandler.hh.
Enumerator | |
---|---|
world | |
screen |
Definition at line 68 of file G4VSceneHandler.hh.
G4VSceneHandler::G4VSceneHandler | ( | G4VGraphicsSystem & | system, |
G4int | id, | ||
const G4String & | name = "" |
||
) |
Definition at line 91 of file G4VSceneHandler.cc.
References fName, fpScene, fSceneHandlerId, fSystem, fTransientsDrawnThisEvent, fTransientsDrawnThisRun, G4VisManager::GetInstance(), G4VGraphicsSystem::GetName(), G4VisManager::GetTransientsDrawnThisEvent(), G4VisManager::GetTransientsDrawnThisRun(), and name.
|
virtual |
Definition at line 122 of file G4VSceneHandler.cc.
References fViewerList.
|
private |
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 271 of file G4VSceneHandler.cc.
References G4VTrajectory::DrawTrajectory(), FatalException, fpModel, and G4Exception().
Referenced by G4VRML1FileSceneHandler::AddCompound(), G4VRML2FileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddCompound(), G4HepRepSceneHandler::AddCompound(), G4DAWNFILESceneHandler::AddCompound(), and G4GMocrenFileSceneHandler::AddCompound().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 283 of file G4VSceneHandler.cc.
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 288 of file G4VSceneHandler.cc.
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 293 of file G4VSceneHandler.cc.
References G4VScoringMesh::DrawMesh(), G4String::first(), G4cout, G4endl, G4ScoringManager::GetMesh(), G4ScoringManager::GetNumberOfMesh(), G4VScoringMesh::GetScoreMap(), G4ScoringManager::GetScoringManagerIfExist(), and G4VScoringMesh::IsActive().
|
pure virtual |
Implements G4VGraphicsScene.
Implemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4GMocrenFileSceneHandler, G4VTreeSceneHandler, G4DAWNFILESceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
Referenced by G4XXXSceneHandler::AddPrimitive(), G4DAWNFILESceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddPrimitive(), G4VRML2FileSceneHandler::AddPrimitive(), G4VRML1FileSceneHandler::AddPrimitive(), G4XXXFileSceneHandler::AddPrimitive(), G4XXXStoredSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), G4XXXSGSceneHandler::AddPrimitive(), AddPrimitive(), and RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4VTreeSceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
Definition at line 339 of file G4VSceneHandler.cc.
References AddPrimitive(), fpModel, fpScene, G4Scale::GetAnnotation(), G4Scale::GetAnnotationSize(), G4Scale::GetAutoPlacing(), G4Scale::GetDirection(), G4Scene::GetExtent(), G4Scale::GetLength(), G4VModel::GetTransformation(), G4Visible::GetVisAttributes(), G4VisExtent::GetXmax(), G4VisExtent::GetXmin(), G4VisExtent::GetYmax(), G4VisExtent::GetYmin(), G4VisExtent::GetZmax(), G4VisExtent::GetZmin(), G4VMarker::SetScreenSize(), G4Visible::SetVisAttributes(), G4Polyline::transform(), G4Scale::x, G4Scale::y, and G4Scale::z.
|
pure virtual |
Implements G4VGraphicsScene.
Implemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4XXXFileSceneHandler, G4GMocrenFileSceneHandler, G4VTreeSceneHandler, G4DAWNFILESceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
|
pure virtual |
Implements G4VGraphicsScene.
Implemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4XXXFileSceneHandler, G4GMocrenFileSceneHandler, G4VTreeSceneHandler, G4DAWNFILESceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
|
pure virtual |
Implements G4VGraphicsScene.
Implemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4XXXFileSceneHandler, G4GMocrenFileSceneHandler, G4VTreeSceneHandler, G4DAWNFILESceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4VTreeSceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
Definition at line 441 of file G4VSceneHandler.cc.
References AddPrimitive(), G4Polymarker::circles, G4Polymarker::dots, G4Polymarker::GetMarkerType(), G4VMarker::SetPosition(), G4VMarker::SetScreenSize(), G4VMarker::SetWorldSize(), and G4Polymarker::squares.
|
pure virtual |
Implements G4VGraphicsScene.
Implemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4GMocrenFileSceneHandler, G4VTreeSceneHandler, G4DAWNFILESceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4XXXSGSceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4RayTracerSceneHandler, G4XXXStoredSceneHandler, and G4XXXFileSceneHandler.
Definition at line 216 of file G4VSceneHandler.cc.
References RequestPrimitives().
Referenced by G4XXXFileSceneHandler::AddSolid(), G4XXXStoredSceneHandler::AddSolid(), G4VRML1FileSceneHandler::AddSolid(), G4VRML2FileSceneHandler::AddSolid(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4XXXSGSceneHandler::AddSolid(), G4DAWNFILESceneHandler::AddSolid(), and G4GMocrenFileSceneHandler::AddSolid().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4XXXFileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 235 of file G4VSceneHandler.cc.
References RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 231 of file G4VSceneHandler.cc.
References RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 239 of file G4VSceneHandler.cc.
References RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 243 of file G4VSceneHandler.cc.
References RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 247 of file G4VSceneHandler.cc.
References RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 251 of file G4VSceneHandler.cc.
References RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 255 of file G4VSceneHandler.cc.
References RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4XXXSGSceneHandler, G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 259 of file G4VSceneHandler.cc.
References RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 263 of file G4VSceneHandler.cc.
References RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 267 of file G4VSceneHandler.cc.
References RequestPrimitives().
void G4VSceneHandler::AddViewerToList | ( | G4VViewer * | pView | ) |
Definition at line 335 of file G4VSceneHandler.cc.
References fViewerList.
|
virtual |
Reimplemented in G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4VTreeSceneHandler, and G4ASCIITreeSceneHandler.
Definition at line 204 of file G4VSceneHandler.cc.
Referenced by G4VTreeSceneHandler::BeginModeling(), G4DAWNFILESceneHandler::BeginModeling(), G4GMocrenFileSceneHandler::BeginModeling(), G4HepRepSceneHandler::BeginModeling(), G4HepRepFileSceneHandler::BeginModeling(), G4GMocrenFileSceneHandler::GFBeginModeling(), and ProcessScene().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4XXXSGSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4GMocrenFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4DAWNFILESceneHandler.
Definition at line 157 of file G4VSceneHandler.cc.
References FatalException, and G4Exception().
Referenced by G4GMocrenFileSceneHandler::BeginPrimitives(), G4XXXStoredSceneHandler::BeginPrimitives(), G4HepRepSceneHandler::BeginPrimitives(), G4XXXSGSceneHandler::BeginPrimitives(), and RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4HepRepFileSceneHandler.
Definition at line 181 of file G4VSceneHandler.cc.
References FatalException, and G4Exception().
Referenced by G4HepRepFileSceneHandler::BeginPrimitives2D().
|
virtual |
Reimplemented in G4XXXSGSceneHandler, and G4XXXStoredSceneHandler.
Definition at line 212 of file G4VSceneHandler.cc.
Referenced by G4VViewer::ProcessView().
|
virtual |
Reimplemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4VRML1FileSceneHandler, and G4VRML2FileSceneHandler.
Definition at line 214 of file G4VSceneHandler.cc.
Referenced by G4VisManager::ClearTransientStoreIfMarked(), G4VisCommandViewerClearTransients::SetNewValue(), and G4VisCommandViewerRebuild::SetNewValue().
|
protectedvirtual |
Definition at line 766 of file G4VSceneHandler.cc.
Referenced by CreateModelingParameters().
G4ModelingParameters * G4VSceneHandler::CreateModelingParameters | ( | ) |
Definition at line 680 of file G4VSceneHandler.cc.
References CreateCutawaySolid(), CreateSectionSolid(), fpViewer, G4ViewParameters::GetDefaultVisAttributes(), G4ViewParameters::GetDrawingStyle(), G4ViewParameters::GetExplodeCentre(), G4ViewParameters::GetExplodeFactor(), G4ViewParameters::GetNoOfSides(), G4VisManager::GetVerbosity(), G4ViewParameters::GetVisAttributesModifiers(), G4ViewParameters::GetVisibleDensity(), G4ModelingParameters::hlhsr, G4ViewParameters::hlhsr, G4ModelingParameters::hlr, G4ViewParameters::hlr, G4ModelingParameters::hsr, G4ViewParameters::hsr, G4ViewParameters::IsCulling(), G4ViewParameters::IsCullingCovered(), G4ViewParameters::IsCullingInvisible(), G4ViewParameters::IsCutaway(), G4ViewParameters::IsDensityCulling(), G4ViewParameters::IsSection(), G4ModelingParameters::SetCutawaySolid(), G4ModelingParameters::SetExplodeCentre(), G4ModelingParameters::SetExplodeFactor(), G4ModelingParameters::SetSectionSolid(), G4ModelingParameters::SetVisAttributesModifiers(), G4ModelingParameters::SetWarning(), G4VisManager::warnings, G4ModelingParameters::wf, and G4ViewParameters::wireframe.
Referenced by DrawEndOfRunModels(), DrawEvent(), and ProcessScene().
|
protectedvirtual |
Definition at line 739 of file G4VSceneHandler.cc.
References a, fpScene, fpViewer, G4Scene::GetExtent(), G4VisExtent::GetExtentCentre(), G4VisExtent::GetExtentRadius(), G4ViewParameters::GetSectionPlane(), G4VViewer::GetViewParameters(), G4ViewParameters::IsSection(), CLHEP::normal(), and G4InuclParticleNames::sp.
Referenced by CreateModelingParameters().
void G4VSceneHandler::DrawEndOfRunModels | ( | ) |
Definition at line 658 of file G4VSceneHandler.cc.
References CreateModelingParameters(), fpScene, G4ModelingParameters::SetEvent(), and SetModel().
Referenced by G4VisManager::EndOfRun(), and ProcessScene().
void G4VSceneHandler::DrawEvent | ( | const G4Event * | event | ) |
Definition at line 636 of file G4VSceneHandler.cc.
References CreateModelingParameters(), fpScene, G4ModelingParameters::SetEvent(), and SetModel().
Referenced by G4VisManager::DrawEvent(), and ProcessScene().
|
virtual |
Reimplemented in G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4VTreeSceneHandler, and G4ASCIITreeSceneHandler.
Definition at line 207 of file G4VSceneHandler.cc.
References fpModel.
Referenced by G4VTreeSceneHandler::EndModeling(), G4DAWNFILESceneHandler::EndModeling(), G4GMocrenFileSceneHandler::EndModeling(), G4HepRepSceneHandler::EndModeling(), G4HepRepFileSceneHandler::EndModeling(), G4GMocrenFileSceneHandler::GFEndModeling(), and ProcessScene().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4XXXSGSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4GMocrenFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4DAWNFILESceneHandler.
Definition at line 169 of file G4VSceneHandler.cc.
References FatalException, fNestingDepth, fReadyForTransients, fTransientsDrawnThisEvent, fTransientsDrawnThisRun, and G4Exception().
Referenced by G4GMocrenFileSceneHandler::EndPrimitives(), G4XXXStoredSceneHandler::EndPrimitives(), G4HepRepSceneHandler::EndPrimitives(), G4XXXSGSceneHandler::EndPrimitives(), and RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4HepRepFileSceneHandler.
Definition at line 192 of file G4VSceneHandler.cc.
References FatalException, fNestingDepth, fProcessing2D, fReadyForTransients, fTransientsDrawnThisEvent, fTransientsDrawnThisRun, and G4Exception().
Referenced by G4HepRepFileSceneHandler::EndPrimitives2D().
G4bool G4VSceneHandler::GetAuxEdgeVisible | ( | const G4VisAttributes * | pVisAttribs | ) |
Definition at line 896 of file G4VSceneHandler.cc.
References fpViewer, G4VViewer::GetViewParameters(), and G4ViewParameters::IsAuxEdgeVisible().
Referenced by G4HepRepSceneHandler::AddPrimitive(), G4HepRepSceneHandler::getColorFor(), and G4HepRepSceneHandler::setMarker().
Definition at line 831 of file G4VSceneHandler.cc.
References fpViewer, and G4Visible::GetVisAttributes().
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), and GetTextColour().
G4VViewer* G4VSceneHandler::GetCurrentViewer | ( | ) | const |
Referenced by G4HepRepSceneHandler::addTopLevelAttributes(), G4HepRepSceneHandler::close(), and G4HepRepSceneHandler::closeHepRep().
G4ViewParameters::DrawingStyle G4VSceneHandler::GetDrawingStyle | ( | const G4VisAttributes * | pVisAttribs | ) |
Definition at line 857 of file G4VSceneHandler.cc.
References G4ViewParameters::hlhsr, G4ViewParameters::hlr, G4ViewParameters::hsr, G4VisAttributes::solid, G4VisAttributes::wireframe, and G4ViewParameters::wireframe.
Referenced by G4XXXSceneHandler::AddPrimitive(), G4XXXFileSceneHandler::AddPrimitive(), G4XXXStoredSceneHandler::AddPrimitive(), and G4XXXSGSceneHandler::AddPrimitive().
|
virtual |
Reimplemented from G4VGraphicsScene.
Definition at line 131 of file G4VSceneHandler.cc.
References fpScene, G4Scene::GetExtent(), and G4VisExtent::NullExtent.
G4VGraphicsSystem* G4VSceneHandler::GetGraphicsSystem | ( | ) | const |
Referenced by G4ASCIITreeSceneHandler::BeginModeling(), G4ASCIITreeSceneHandler::EndModeling(), G4ASCIITreeSceneHandler::RequestPrimitives(), G4ASCIITreeSceneHandler::WriteHeader(), G4HepRepSceneHandler::~G4HepRepSceneHandler(), and G4HepRepViewer::~G4HepRepViewer().
G4double G4VSceneHandler::GetLineWidth | ( | const G4VisAttributes * | pVisAttribs | ) |
Definition at line 847 of file G4VSceneHandler.cc.
References fpViewer, and G4VisAttributes::GetLineWidth().
G4double G4VSceneHandler::GetMarkerDiameter | ( | const G4VMarker & | , |
MarkerSizeType & | |||
) |
G4double G4VSceneHandler::GetMarkerRadius | ( | const G4VMarker & | , |
MarkerSizeType & | |||
) |
G4double G4VSceneHandler::GetMarkerSize | ( | const G4VMarker & | marker, |
G4VSceneHandler::MarkerSizeType & | markerSizeType | ||
) |
Definition at line 903 of file G4VSceneHandler.cc.
References G4VMarker::GetScreenSize(), and G4VMarker::GetWorldSize().
Referenced by G4XXXSceneHandler::AddPrimitive(), G4XXXFileSceneHandler::AddPrimitive(), G4XXXStoredSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), and G4XXXSGSceneHandler::AddPrimitive().
G4bool G4VSceneHandler::GetMarkForClearingTransientStore | ( | ) | const |
Referenced by G4VisManager::ClearTransientStoreIfMarked(), and G4VisManager::EndOfRun().
G4VModel* G4VSceneHandler::GetModel | ( | ) | const |
Referenced by G4GMocrenFileSceneHandler::AddDetector(), and G4GMocrenFileSceneHandler::AddSolid().
const G4String& G4VSceneHandler::GetName | ( | ) | const |
Referenced by G4GMocrenFileSceneHandler::AddCompound(), G4GMocrenFileSceneHandler::AddSolid(), G4HepRepSceneHandler::closeHepRep(), G4VViewer::G4VViewer(), G4VisCommandSceneHandlerList::SetNewValue(), G4VisCommandSceneNotifyHandlers::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), and G4VisCommandViewerUpdate::SetNewValue().
G4int G4VSceneHandler::GetNoOfSides | ( | const G4VisAttributes * | pVisAttribs | ) |
Definition at line 926 of file G4VSceneHandler.cc.
References fpViewer, G4cout, G4endl, G4VisAttributes::GetForcedLineSegmentsPerCircle(), G4VisAttributes::GetMinLineSegmentsPerCircle(), G4ViewParameters::GetNoOfSides(), G4VViewer::GetViewParameters(), and G4VisAttributes::IsForceLineSegmentsPerCircle().
Referenced by RequestPrimitives().
const G4Transform3D& G4VSceneHandler::GetObjectTransformation | ( | ) | const |
G4Scene* G4VSceneHandler::GetScene | ( | ) | const |
Referenced by G4HepRepSceneHandler::closeHepRep(), G4GMocrenFileSceneHandler::GFBeginModeling(), G4VVisCommandViewer::RefreshIfRequired(), G4VRML2FileViewer::SendViewParameters(), G4DAWNFILEViewer::SendViewParameters(), G4VisCommandsViewerSet::SetNewValue(), G4VisCommandSceneNotifyHandlers::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerUpdate::SetNewValue(), and G4RayTracerViewer::SetView().
G4int G4VSceneHandler::GetSceneHandlerId | ( | ) | const |
Definition at line 838 of file G4VSceneHandler.cc.
References fpViewer, GetColour(), and G4Visible::GetVisAttributes().
Referenced by G4HepRepFileSceneHandler::AddPrimitive().
G4bool G4VSceneHandler::GetTransientsDrawnThisEvent | ( | ) | const |
Referenced by G4VisManager::ClearTransientStoreIfMarked().
G4bool G4VSceneHandler::GetTransientsDrawnThisRun | ( | ) | const |
Referenced by G4VisManager::ClearTransientStoreIfMarked().
G4int G4VSceneHandler::GetViewCount | ( | ) | const |
const G4ViewerList& G4VSceneHandler::GetViewerList | ( | ) | const |
G4int G4VSceneHandler::IncrementViewCount | ( | ) |
G4bool G4VSceneHandler::IsReadyForTransients | ( | ) | const |
|
protected |
Definition at line 771 of file G4VSceneHandler.cc.
References G4AttHolder::AddAtts(), G4VHit::CreateAttValues(), G4VTrajectoryPoint::CreateAttValues(), G4VTrajectory::CreateAttValues(), G4VisAttributes::CreateAttValues(), G4TrajectoriesModel::CreateCurrentAttValues(), G4PhysicalVolumeModel::CreateCurrentAttValues(), fpModel, G4VHit::GetAttDefs(), G4VTrajectoryPoint::GetAttDefs(), G4TrajectoriesModel::GetAttDefs(), G4VTrajectory::GetAttDefs(), G4VisAttributes::GetAttDefs(), G4PhysicalVolumeModel::GetAttDefs(), G4HitsModel::GetCurrentHit(), G4TrajectoriesModel::GetCurrentTrajectory(), G4VTrajectory::GetPoint(), G4VTrajectory::GetPointEntries(), and G4Visible::GetVisAttributes().
|
private |
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4XXXSGSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, and G4VTreeSceneHandler.
Definition at line 147 of file G4VSceneHandler.cc.
References fProcessingSolid, fpVisAttribs, fReadyForTransients, fTransientsDrawnThisEvent, and fTransientsDrawnThisRun.
Referenced by G4XXXStoredSceneHandler::PostAddSolid(), G4HepRepSceneHandler::PostAddSolid(), and G4XXXSGSceneHandler::PostAddSolid().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4XXXSGSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, and G4VTreeSceneHandler.
Definition at line 140 of file G4VSceneHandler.cc.
References fObjectTransformation, fProcessingSolid, and fpVisAttribs.
Referenced by G4VTreeSceneHandler::PreAddSolid(), G4XXXStoredSceneHandler::PreAddSolid(), G4HepRepSceneHandler::PreAddSolid(), and G4XXXSGSceneHandler::PreAddSolid().
|
protectedvirtual |
Definition at line 511 of file G4VSceneHandler.cc.
References BeginModeling(), G4VisManager::confirmations, CreateModelingParameters(), DrawEndOfRunModels(), DrawEvent(), EndModeling(), fMarkForClearingTransientStore, fpScene, fReadyForTransients, G4cout, G4endl, G4State_GeomClosed, G4State_Idle, G4VVisManager::GetConcreteInstance(), G4RunManager::GetCurrentRun(), G4StateManager::GetCurrentState(), G4Run::GetEventVector(), G4VisManager::GetInstance(), G4MTRunManager::GetMasterRunManager(), G4Scene::GetRefreshAtEndOfEvent(), G4Scene::GetRefreshAtEndOfRun(), G4VisManager::GetRequestedEvent(), G4RunManager::GetRunManager(), G4StateManager::GetStateManager(), G4VisManager::GetVerbosity(), G4Threading::IsMultithreadedApplication(), G4VisManager::SetEventRefreshing(), SetModel(), and G4VisManager::warnings.
Referenced by G4VViewer::ProcessView().
void G4VSceneHandler::RemoveViewerFromList | ( | G4VViewer * | pView | ) |
Definition at line 476 of file G4VSceneHandler.cc.
References fViewerList, and G4ViewerList::remove().
Referenced by G4VViewer::~G4VViewer().
|
protectedvirtual |
Reimplemented in G4ASCIITreeSceneHandler.
Definition at line 489 of file G4VSceneHandler.cc.
References AddPrimitive(), BeginPrimitives(), EndPrimitives(), G4VisManager::errors, fObjectTransformation, fpVisAttribs, G4cerr, G4endl, G4VSolid::GetName(), GetNoOfSides(), G4VSolid::GetPolyhedron(), and G4VisManager::GetVerbosity().
Referenced by AddSolid().
void G4VSceneHandler::SetCurrentViewer | ( | G4VViewer * | ) |
void G4VSceneHandler::SetMarkForClearingTransientStore | ( | G4bool | ) |
Referenced by G4VisManager::ClearTransientStoreIfMarked(), G4VisManager::DrawEvent(), G4VisManager::EndOfRun(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandSceneEndOfRunAction::SetNewValue(), and G4VisCommandViewerClearTransients::SetNewValue().
void G4VSceneHandler::SetModel | ( | G4VModel * | ) |
Referenced by DrawEndOfRunModels(), DrawEvent(), and ProcessScene().
void G4VSceneHandler::SetName | ( | const G4String & | ) |
void G4VSceneHandler::SetObjectTransformation | ( | const G4Transform3D & | ) |
|
virtual |
Definition at line 480 of file G4VSceneHandler.cc.
References fpScene, and fViewerList.
void G4VSceneHandler::SetTransientsDrawnThisEvent | ( | G4bool | ) |
void G4VSceneHandler::SetTransientsDrawnThisRun | ( | G4bool | ) |
G4ViewerList& G4VSceneHandler::SetViewerList | ( | ) |
|
friend |
Definition at line 63 of file G4VSceneHandler.hh.
|
friend |
Definition at line 946 of file G4VSceneHandler.cc.
|
protected |
Definition at line 346 of file G4VSceneHandler.hh.
|
protected |
Definition at line 334 of file G4VSceneHandler.hh.
Referenced by ProcessScene().
|
protected |
Definition at line 329 of file G4VSceneHandler.hh.
Referenced by G4VSceneHandler(), and operator<<().
|
protected |
Definition at line 344 of file G4VSceneHandler.hh.
Referenced by EndPrimitives(), and EndPrimitives2D().
|
protected |
Definition at line 342 of file G4VSceneHandler.hh.
Referenced by G4GMocrenFileSceneHandler::AddDetector(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), PreAddSolid(), and RequestPrimitives().
|
protected |
Definition at line 341 of file G4VSceneHandler.hh.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4GMocrenFileSceneHandler::AddCompound(), AddCompound(), G4GMocrenFileSceneHandler::AddDetector(), G4HepRepFileSceneHandler::AddHepRepInstance(), G4GMocrenFileSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddPrimitive(), AddPrimitive(), G4HepRepSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4XXXSGSceneHandler::CreateCurrentItem(), EndModeling(), G4HepRepSceneHandler::getGeometryOrEventInstance(), G4HepRepSceneHandler::isEventData(), LoadAtts(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
protected |
Definition at line 340 of file G4VSceneHandler.hh.
Referenced by G4GMocrenFileSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddPrimitive(), and EndPrimitives2D().
|
protected |
Definition at line 339 of file G4VSceneHandler.hh.
Referenced by G4XXXStoredSceneHandler::EndPrimitives(), PostAddSolid(), and PreAddSolid().
|
protected |
Definition at line 333 of file G4VSceneHandler.hh.
Referenced by AddPrimitive(), CreateSectionSolid(), DrawEndOfRunModels(), DrawEvent(), G4ASCIITreeSceneHandler::EndModeling(), G4RayTracerSceneHandler::G4RayTracerSceneHandler(), G4VSceneHandler(), GetExtent(), operator<<(), ProcessScene(), and SetScene().
|
protected |
Definition at line 332 of file G4VSceneHandler.hh.
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4XXXSceneHandler::AddPrimitive(), G4XXXFileSceneHandler::AddPrimitive(), G4XXXStoredSceneHandler::AddPrimitive(), G4XXXSGSceneHandler::AddPrimitive(), G4XXXFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::ClearTransientStore(), G4XXXStoredSceneHandler::ClearTransientStore(), G4HepRepFileSceneHandler::ClearTransientStore(), CreateModelingParameters(), CreateSectionSolid(), GetAuxEdgeVisible(), GetColour(), GetLineWidth(), GetNoOfSides(), GetTextColour(), and G4GMocrenFileSceneHandler::IsVisible().
|
protected |
Definition at line 345 of file G4VSceneHandler.hh.
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::dontWrite(), G4HepRepSceneHandler::getColorFor(), G4GMocrenFileSceneHandler::IsVisible(), PostAddSolid(), PreAddSolid(), and RequestPrimitives().
|
protected |
Definition at line 335 of file G4VSceneHandler.hh.
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), EndPrimitives(), EndPrimitives2D(), G4HepRepSceneHandler::isEventData(), PostAddSolid(), and ProcessScene().
|
protected |
Definition at line 328 of file G4VSceneHandler.hh.
Referenced by G4VSceneHandler().
|
protected |
Definition at line 327 of file G4VSceneHandler.hh.
Referenced by G4VSceneHandler().
|
protected |
Definition at line 337 of file G4VSceneHandler.hh.
Referenced by EndPrimitives(), EndPrimitives2D(), G4VSceneHandler(), and PostAddSolid().
|
protected |
Definition at line 338 of file G4VSceneHandler.hh.
Referenced by EndPrimitives(), EndPrimitives2D(), G4VSceneHandler(), and PostAddSolid().
|
protected |
Definition at line 330 of file G4VSceneHandler.hh.
|
protected |
Definition at line 331 of file G4VSceneHandler.hh.
Referenced by AddViewerToList(), operator<<(), RemoveViewerFromList(), SetScene(), and ~G4VSceneHandler().