Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Types | Protected Attributes | Static Protected Attributes | Friends | List of all members
G4XXXStoredSceneHandler Class Reference

#include <G4XXXStoredSceneHandler.hh>

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

Public Member Functions

 G4XXXStoredSceneHandler (G4VGraphicsSystem &system, const G4String &name)
 
virtual ~G4XXXStoredSceneHandler ()
 
void AddSolid (const G4Box &)
 
void AddSolid (const G4Cons &cons)
 
void AddSolid (const G4Tubs &tubs)
 
void AddSolid (const G4Trd &trd)
 
void AddSolid (const G4Trap &trap)
 
void AddSolid (const G4Sphere &sphere)
 
void AddSolid (const G4Para &para)
 
void AddSolid (const G4Torus &torus)
 
void AddSolid (const G4Polycone &polycone)
 
void AddSolid (const G4Polyhedra &polyhedra)
 
void AddSolid (const G4VSolid &solid)
 
void PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &)
 
void PostAddSolid ()
 
void AddPrimitive (const G4Polyline &)
 
void AddPrimitive (const G4Text &)
 
void AddPrimitive (const G4Circle &)
 
void AddPrimitive (const G4Square &)
 
void AddPrimitive (const G4Polyhedron &)
 
void AddPrimitive (const G4NURBS &)
 
void AddPrimitive (const G4Polymarker &polymarker)
 
void AddPrimitive (const G4Scale &scale)
 
void BeginPrimitives (const G4Transform3D &objectTransformation)
 
void EndPrimitives ()
 
void ClearStore ()
 
void ClearTransientStore ()
 
- Public Member Functions inherited from G4VSceneHandler
 G4VSceneHandler (G4VGraphicsSystem &system, G4int id, const G4String &name="")
 
virtual ~G4VSceneHandler ()
 
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 BeginPrimitives2D (const G4Transform3D &objectTransformation)
 
virtual void EndPrimitives2D ()
 
const G4String & GetName () const
 
G4int GetSceneHandlerId () const
 
G4int GetViewCount () const
 
G4VGraphicsSystem * GetGraphicsSystem () const
 
G4Scene * GetScene () const
 
const G4ViewerList & GetViewerList () const
 
G4VModel * GetModel () const
 
G4VViewer * GetCurrentViewer () const
 
G4bool GetMarkForClearingTransientStore () const
 
G4bool IsReadyForTransients () const
 
G4bool GetTransientsDrawnThisEvent () const
 
G4bool GetTransientsDrawnThisRun () const
 
const G4Transform3D & GetObjectTransformation () const
 
void SetName (const G4String &)
 
void SetCurrentViewer (G4VViewer *)
 
virtual void SetScene (G4Scene *)
 
G4ViewerList & SetViewerList ()
 
void SetModel (G4VModel *)
 
void SetMarkForClearingTransientStore (G4bool)
 
void SetTransientsDrawnThisEvent (G4bool)
 
void SetTransientsDrawnThisRun (G4bool)
 
void SetObjectTransformation (const G4Transform3D &)
 
const G4Colour & GetColour (const G4Visible &)
 
const G4Colour & GetColor (const G4Visible &)
 
const G4Colour & GetTextColour (const G4Text &)
 
const G4Colour & GetTextColor (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 &)
 
G4ModelingParameters * CreateModelingParameters ()
 
void DrawEvent (const G4Event *)
 
void DrawEndOfRunModels ()
 
G4int IncrementViewCount ()
 
void AddViewerToList (G4VViewer *pView)
 
void RemoveViewerFromList (G4VViewer *pView)
 
- Public Member Functions inherited from G4VGraphicsScene
 G4VGraphicsScene ()
 
virtual ~G4VGraphicsScene ()
 

Protected Types

typedef std::list< G4String > Store
 
typedef std::list< G4String >
::iterator 
StoreIterator
 

Protected Attributes

Store fStore
 
StoreIterator fCurrentItem
 
std::vector< StoreIterator > fPermanents
 
std::vector< StoreIterator > fTransients
 
- Protected Attributes inherited from G4VSceneHandler
G4VGraphicsSystem & fSystem
 
const G4int fSceneHandlerId
 
G4String fName
 
G4int fViewCount
 
G4ViewerList fViewerList
 
G4VViewer * fpViewer
 
G4Scene * fpScene
 
G4bool fMarkForClearingTransientStore
 
G4bool fReadyForTransients
 
G4bool fTransientsDrawnThisEvent
 
G4bool fTransientsDrawnThisRun
 
G4bool fProcessingSolid
 
G4bool fProcessing2D
 
G4VModel * fpModel
 
G4Transform3D fObjectTransformation
 
G4int fNestingDepth
 
const G4VisAttributes * fpVisAttribs
 
const G4Transform3D fIdentityTransformation
 

Static Protected Attributes

static G4int fSceneIdCount = 0
 

Friends

class G4XXXStoredViewer
 

Additional Inherited Members

- Public Types inherited from G4VSceneHandler
enum  MarkerSizeType { world, screen }
 
- Protected Member Functions inherited from G4VSceneHandler
virtual void ProcessScene ()
 
virtual void RequestPrimitives (const G4VSolid &solid)
 
virtual G4VSolid * CreateSectionSolid ()
 
virtual G4VSolid * CreateCutawaySolid ()
 
void LoadAtts (const G4Visible &, G4AttHolder *)
 

Detailed Description

Definition at line 41 of file G4XXXStoredSceneHandler.hh.

Member Typedef Documentation

typedef std::list<G4String> G4XXXStoredSceneHandler::Store
protected

Definition at line 123 of file G4XXXStoredSceneHandler.hh.

typedef std::list<G4String>::iterator G4XXXStoredSceneHandler::StoreIterator
protected

Definition at line 124 of file G4XXXStoredSceneHandler.hh.

Constructor & Destructor Documentation

G4XXXStoredSceneHandler::G4XXXStoredSceneHandler ( G4VGraphicsSystem &  system,
const G4String &  name 
)

Definition at line 57 of file G4XXXStoredSceneHandler.cc.

G4XXXStoredSceneHandler::~G4XXXStoredSceneHandler ( )
virtual

Definition at line 62 of file G4XXXStoredSceneHandler.cc.

Member Function Documentation

void G4XXXStoredSceneHandler::AddPrimitive ( const G4Polyline &  polyline)
virtual

Implements G4VSceneHandler.

Definition at line 218 of file G4XXXStoredSceneHandler.cc.

void G4XXXStoredSceneHandler::AddPrimitive ( const G4Text &  text)
virtual

Implements G4VSceneHandler.

Definition at line 234 of file G4XXXStoredSceneHandler.cc.

void G4XXXStoredSceneHandler::AddPrimitive ( const G4Circle &  circle)
virtual

Implements G4VSceneHandler.

Definition at line 252 of file G4XXXStoredSceneHandler.cc.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddPrimitive ( const G4Square &  square)
virtual

Implements G4VSceneHandler.

Definition at line 282 of file G4XXXStoredSceneHandler.cc.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddPrimitive ( const G4Polyhedron &  polyhedron)
virtual

Implements G4VSceneHandler.

Definition at line 312 of file G4XXXStoredSceneHandler.cc.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddPrimitive ( const G4NURBS &  )
virtual

Implements G4VSceneHandler.

Definition at line 370 of file G4XXXStoredSceneHandler.cc.

void G4XXXStoredSceneHandler::AddPrimitive ( const G4Polymarker &  polymarker)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 96 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddPrimitive ( const G4Scale &  scale)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 98 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddSolid ( const G4Box &  box)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 200 of file G4XXXStoredSceneHandler.cc.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddSolid ( const G4Cons &  cons)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 56 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddSolid ( const G4Tubs &  tubs)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 58 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddSolid ( const G4Trd &  trd)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 60 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddSolid ( const G4Trap &  trap)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 62 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddSolid ( const G4Sphere &  sphere)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 64 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddSolid ( const G4Para &  para)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 66 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddSolid ( const G4Torus &  torus)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 68 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddSolid ( const G4Polycone &  polycone)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 70 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddSolid ( const G4Polyhedra &  polyhedra)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 72 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::AddSolid ( const G4VSolid &  solid)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 74 of file G4XXXStoredSceneHandler.hh.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::BeginPrimitives ( const G4Transform3D &  objectTransformation)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 165 of file G4XXXStoredSceneHandler.cc.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::ClearStore ( )
virtual

Reimplemented from G4VSceneHandler.

Definition at line 379 of file G4XXXStoredSceneHandler.cc.

void G4XXXStoredSceneHandler::ClearTransientStore ( )
virtual

Reimplemented from G4VSceneHandler.

Definition at line 386 of file G4XXXStoredSceneHandler.cc.

void G4XXXStoredSceneHandler::EndPrimitives ( )
virtual

Reimplemented from G4VSceneHandler.

Definition at line 183 of file G4XXXStoredSceneHandler.cc.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::PostAddSolid ( )
virtual

Reimplemented from G4VSceneHandler.

Definition at line 158 of file G4XXXStoredSceneHandler.cc.

Here is the call graph for this function:

void G4XXXStoredSceneHandler::PreAddSolid ( const G4Transform3D &  objectTransformation,
const G4VisAttributes &  visAttribs 
)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 94 of file G4XXXStoredSceneHandler.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class G4XXXStoredViewer
friend

Definition at line 43 of file G4XXXStoredSceneHandler.hh.

Member Data Documentation

StoreIterator G4XXXStoredSceneHandler::fCurrentItem
protected

Definition at line 126 of file G4XXXStoredSceneHandler.hh.

std::vector<StoreIterator> G4XXXStoredSceneHandler::fPermanents
protected

Definition at line 129 of file G4XXXStoredSceneHandler.hh.

G4int G4XXXStoredSceneHandler::fSceneIdCount = 0
staticprotected

Definition at line 118 of file G4XXXStoredSceneHandler.hh.

Store G4XXXStoredSceneHandler::fStore
protected

Definition at line 125 of file G4XXXStoredSceneHandler.hh.

std::vector<StoreIterator> G4XXXStoredSceneHandler::fTransients
protected

Definition at line 130 of file G4XXXStoredSceneHandler.hh.


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