Geant4  10.00.p02
G4BoundingSphereScene Class Reference

#include <G4BoundingSphereScene.hh>

+ Inheritance diagram for G4BoundingSphereScene:
+ Collaboration diagram for G4BoundingSphereScene:

Public Member Functions

 G4BoundingSphereScene (G4VModel *pModel=0)
 
virtual ~G4BoundingSphereScene ()
 
void PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &)
 
void PostAddSolid ()
 
void AddSolid (const G4Box &solid)
 
void AddSolid (const G4Cons &solid)
 
void AddSolid (const G4Tubs &solid)
 
void AddSolid (const G4Trd &solid)
 
void AddSolid (const G4Trap &solid)
 
void AddSolid (const G4Sphere &solid)
 
void AddSolid (const G4Para &solid)
 
void AddSolid (const G4Torus &solid)
 
void AddSolid (const G4Polycone &solid)
 
void AddSolid (const G4Polyhedra &solid)
 
void AddSolid (const G4VSolid &solid)
 
void AddCompound (const G4VTrajectory &)
 
void AddCompound (const G4VHit &)
 
void AddCompound (const G4VDigi &)
 
void AddCompound (const G4THitsMap< G4double > &)
 
G4VisExtent GetBoundingSphereExtent ()
 
const G4Point3DGetCentre () const
 
G4double GetRadius () const
 
void SetCentre (const G4Point3D &centre)
 
void ResetBoundingSphere ()
 
void AccrueBoundingSphere (const G4Point3D &centre, G4double radius)
 
virtual void BeginPrimitives (const G4Transform3D &)
 
virtual void EndPrimitives ()
 
virtual void BeginPrimitives2D (const G4Transform3D &)
 
virtual void EndPrimitives2D ()
 
virtual void AddPrimitive (const G4Polyline &)
 
virtual void AddPrimitive (const G4Scale &)
 
virtual void AddPrimitive (const G4Text &)
 
virtual void AddPrimitive (const G4Circle &)
 
virtual void AddPrimitive (const G4Square &)
 
virtual void AddPrimitive (const G4Polymarker &)
 
virtual void AddPrimitive (const G4Polyhedron &)
 
- Public Member Functions inherited from G4VGraphicsScene
 G4VGraphicsScene ()
 
virtual ~G4VGraphicsScene ()
 
virtual const G4VisExtentGetExtent () const
 

Private Member Functions

void Accrue (const G4VSolid &solid)
 

Private Attributes

G4VModelfpModel
 
G4Point3D fCentre
 
G4double fRadius
 
const G4Transform3DfpObjectTransformation
 

Detailed Description

Definition at line 51 of file G4BoundingSphereScene.hh.

Constructor & Destructor Documentation

G4BoundingSphereScene::G4BoundingSphereScene ( G4VModel pModel = 0)

Definition at line 39 of file G4BoundingSphereScene.cc.

G4BoundingSphereScene::~G4BoundingSphereScene ( )
virtual

Definition at line 45 of file G4BoundingSphereScene.cc.

Member Function Documentation

void G4BoundingSphereScene::Accrue ( const G4VSolid solid)
private

Definition at line 57 of file G4BoundingSphereScene.cc.

References AccrueBoundingSphere(), G4PhysicalVolumeModel::CurtailDescent(), fpModel, fpObjectTransformation, G4VSolid::GetExtent(), G4VisExtent::GetExtentCentre(), and G4VisExtent::GetExtentRadius().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4BoundingSphereScene::AccrueBoundingSphere ( const G4Point3D centre,
G4double  radius 
)

Definition at line 79 of file G4BoundingSphereScene.cc.

Referenced by Accrue(), and G4Scene::CalculateExtent().

+ Here is the caller graph for this function:

void G4BoundingSphereScene::AddCompound ( const G4VTrajectory )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 70 of file G4BoundingSphereScene.hh.

void G4BoundingSphereScene::AddCompound ( const G4VHit )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 71 of file G4BoundingSphereScene.hh.

void G4BoundingSphereScene::AddCompound ( const G4VDigi )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 72 of file G4BoundingSphereScene.hh.

void G4BoundingSphereScene::AddCompound ( const G4THitsMap< G4double > &  )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 73 of file G4BoundingSphereScene.hh.

virtual void G4BoundingSphereScene::AddPrimitive ( const G4Polyline )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 96 of file G4BoundingSphereScene.hh.

virtual void G4BoundingSphereScene::AddPrimitive ( const G4Scale )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 97 of file G4BoundingSphereScene.hh.

virtual void G4BoundingSphereScene::AddPrimitive ( const G4Text )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 98 of file G4BoundingSphereScene.hh.

virtual void G4BoundingSphereScene::AddPrimitive ( const G4Circle )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 99 of file G4BoundingSphereScene.hh.

virtual void G4BoundingSphereScene::AddPrimitive ( const G4Square )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 100 of file G4BoundingSphereScene.hh.

virtual void G4BoundingSphereScene::AddPrimitive ( const G4Polymarker )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 101 of file G4BoundingSphereScene.hh.

virtual void G4BoundingSphereScene::AddPrimitive ( const G4Polyhedron )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 102 of file G4BoundingSphereScene.hh.

void G4BoundingSphereScene::AddSolid ( const G4Box solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 59 of file G4BoundingSphereScene.hh.

References Accrue().

+ Here is the call graph for this function:

void G4BoundingSphereScene::AddSolid ( const G4Cons solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 60 of file G4BoundingSphereScene.hh.

References Accrue().

+ Here is the call graph for this function:

void G4BoundingSphereScene::AddSolid ( const G4Tubs solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 61 of file G4BoundingSphereScene.hh.

References Accrue().

+ Here is the call graph for this function:

void G4BoundingSphereScene::AddSolid ( const G4Trd solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 62 of file G4BoundingSphereScene.hh.

References Accrue().

+ Here is the call graph for this function:

void G4BoundingSphereScene::AddSolid ( const G4Trap solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 63 of file G4BoundingSphereScene.hh.

References Accrue().

+ Here is the call graph for this function:

void G4BoundingSphereScene::AddSolid ( const G4Sphere solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 64 of file G4BoundingSphereScene.hh.

References Accrue().

+ Here is the call graph for this function:

void G4BoundingSphereScene::AddSolid ( const G4Para solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 65 of file G4BoundingSphereScene.hh.

References Accrue().

+ Here is the call graph for this function:

void G4BoundingSphereScene::AddSolid ( const G4Torus solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 66 of file G4BoundingSphereScene.hh.

References Accrue().

+ Here is the call graph for this function:

void G4BoundingSphereScene::AddSolid ( const G4Polycone solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 67 of file G4BoundingSphereScene.hh.

References Accrue().

+ Here is the call graph for this function:

void G4BoundingSphereScene::AddSolid ( const G4Polyhedra solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 68 of file G4BoundingSphereScene.hh.

References Accrue().

+ Here is the call graph for this function:

void G4BoundingSphereScene::AddSolid ( const G4VSolid solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 69 of file G4BoundingSphereScene.hh.

References Accrue().

+ Here is the call graph for this function:

virtual void G4BoundingSphereScene::BeginPrimitives ( const G4Transform3D )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 92 of file G4BoundingSphereScene.hh.

virtual void G4BoundingSphereScene::BeginPrimitives2D ( const G4Transform3D )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 94 of file G4BoundingSphereScene.hh.

virtual void G4BoundingSphereScene::EndPrimitives ( )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 93 of file G4BoundingSphereScene.hh.

virtual void G4BoundingSphereScene::EndPrimitives2D ( )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 95 of file G4BoundingSphereScene.hh.

G4VisExtent G4BoundingSphereScene::GetBoundingSphereExtent ( )

Definition at line 53 of file G4BoundingSphereScene.cc.

References fCentre, and fRadius.

Referenced by G4Scene::CalculateExtent().

+ Here is the caller graph for this function:

const G4Point3D& G4BoundingSphereScene::GetCentre ( ) const
inline

Definition at line 75 of file G4BoundingSphereScene.hh.

References fCentre.

Referenced by G4PhysicalVolumeModel::CalculateExtent().

+ Here is the caller graph for this function:

G4double G4BoundingSphereScene::GetRadius ( ) const
inline

Definition at line 76 of file G4BoundingSphereScene.hh.

References fRadius.

Referenced by G4PhysicalVolumeModel::CalculateExtent().

+ Here is the caller graph for this function:

void G4BoundingSphereScene::PostAddSolid ( )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 58 of file G4BoundingSphereScene.hh.

void G4BoundingSphereScene::PreAddSolid ( const G4Transform3D objectTransformation,
const G4VisAttributes  
)
virtual

Implements G4VGraphicsScene.

Definition at line 48 of file G4BoundingSphereScene.cc.

void G4BoundingSphereScene::ResetBoundingSphere ( )

Definition at line 72 of file G4BoundingSphereScene.cc.

References fCentre, fpObjectTransformation, and fRadius.

void G4BoundingSphereScene::SetCentre ( const G4Point3D centre)
inline

Definition at line 78 of file G4BoundingSphereScene.hh.

References fCentre.

Member Data Documentation

G4Point3D G4BoundingSphereScene::fCentre
private
G4VModel* G4BoundingSphereScene::fpModel
private

Definition at line 106 of file G4BoundingSphereScene.hh.

Referenced by Accrue().

const G4Transform3D* G4BoundingSphereScene::fpObjectTransformation
private

Definition at line 109 of file G4BoundingSphereScene.hh.

Referenced by Accrue(), and ResetBoundingSphere().

G4double G4BoundingSphereScene::fRadius
private

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