Geant4  10.02.p02
G4VSceneHandler Class Referenceabstract

#include <G4VSceneHandler.hh>

+ Inheritance diagram for G4VSceneHandler:
+ Collaboration diagram for G4VSceneHandler:

Public Types

enum  MarkerSizeType { world, screen }
 

Public Member Functions

 G4VSceneHandler (G4VGraphicsSystem &system, G4int id, const G4String &name="")
 
virtual ~G4VSceneHandler ()
 
virtual void PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &)
 
virtual void PostAddSolid ()
 
virtual void AddSolid (const G4Box &)
 
virtual void AddSolid (const G4Cons &)
 
virtual void AddSolid (const G4Tubs &)
 
virtual void AddSolid (const G4Trd &)
 
virtual void AddSolid (const G4Trap &)
 
virtual void AddSolid (const G4Sphere &)
 
virtual void AddSolid (const G4Para &)
 
virtual void AddSolid (const G4Torus &)
 
virtual void AddSolid (const G4Polycone &)
 
virtual void AddSolid (const G4Polyhedra &)
 
virtual void AddSolid (const G4VSolid &)
 
virtual void AddCompound (const G4VTrajectory &)
 
virtual void AddCompound (const G4VHit &)
 
virtual void AddCompound (const G4VDigi &)
 
virtual void AddCompound (const G4THitsMap< G4double > &)
 
virtual void BeginModeling ()
 
virtual void EndModeling ()
 
virtual void BeginPrimitives (const G4Transform3D &objectTransformation)
 
virtual void EndPrimitives ()
 
virtual void BeginPrimitives2D (const G4Transform3D &objectTransformation)
 
virtual void EndPrimitives2D ()
 
virtual void AddPrimitive (const G4Polyline &)=0
 
virtual void AddPrimitive (const G4Scale &)
 
virtual void AddPrimitive (const G4Text &)=0
 
virtual void AddPrimitive (const G4Circle &)=0
 
virtual void AddPrimitive (const G4Square &)=0
 
virtual void AddPrimitive (const G4Polymarker &)
 
virtual void AddPrimitive (const G4Polyhedron &)=0
 
virtual const G4VisExtentGetExtent () const
 
const G4StringGetName () const
 
G4int GetSceneHandlerId () const
 
G4int GetViewCount () const
 
G4VGraphicsSystemGetGraphicsSystem () const
 
G4SceneGetScene () const
 
const G4ViewerListGetViewerList () const
 
G4VModelGetModel () const
 
G4VViewerGetCurrentViewer () const
 
G4bool GetMarkForClearingTransientStore () const
 
G4bool IsReadyForTransients () const
 
G4bool GetTransientsDrawnThisEvent () const
 
G4bool GetTransientsDrawnThisRun () const
 
const G4Transform3DGetObjectTransformation () const
 
void SetName (const G4String &)
 
void SetCurrentViewer (G4VViewer *)
 
virtual void SetScene (G4Scene *)
 
G4ViewerListSetViewerList ()
 
void SetModel (G4VModel *)
 
void SetMarkForClearingTransientStore (G4bool)
 
void SetTransientsDrawnThisEvent (G4bool)
 
void SetTransientsDrawnThisRun (G4bool)
 
void SetObjectTransformation (const G4Transform3D &)
 
const G4ColourGetColour (const G4Visible &)
 
const G4ColourGetColor (const G4Visible &)
 
const G4ColourGetTextColour (const G4Text &)
 
const G4ColourGetTextColor (const G4Text &)
 
G4double GetLineWidth (const G4VisAttributes *)
 
G4ViewParameters::DrawingStyle GetDrawingStyle (const G4VisAttributes *)
 
G4bool GetAuxEdgeVisible (const G4VisAttributes *)
 
G4int GetNoOfSides (const G4VisAttributes *)
 
G4double GetMarkerSize (const G4VMarker &, MarkerSizeType &)
 
G4double GetMarkerDiameter (const G4VMarker &, MarkerSizeType &)
 
G4double GetMarkerRadius (const G4VMarker &, MarkerSizeType &)
 
G4ModelingParametersCreateModelingParameters ()
 
void DrawEvent (const G4Event *)
 
void DrawEndOfRunModels ()
 
G4int IncrementViewCount ()
 
virtual void ClearStore ()
 
virtual void ClearTransientStore ()
 
void AddViewerToList (G4VViewer *pView)
 
void RemoveViewerFromList (G4VViewer *pView)
 
- Public Member Functions inherited from G4VGraphicsScene
 G4VGraphicsScene ()
 
virtual ~G4VGraphicsScene ()
 

Protected Member Functions

virtual void ProcessScene ()
 
virtual void RequestPrimitives (const G4VSolid &solid)
 
virtual G4VSolidCreateSectionSolid ()
 
virtual G4VSolidCreateCutawaySolid ()
 
void LoadAtts (const G4Visible &, G4AttHolder *)
 

Protected Attributes

G4VGraphicsSystemfSystem
 
const G4int fSceneHandlerId
 
G4String fName
 
G4int fViewCount
 
G4ViewerList fViewerList
 
G4VViewerfpViewer
 
G4ScenefpScene
 
G4bool fMarkForClearingTransientStore
 
G4bool fReadyForTransients
 
G4bool fTransientsDrawnThisEvent
 
G4bool fTransientsDrawnThisRun
 
G4bool fProcessingSolid
 
G4bool fProcessing2D
 
G4VModelfpModel
 
G4Transform3D fObjectTransformation
 
G4int fNestingDepth
 
const G4VisAttributesfpVisAttribs
 
const G4Transform3D fIdentityTransformation
 

Private Member Functions

 G4VSceneHandler (const G4VSceneHandler &)
 
G4VSceneHandleroperator= (const G4VSceneHandler &)
 

Friends

class G4VViewer
 
std::ostream & operator<< (std::ostream &os, const G4VSceneHandler &s)
 

Detailed Description

Definition at line 61 of file G4VSceneHandler.hh.

Member Enumeration Documentation

Enumerator
world 
screen 

Definition at line 68 of file G4VSceneHandler.hh.

Constructor & Destructor Documentation

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.

+ Here is the call graph for this function:

G4VSceneHandler::~G4VSceneHandler ( )
virtual

Definition at line 122 of file G4VSceneHandler.cc.

References fViewerList.

G4VSceneHandler::G4VSceneHandler ( const G4VSceneHandler )
private

Member Function Documentation

void G4VSceneHandler::AddCompound ( const G4VTrajectory traj)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VSceneHandler::AddCompound ( const G4VHit hit)
virtual
void G4VSceneHandler::AddCompound ( const G4VDigi digi)
virtual
void G4VSceneHandler::AddCompound ( const G4THitsMap< G4double > &  hits)
virtual
void G4VSceneHandler::AddPrimitive ( const G4Polymarker polymarker)
virtual
void G4VSceneHandler::AddSolid ( const G4Box box)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VSceneHandler::AddSolid ( const G4Cons cons)
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().

+ Here is the call graph for this function:

void G4VSceneHandler::AddSolid ( const G4Tubs tubs)
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().

+ Here is the call graph for this function:

void G4VSceneHandler::AddSolid ( const G4Trd trd)
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().

+ Here is the call graph for this function:

void G4VSceneHandler::AddSolid ( const G4Trap trap)
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().

+ Here is the call graph for this function:

void G4VSceneHandler::AddSolid ( const G4Sphere sphere)
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().

+ Here is the call graph for this function:

void G4VSceneHandler::AddSolid ( const G4Para para)
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().

+ Here is the call graph for this function:

void G4VSceneHandler::AddSolid ( const G4Torus torus)
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().

+ Here is the call graph for this function:

void G4VSceneHandler::AddSolid ( const G4Polycone polycone)
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().

+ Here is the call graph for this function:

void G4VSceneHandler::AddSolid ( const G4Polyhedra polyhedra)
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().

+ Here is the call graph for this function:

void G4VSceneHandler::AddSolid ( const G4VSolid solid)
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().

+ Here is the call graph for this function:

void G4VSceneHandler::AddViewerToList ( G4VViewer pView)

Definition at line 335 of file G4VSceneHandler.cc.

References fViewerList.

void G4VSceneHandler::BeginPrimitives ( const G4Transform3D objectTransformation)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VSceneHandler::BeginPrimitives2D ( const G4Transform3D objectTransformation)
virtual

Implements G4VGraphicsScene.

Reimplemented in G4HepRepFileSceneHandler.

Definition at line 181 of file G4VSceneHandler.cc.

References FatalException, and G4Exception().

Referenced by G4HepRepFileSceneHandler::BeginPrimitives2D().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VSceneHandler::ClearStore ( )
virtual

Reimplemented in G4XXXSGSceneHandler, and G4XXXStoredSceneHandler.

Definition at line 212 of file G4VSceneHandler.cc.

Referenced by G4VViewer::ProcessView().

+ Here is the caller graph for this function:

void G4VSceneHandler::ClearTransientStore ( )
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().

+ Here is the caller graph for this function:

G4VSolid * G4VSceneHandler::CreateCutawaySolid ( )
protectedvirtual

Definition at line 765 of file G4VSceneHandler.cc.

Referenced by CreateModelingParameters().

+ Here is the caller graph for this function:

G4ModelingParameters * G4VSceneHandler::CreateModelingParameters ( )
G4VSolid * G4VSceneHandler::CreateSectionSolid ( )
protectedvirtual

Definition at line 738 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VSceneHandler::DrawEndOfRunModels ( )

Definition at line 657 of file G4VSceneHandler.cc.

References CreateModelingParameters(), fpScene, G4ModelingParameters::SetEvent(), and SetModel().

Referenced by G4VisManager::EndOfRun(), and ProcessScene().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VSceneHandler::DrawEvent ( const G4Event event)

Definition at line 635 of file G4VSceneHandler.cc.

References CreateModelingParameters(), fpScene, G4ModelingParameters::SetEvent(), and SetModel().

Referenced by G4VisManager::EndOfEvent(), and ProcessScene().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VSceneHandler::EndModeling ( )
virtual
void G4VSceneHandler::EndPrimitives ( )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VSceneHandler::EndPrimitives2D ( )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4VSceneHandler::GetAuxEdgeVisible ( const G4VisAttributes pVisAttribs)

Definition at line 895 of file G4VSceneHandler.cc.

References fpViewer, G4VViewer::GetViewParameters(), and G4ViewParameters::IsAuxEdgeVisible().

+ Here is the call graph for this function:

const G4Colour& G4VSceneHandler::GetColor ( const G4Visible )

Referenced by G4HepRepSceneHandler::AddPrimitive(), G4HepRepSceneHandler::getColorFor(), and G4HepRepSceneHandler::setMarker().

+ Here is the caller graph for this function:

const G4Colour & G4VSceneHandler::GetColour ( const G4Visible visible)

Definition at line 830 of file G4VSceneHandler.cc.

References fpViewer, and G4Visible::GetVisAttributes().

Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), and GetTextColour().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VViewer* G4VSceneHandler::GetCurrentViewer ( ) const

Referenced by G4HepRepSceneHandler::addTopLevelAttributes(), G4HepRepSceneHandler::close(), and G4HepRepSceneHandler::closeHepRep().

+ Here is the caller graph for this function:

G4ViewParameters::DrawingStyle G4VSceneHandler::GetDrawingStyle ( const G4VisAttributes pVisAttribs)

Definition at line 856 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().

+ Here is the caller graph for this function:

const G4VisExtent & G4VSceneHandler::GetExtent ( ) const
virtual

Reimplemented from G4VGraphicsScene.

Definition at line 131 of file G4VSceneHandler.cc.

References fpScene, G4Scene::GetExtent(), and G4VisExtent::NullExtent.

+ Here is the call graph for this function:

G4VGraphicsSystem* G4VSceneHandler::GetGraphicsSystem ( ) const

Referenced by G4ASCIITreeSceneHandler::BeginModeling(), G4ASCIITreeSceneHandler::EndModeling(), G4ASCIITreeSceneHandler::RequestPrimitives(), G4ASCIITreeSceneHandler::WriteHeader(), G4HepRepSceneHandler::~G4HepRepSceneHandler(), and G4HepRepViewer::~G4HepRepViewer().

+ Here is the caller graph for this function:

G4double G4VSceneHandler::GetLineWidth ( const G4VisAttributes pVisAttribs)

Definition at line 846 of file G4VSceneHandler.cc.

References fpViewer, and G4VisAttributes::GetLineWidth().

+ Here is the call graph for this function:

G4double G4VSceneHandler::GetMarkerDiameter ( const G4VMarker ,
MarkerSizeType  
)
G4double G4VSceneHandler::GetMarkerRadius ( const G4VMarker ,
MarkerSizeType  
)

Referenced by G4HepRepSceneHandler::setMarker().

+ Here is the caller graph for this function:

G4double G4VSceneHandler::GetMarkerSize ( const G4VMarker marker,
G4VSceneHandler::MarkerSizeType markerSizeType 
)

Definition at line 902 of file G4VSceneHandler.cc.

References G4VMarker::GetScreenSize(), and G4VMarker::GetWorldSize().

Referenced by G4XXXSceneHandler::AddPrimitive(), G4XXXFileSceneHandler::AddPrimitive(), G4XXXStoredSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), and G4XXXSGSceneHandler::AddPrimitive().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4VSceneHandler::GetMarkForClearingTransientStore ( ) const

Referenced by G4VisManager::ClearTransientStoreIfMarked().

+ Here is the caller graph for this function:

G4VModel* G4VSceneHandler::GetModel ( ) const

Referenced by G4GMocrenFileSceneHandler::AddDetector(), and G4GMocrenFileSceneHandler::AddSolid().

+ Here is the caller graph for this function:

const G4String& G4VSceneHandler::GetName ( ) const
G4int G4VSceneHandler::GetNoOfSides ( const G4VisAttributes pVisAttribs)

Definition at line 925 of file G4VSceneHandler.cc.

References fpViewer, G4cout, G4endl, G4VisAttributes::GetForcedLineSegmentsPerCircle(), G4VisAttributes::GetMinLineSegmentsPerCircle(), G4ViewParameters::GetNoOfSides(), G4VViewer::GetViewParameters(), and G4VisAttributes::IsForceLineSegmentsPerCircle().

Referenced by RequestPrimitives().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4Transform3D& G4VSceneHandler::GetObjectTransformation ( ) const
G4int G4VSceneHandler::GetSceneHandlerId ( ) const
const G4Colour& G4VSceneHandler::GetTextColor ( const G4Text )
const G4Colour & G4VSceneHandler::GetTextColour ( const G4Text text)

Definition at line 837 of file G4VSceneHandler.cc.

References fpViewer, GetColour(), and G4Visible::GetVisAttributes().

Referenced by G4HepRepFileSceneHandler::AddPrimitive().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4VSceneHandler::GetTransientsDrawnThisEvent ( ) const

Referenced by G4VisManager::ClearTransientStoreIfMarked().

+ Here is the caller graph for this function:

G4bool G4VSceneHandler::GetTransientsDrawnThisRun ( ) const

Referenced by G4VisManager::ClearTransientStoreIfMarked().

+ Here is the caller graph for this function:

G4int G4VSceneHandler::GetViewCount ( ) const
const G4ViewerList& G4VSceneHandler::GetViewerList ( ) const
G4int G4VSceneHandler::IncrementViewCount ( )
G4bool G4VSceneHandler::IsReadyForTransients ( ) const
G4VSceneHandler& G4VSceneHandler::operator= ( const G4VSceneHandler )
private
void G4VSceneHandler::PostAddSolid ( )
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().

+ Here is the caller graph for this function:

void G4VSceneHandler::PreAddSolid ( const G4Transform3D objectTransformation,
const G4VisAttributes visAttribs 
)
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().

+ Here is the caller graph for this function:

void G4VSceneHandler::RemoveViewerFromList ( G4VViewer pView)

Definition at line 476 of file G4VSceneHandler.cc.

References fViewerList, and G4ViewerList::remove().

Referenced by G4VViewer::~G4VViewer().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VSceneHandler::RequestPrimitives ( const G4VSolid solid)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VSceneHandler::SetCurrentViewer ( G4VViewer )
void G4VSceneHandler::SetMarkForClearingTransientStore ( G4bool  )

Referenced by G4VisManager::ClearTransientStoreIfMarked(), G4VisManager::EndOfEvent(), G4VisManager::EndOfRun(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandSceneEndOfRunAction::SetNewValue(), and G4VisCommandViewerClearTransients::SetNewValue().

+ Here is the caller graph for this function:

void G4VSceneHandler::SetModel ( G4VModel )

Referenced by DrawEndOfRunModels(), DrawEvent(), and ProcessScene().

+ Here is the caller graph for this function:

void G4VSceneHandler::SetName ( const G4String )
void G4VSceneHandler::SetObjectTransformation ( const G4Transform3D )
void G4VSceneHandler::SetScene ( G4Scene pScene)
virtual

Definition at line 480 of file G4VSceneHandler.cc.

References fpScene, and fViewerList.

void G4VSceneHandler::SetTransientsDrawnThisEvent ( G4bool  )

Referenced by G4VisManager::BeginOfEvent().

+ Here is the caller graph for this function:

void G4VSceneHandler::SetTransientsDrawnThisRun ( G4bool  )

Referenced by G4VisManager::BeginOfRun().

+ Here is the caller graph for this function:

G4ViewerList& G4VSceneHandler::SetViewerList ( )

Friends And Related Function Documentation

friend class G4VViewer
friend

Definition at line 63 of file G4VSceneHandler.hh.

std::ostream& operator<< ( std::ostream &  os,
const G4VSceneHandler s 
)
friend

Definition at line 945 of file G4VSceneHandler.cc.

Member Data Documentation

const G4Transform3D G4VSceneHandler::fIdentityTransformation
protected

Definition at line 346 of file G4VSceneHandler.hh.

G4bool G4VSceneHandler::fMarkForClearingTransientStore
protected

Definition at line 334 of file G4VSceneHandler.hh.

Referenced by ProcessScene().

G4String G4VSceneHandler::fName
protected

Definition at line 329 of file G4VSceneHandler.hh.

Referenced by G4VSceneHandler(), and operator<<().

G4int G4VSceneHandler::fNestingDepth
protected

Definition at line 344 of file G4VSceneHandler.hh.

Referenced by EndPrimitives(), and EndPrimitives2D().

G4bool G4VSceneHandler::fProcessing2D
protected
G4bool G4VSceneHandler::fProcessingSolid
protected
const G4int G4VSceneHandler::fSceneHandlerId
protected

Definition at line 328 of file G4VSceneHandler.hh.

Referenced by G4VSceneHandler().

G4VGraphicsSystem& G4VSceneHandler::fSystem
protected

Definition at line 327 of file G4VSceneHandler.hh.

Referenced by G4VSceneHandler().

G4bool G4VSceneHandler::fTransientsDrawnThisEvent
protected

Definition at line 337 of file G4VSceneHandler.hh.

Referenced by EndPrimitives(), EndPrimitives2D(), G4VSceneHandler(), and PostAddSolid().

G4bool G4VSceneHandler::fTransientsDrawnThisRun
protected

Definition at line 338 of file G4VSceneHandler.hh.

Referenced by EndPrimitives(), EndPrimitives2D(), G4VSceneHandler(), and PostAddSolid().

G4int G4VSceneHandler::fViewCount
protected

Definition at line 330 of file G4VSceneHandler.hh.

G4ViewerList G4VSceneHandler::fViewerList
protected

The documentation for this class was generated from the following files: