Geant4_10
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
G4VSceneHandler Class Referenceabstract

#include <G4VSceneHandler.hh>

Inheritance diagram for G4VSceneHandler:
Inheritance graph
[legend]
Collaboration diagram for G4VSceneHandler:
Collaboration graph
[legend]

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
 

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 87 of file G4VSceneHandler.cc.

Here is the call graph for this function:

G4VSceneHandler::~G4VSceneHandler ( )
virtual

Definition at line 118 of file G4VSceneHandler.cc.

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 267 of file G4VSceneHandler.cc.

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
virtual void G4VSceneHandler::AddPrimitive ( const G4Polyline )
pure virtual
void G4VSceneHandler::AddPrimitive ( const G4Scale scale)
virtual
virtual void G4VSceneHandler::AddPrimitive ( const G4Text )
pure virtual
virtual void G4VSceneHandler::AddPrimitive ( const G4Circle )
pure virtual
virtual void G4VSceneHandler::AddPrimitive ( const G4Square )
pure virtual
void G4VSceneHandler::AddPrimitive ( const G4Polymarker polymarker)
virtual
virtual void G4VSceneHandler::AddPrimitive ( const G4Polyhedron )
pure virtual
void G4VSceneHandler::AddSolid ( const G4Box box)
virtual
void G4VSceneHandler::AddSolid ( const G4Cons cons)
virtual
void G4VSceneHandler::AddSolid ( const G4Tubs tubs)
virtual
void G4VSceneHandler::AddSolid ( const G4Trd trd)
virtual
void G4VSceneHandler::AddSolid ( const G4Trap trap)
virtual
void G4VSceneHandler::AddSolid ( const G4Sphere sphere)
virtual
void G4VSceneHandler::AddSolid ( const G4Para para)
virtual
void G4VSceneHandler::AddSolid ( const G4Torus torus)
virtual
void G4VSceneHandler::AddSolid ( const G4Polycone polycone)
virtual
void G4VSceneHandler::AddSolid ( const G4Polyhedra polyhedra)
virtual
void G4VSceneHandler::AddSolid ( const G4VSolid solid)
virtual
void G4VSceneHandler::AddViewerToList ( G4VViewer pView)

Definition at line 331 of file G4VSceneHandler.cc.

void G4VSceneHandler::BeginModeling ( )
virtual
void G4VSceneHandler::BeginPrimitives ( const G4Transform3D objectTransformation)
virtual

Implements G4VGraphicsScene.

Reimplemented in G4XXXSGSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, G4GMocrenFileSceneHandler, G4VRML1FileSceneHandler, G4VRML2FileSceneHandler, and G4DAWNFILESceneHandler.

Definition at line 153 of file G4VSceneHandler.cc.

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 177 of file G4VSceneHandler.cc.

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 208 of file G4VSceneHandler.cc.

Here is the caller graph for this function:

void G4VSceneHandler::ClearTransientStore ( )
virtual
G4VSolid * G4VSceneHandler::CreateCutawaySolid ( )
protectedvirtual

Definition at line 756 of file G4VSceneHandler.cc.

Here is the caller graph for this function:

G4ModelingParameters * G4VSceneHandler::CreateModelingParameters ( )

Definition at line 672 of file G4VSceneHandler.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4VSolid * G4VSceneHandler::CreateSectionSolid ( )
protectedvirtual

Definition at line 729 of file G4VSceneHandler.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4VSceneHandler::DrawEndOfRunModels ( )

Definition at line 650 of file G4VSceneHandler.cc.

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 628 of file G4VSceneHandler.cc.

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 165 of file G4VSceneHandler.cc.

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 188 of file G4VSceneHandler.cc.

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 882 of file G4VSceneHandler.cc.

Here is the call graph for this function:

const G4Colour& G4VSceneHandler::GetColor ( const G4Visible )

Here is the caller graph for this function:

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

Definition at line 817 of file G4VSceneHandler.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4VViewer* G4VSceneHandler::GetCurrentViewer ( ) const

Here is the caller graph for this function:

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

Definition at line 843 of file G4VSceneHandler.cc.

Here is the caller graph for this function:

const G4VisExtent & G4VSceneHandler::GetExtent ( ) const
virtual

Reimplemented from G4VGraphicsScene.

Definition at line 127 of file G4VSceneHandler.cc.

Here is the call graph for this function:

G4VGraphicsSystem* G4VSceneHandler::GetGraphicsSystem ( ) const

Here is the caller graph for this function:

G4double G4VSceneHandler::GetLineWidth ( const G4VisAttributes pVisAttribs)

Definition at line 833 of file G4VSceneHandler.cc.

Here is the call graph for this function:

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

Definition at line 889 of file G4VSceneHandler.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4VSceneHandler::GetMarkForClearingTransientStore ( ) const
G4VModel* G4VSceneHandler::GetModel ( ) const

Here is the caller graph for this function:

const G4String& G4VSceneHandler::GetName ( ) const

Here is the caller graph for this function:

G4int G4VSceneHandler::GetNoOfSides ( const G4VisAttributes pVisAttribs)

Definition at line 912 of file G4VSceneHandler.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

const G4Transform3D& G4VSceneHandler::GetObjectTransformation ( ) const
G4Scene* G4VSceneHandler::GetScene ( ) const

Here is the caller graph for this function:

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

Definition at line 824 of file G4VSceneHandler.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4VSceneHandler::GetTransientsDrawnThisEvent ( ) const
G4bool G4VSceneHandler::GetTransientsDrawnThisRun ( ) const
G4int G4VSceneHandler::GetViewCount ( ) const
const G4ViewerList& G4VSceneHandler::GetViewerList ( ) const
G4int G4VSceneHandler::IncrementViewCount ( )
G4bool G4VSceneHandler::IsReadyForTransients ( ) const
void G4VSceneHandler::LoadAtts ( const G4Visible visible,
G4AttHolder holder 
)
protected

Definition at line 761 of file G4VSceneHandler.cc.

Here is the call graph for this function:

void G4VSceneHandler::PostAddSolid ( )
virtual

Implements G4VGraphicsScene.

Reimplemented in G4XXXSGSceneHandler, G4HepRepSceneHandler, G4XXXStoredSceneHandler, and G4VTreeSceneHandler.

Definition at line 143 of file G4VSceneHandler.cc.

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 136 of file G4VSceneHandler.cc.

Here is the caller graph for this function:

void G4VSceneHandler::ProcessScene ( )
protectedvirtual

Definition at line 507 of file G4VSceneHandler.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4VSceneHandler::RemoveViewerFromList ( G4VViewer pView)

Definition at line 472 of file G4VSceneHandler.cc.

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 485 of file G4VSceneHandler.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the caller graph for this function:

void G4VSceneHandler::SetModel ( G4VModel )

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 476 of file G4VSceneHandler.cc.

void G4VSceneHandler::SetTransientsDrawnThisEvent ( G4bool  )
void G4VSceneHandler::SetTransientsDrawnThisRun ( G4bool  )
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 933 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.

G4String G4VSceneHandler::fName
protected

Definition at line 329 of file G4VSceneHandler.hh.

G4int G4VSceneHandler::fNestingDepth
protected

Definition at line 344 of file G4VSceneHandler.hh.

G4Transform3D G4VSceneHandler::fObjectTransformation
protected

Definition at line 342 of file G4VSceneHandler.hh.

G4VModel* G4VSceneHandler::fpModel
protected

Definition at line 341 of file G4VSceneHandler.hh.

G4bool G4VSceneHandler::fProcessing2D
protected

Definition at line 340 of file G4VSceneHandler.hh.

G4bool G4VSceneHandler::fProcessingSolid
protected

Definition at line 339 of file G4VSceneHandler.hh.

G4Scene* G4VSceneHandler::fpScene
protected

Definition at line 333 of file G4VSceneHandler.hh.

G4VViewer* G4VSceneHandler::fpViewer
protected

Definition at line 332 of file G4VSceneHandler.hh.

const G4VisAttributes* G4VSceneHandler::fpVisAttribs
protected

Definition at line 345 of file G4VSceneHandler.hh.

G4bool G4VSceneHandler::fReadyForTransients
protected

Definition at line 335 of file G4VSceneHandler.hh.

const G4int G4VSceneHandler::fSceneHandlerId
protected

Definition at line 328 of file G4VSceneHandler.hh.

G4VGraphicsSystem& G4VSceneHandler::fSystem
protected

Definition at line 327 of file G4VSceneHandler.hh.

G4bool G4VSceneHandler::fTransientsDrawnThisEvent
protected

Definition at line 337 of file G4VSceneHandler.hh.

G4bool G4VSceneHandler::fTransientsDrawnThisRun
protected

Definition at line 338 of file G4VSceneHandler.hh.

G4int G4VSceneHandler::fViewCount
protected

Definition at line 330 of file G4VSceneHandler.hh.

G4ViewerList G4VSceneHandler::fViewerList
protected

Definition at line 331 of file G4VSceneHandler.hh.


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