Geant4
10.03
|
#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 94 of file G4VSceneHandler.cc.
References fName, fpScene, fSceneHandlerId, fSystem, fTransientsDrawnThisEvent, fTransientsDrawnThisRun, G4VisManager::GetInstance(), G4VGraphicsSystem::GetName(), G4VisManager::GetTransientsDrawnThisEvent(), G4VisManager::GetTransientsDrawnThisRun(), and G4InuclParticleNames::name().
|
virtual |
Definition at line 125 of file G4VSceneHandler.cc.
References fViewerList.
|
private |
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 313 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 325 of file G4VSceneHandler.cc.
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 330 of file G4VSceneHandler.cc.
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 335 of file G4VSceneHandler.cc.
References G4VScoringMesh::DrawMesh(), G4String::first(), G4cout, G4endl, G4ScoringManager::GetMesh(), GetName(), G4ScoringManager::GetNumberOfMesh(), G4VScoringMesh::GetScoreMap(), G4ScoringManager::GetScoringManagerIfExist(), and G4VScoringMesh::IsActive().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 377 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, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4GMocrenFileSceneHandler, G4VTreeSceneHandler, G4DAWNFILESceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
Referenced by G4XXXSceneHandler::AddPrimitive(), G4DAWNFILESceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddPrimitive(), G4VRML2FileSceneHandler::AddPrimitive(), G4XXXFileSceneHandler::AddPrimitive(), G4VRML1FileSceneHandler::AddPrimitive(), G4XXXStoredSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), G4XXXSGSceneHandler::AddPrimitive(), AddPrimitive(), and RequestPrimitives().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4XXXFileSceneHandler, G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4VTreeSceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
Definition at line 423 of file G4VSceneHandler.cc.
References AddPrimitive(), fpModel, fpScene, G4Scale::GetAnnotation(), G4Scale::GetAnnotationSize(), G4Scale::GetAutoPlacing(), G4VVisCommand::GetCurrentTextColour(), G4Scale::GetDirection(), G4Scene::GetExtent(), G4Scale::GetLength(), G4VModel::GetTransformation(), G4Visible::GetVisAttributes(), G4VisExtent::GetXmax(), G4VisExtent::GetXmin(), G4VisExtent::GetYmax(), G4VisExtent::GetYmin(), G4VisExtent::GetZmax(), G4VisExtent::GetZmin(), halfpi, G4Visible::SetVisAttributes(), G4Polyline::transform(), G4Scale::x, G4Scale::y, and G4Scale::z.
|
pure virtual |
Implements G4VGraphicsScene.
Implemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4GMocrenFileSceneHandler, G4VTreeSceneHandler, G4DAWNFILESceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
|
pure virtual |
Implements G4VGraphicsScene.
Implemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4GMocrenFileSceneHandler, G4VTreeSceneHandler, G4DAWNFILESceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
|
pure virtual |
Implements G4VGraphicsScene.
Implemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4GMocrenFileSceneHandler, G4VTreeSceneHandler, G4DAWNFILESceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4XXXFileSceneHandler, G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4VTreeSceneHandler, G4XXXSceneHandler, and G4RayTracerSceneHandler.
Definition at line 527 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, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4XXXFileSceneHandler, 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 246 of file G4VSceneHandler.cc.
References AddSolidT().
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 265 of file G4VSceneHandler.cc.
References AddSolidT().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 269 of file G4VSceneHandler.cc.
References AddSolidWithAuxiliaryEdges().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 273 of file G4VSceneHandler.cc.
References AddSolidT().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 277 of file G4VSceneHandler.cc.
References AddSolidWithAuxiliaryEdges().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 281 of file G4VSceneHandler.cc.
References AddSolidWithAuxiliaryEdges().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 285 of file G4VSceneHandler.cc.
References AddSolidT().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 289 of file G4VSceneHandler.cc.
References AddSolidT().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 293 of file G4VSceneHandler.cc.
References AddSolidT().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 297 of file G4VSceneHandler.cc.
References AddSolidWithAuxiliaryEdges().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4XXXSGSceneHandler, G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 301 of file G4VSceneHandler.cc.
References AddSolidT().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 305 of file G4VSceneHandler.cc.
References AddSolidT().
|
virtual |
Implements G4VGraphicsScene.
Reimplemented in G4GMocrenFileSceneHandler, G4XXXSGSceneHandler, G4DAWNFILESceneHandler, G4HepRepSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4XXXFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4RayTracerSceneHandler.
Definition at line 309 of file G4VSceneHandler.cc.
References AddSolidT().
void G4VSceneHandler::AddSolidT | ( | const T & | solid | ) |
Definition at line 220 of file G4VSceneHandler.cc.
Referenced by AddSolid().
void G4VSceneHandler::AddSolidWithAuxiliaryEdges | ( | const T & | solid | ) |
Definition at line 228 of file G4VSceneHandler.cc.
References G4VisAttributes::SetForceAuxEdgeVisible().
Referenced by AddSolid().
void G4VSceneHandler::AddViewerToList | ( | G4VViewer * | pView | ) |
Definition at line 419 of file G4VSceneHandler.cc.
References fViewerList.
|
virtual |
Reimplemented in G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4VTreeSceneHandler, and G4ASCIITreeSceneHandler.
Definition at line 207 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, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4GMocrenFileSceneHandler, and G4DAWNFILESceneHandler.
Definition at line 160 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 184 of file G4VSceneHandler.cc.
References FatalException, and G4Exception().
Referenced by G4HepRepFileSceneHandler::BeginPrimitives2D().
|
virtual |
Reimplemented in G4XXXSGSceneHandler, and G4XXXStoredSceneHandler.
Definition at line 215 of file G4VSceneHandler.cc.
Referenced by G4VViewer::ProcessView().
|
virtual |
Reimplemented in G4XXXSGSceneHandler, G4HepRepFileSceneHandler, G4XXXStoredSceneHandler, G4DAWNFILESceneHandler, G4GMocrenFileSceneHandler, G4VRML1FileSceneHandler, and G4VRML2FileSceneHandler.
Definition at line 217 of file G4VSceneHandler.cc.
Referenced by G4VisManager::ClearTransientStoreIfMarked(), G4VisCommandViewerClearTransients::SetNewValue(), and G4VisCommandViewerRebuild::SetNewValue().
|
protectedvirtual |
Definition at line 860 of file G4VSceneHandler.cc.
Referenced by CreateModelingParameters().
G4ModelingParameters * G4VSceneHandler::CreateModelingParameters | ( | ) |
Definition at line 774 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 833 of file G4VSceneHandler.cc.
References a, angle, 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 752 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 730 of file G4VSceneHandler.cc.
References CreateModelingParameters(), fpScene, G4ModelingParameters::SetEvent(), and SetModel().
Referenced by G4VisManager::EndOfEvent(), and ProcessScene().
|
virtual |
Reimplemented in G4HepRepFileSceneHandler, G4HepRepSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4GMocrenFileSceneHandler, G4DAWNFILESceneHandler, G4VTreeSceneHandler, and G4ASCIITreeSceneHandler.
Definition at line 210 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, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, G4GMocrenFileSceneHandler, and G4DAWNFILESceneHandler.
Definition at line 172 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 195 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 1008 of file G4VSceneHandler.cc.
References fpViewer, G4VViewer::GetViewParameters(), G4ViewParameters::IsAuxEdgeVisible(), and G4VisAttributes::IsForcedAuxEdgeVisible().
const G4Colour& G4VSceneHandler::GetColor | ( | ) |
Referenced by G4HepRepSceneHandler::AddPrimitive(), G4HepRepSceneHandler::getColorFor(), and G4HepRepSceneHandler::setMarker().
const G4Colour& G4VSceneHandler::GetColour | ( | ) |
G4VViewer* G4VSceneHandler::GetCurrentViewer | ( | ) | const |
Referenced by G4HepRepSceneHandler::addTopLevelAttributes(), G4HepRepSceneHandler::close(), and G4HepRepSceneHandler::closeHepRep().
G4ViewParameters::DrawingStyle G4VSceneHandler::GetDrawingStyle | ( | const G4VisAttributes * | pVisAttribs | ) |
Definition at line 969 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 134 of file G4VSceneHandler.cc.
References fpScene, G4Scene::GetExtent(), and G4VisExtent::NullExtent.
G4VGraphicsSystem* G4VSceneHandler::GetGraphicsSystem | ( | ) | const |
Referenced by G4ASCIITreeSceneHandler::BeginModeling(), G4ASCIITreeSceneHandler::EndModeling(), G4ASCIITreeSceneHandler::RequestPrimitives(), G4VisCommandViewerList::SetNewValue(), G4ASCIITreeSceneHandler::WriteHeader(), G4HepRepSceneHandler::~G4HepRepSceneHandler(), and G4HepRepViewer::~G4HepRepViewer().
G4double G4VSceneHandler::GetLineWidth | ( | const G4VisAttributes * | pVisAttribs | ) |
Definition at line 959 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 1017 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().
G4VModel* G4VSceneHandler::GetModel | ( | ) | const |
Referenced by G4GMocrenFileSceneHandler::AddDetector(), and G4GMocrenFileSceneHandler::AddSolid().
const G4String& G4VSceneHandler::GetName | ( | ) | const |
Referenced by G4GMocrenFileSceneHandler::AddCompound(), 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 1040 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 950 of file G4VSceneHandler.cc.
References GetColour(), G4VVisCommand::GetCurrentTextColour(), 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 890 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 150 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 143 of file G4VSceneHandler.cc.
References fObjectTransformation, fProcessingSolid, and fpVisAttribs.
Referenced by G4VTreeSceneHandler::PreAddSolid(), G4XXXStoredSceneHandler::PreAddSolid(), G4HepRepSceneHandler::PreAddSolid(), and G4XXXSGSceneHandler::PreAddSolid().
|
protectedvirtual |
Definition at line 606 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 562 of file G4VSceneHandler.cc.
References fViewerList, and G4ViewerList::remove().
Referenced by G4VViewer::~G4VViewer().
|
protectedvirtual |
Reimplemented in G4ASCIITreeSceneHandler.
Definition at line 575 of file G4VSceneHandler.cc.
References AddPrimitive(), BeginPrimitives(), EndPrimitives(), G4VisManager::errors, fObjectTransformation, fpModel, fpVisAttribs, G4cerr, G4endl, G4PhysicalVolumeModel::GetFullPVPath(), G4VSolid::GetName(), GetNoOfSides(), G4VSolid::GetPolyhedron(), and G4VisManager::GetVerbosity().
void G4VSceneHandler::SetCurrentViewer | ( | G4VViewer * | ) |
void G4VSceneHandler::SetMarkForClearingTransientStore | ( | G4bool | ) |
Referenced by G4VisManager::ClearTransientStoreIfMarked(), G4VisManager::EndOfEvent(), 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 566 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 1060 of file G4VSceneHandler.cc.
|
protected |
Definition at line 357 of file G4VSceneHandler.hh.
|
protected |
Definition at line 345 of file G4VSceneHandler.hh.
Referenced by ProcessScene().
|
protected |
Definition at line 340 of file G4VSceneHandler.hh.
Referenced by G4VSceneHandler(), and operator<<().
|
protected |
Definition at line 355 of file G4VSceneHandler.hh.
Referenced by EndPrimitives(), and EndPrimitives2D().
|
protected |
Definition at line 353 of file G4VSceneHandler.hh.
Referenced by G4GMocrenFileSceneHandler::AddDetector(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), PreAddSolid(), and RequestPrimitives().
|
protected |
Definition at line 352 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(), G4ASCIITreeSceneHandler::RequestPrimitives(), and RequestPrimitives().
|
protected |
Definition at line 351 of file G4VSceneHandler.hh.
Referenced by G4GMocrenFileSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddPrimitive(), and EndPrimitives2D().
|
protected |
Definition at line 350 of file G4VSceneHandler.hh.
Referenced by G4XXXStoredSceneHandler::EndPrimitives(), PostAddSolid(), and PreAddSolid().
|
protected |
Definition at line 344 of file G4VSceneHandler.hh.
Referenced by AddPrimitive(), CreateSectionSolid(), DrawEndOfRunModels(), DrawEvent(), G4ASCIITreeSceneHandler::EndModeling(), G4RayTracerSceneHandler::G4RayTracerSceneHandler(), G4VSceneHandler(), GetExtent(), operator<<(), ProcessScene(), and SetScene().
|
protected |
Definition at line 343 of file G4VSceneHandler.hh.
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4XXXSceneHandler::AddPrimitive(), G4XXXFileSceneHandler::AddPrimitive(), G4XXXStoredSceneHandler::AddPrimitive(), G4XXXSGSceneHandler::AddPrimitive(), G4XXXFileSceneHandler::AddSolid(), G4HepRepFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::ClearTransientStore(), G4XXXStoredSceneHandler::ClearTransientStore(), G4HepRepFileSceneHandler::ClearTransientStore(), CreateModelingParameters(), CreateSectionSolid(), GetAuxEdgeVisible(), GetLineWidth(), GetNoOfSides(), and G4GMocrenFileSceneHandler::IsVisible().
|
protected |
Definition at line 356 of file G4VSceneHandler.hh.
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4HepRepSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::dontWrite(), G4HepRepSceneHandler::getColorFor(), G4GMocrenFileSceneHandler::IsVisible(), PostAddSolid(), PreAddSolid(), RequestPrimitives(), and G4HepRepSceneHandler::setMarker().
|
protected |
Definition at line 346 of file G4VSceneHandler.hh.
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), EndPrimitives(), EndPrimitives2D(), G4HepRepSceneHandler::isEventData(), PostAddSolid(), and ProcessScene().
|
protected |
Definition at line 339 of file G4VSceneHandler.hh.
Referenced by G4VSceneHandler().
|
protected |
Definition at line 338 of file G4VSceneHandler.hh.
Referenced by G4VSceneHandler().
|
protected |
Definition at line 348 of file G4VSceneHandler.hh.
Referenced by EndPrimitives(), EndPrimitives2D(), G4VSceneHandler(), and PostAddSolid().
|
protected |
Definition at line 349 of file G4VSceneHandler.hh.
Referenced by EndPrimitives(), EndPrimitives2D(), G4VSceneHandler(), and PostAddSolid().
|
protected |
Definition at line 341 of file G4VSceneHandler.hh.
|
protected |
Definition at line 342 of file G4VSceneHandler.hh.
Referenced by AddViewerToList(), operator<<(), RemoveViewerFromList(), SetScene(), and ~G4VSceneHandler().