Geant4  10.01.p03
G4BoundingSphereScene Class Reference

#include <G4BoundingSphereScene.hh>

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

Public Member Functions

 G4BoundingSphereScene (G4VModel *pModel=0)
 
virtual ~G4BoundingSphereScene ()
 
G4VisExtent GetBoundingSphereExtent ()
 
const G4Point3DGetCentre () const
 
G4double GetRadius () const
 
void SetCentre (const G4Point3D &centre)
 
void ResetBoundingSphere ()
 
void AccrueBoundingSphere (const G4Point3D &centre, G4double radius)
 
- Public Member Functions inherited from G4PseudoScene
 G4PseudoScene ()
 
virtual ~G4PseudoScene ()
 
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 > &)
 
void BeginPrimitives (const G4Transform3D &)
 
void EndPrimitives ()
 
void BeginPrimitives2D (const G4Transform3D &)
 
void EndPrimitives2D ()
 
void AddPrimitive (const G4Polyline &)
 
void AddPrimitive (const G4Scale &)
 
void AddPrimitive (const G4Text &)
 
void AddPrimitive (const G4Circle &)
 
void AddPrimitive (const G4Square &)
 
void AddPrimitive (const G4Polymarker &)
 
void AddPrimitive (const G4Polyhedron &)
 
- Public Member Functions inherited from G4VGraphicsScene
 G4VGraphicsScene ()
 
virtual ~G4VGraphicsScene ()
 
virtual const G4VisExtentGetExtent () const
 

Private Member Functions

void ProcessVolume (const G4VSolid &solid)
 

Private Attributes

G4VModelfpModel
 
G4Point3D fCentre
 
G4double fRadius
 

Additional Inherited Members

- Protected Attributes inherited from G4PseudoScene
const G4Transform3DfpCurrentObjectTransformation
 

Detailed Description

Definition at line 41 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 44 of file G4BoundingSphereScene.cc.

Member Function Documentation

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

Definition at line 72 of file G4BoundingSphereScene.cc.

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

+ Here is the caller graph for this function:

G4VisExtent G4BoundingSphereScene::GetBoundingSphereExtent ( )

Definition at line 46 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 51 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 53 of file G4BoundingSphereScene.hh.

References fRadius.

Referenced by G4PhysicalVolumeModel::CalculateExtent().

+ Here is the caller graph for this function:

void G4BoundingSphereScene::ProcessVolume ( const G4VSolid solid)
privatevirtual

Implements G4PseudoScene.

Definition at line 50 of file G4BoundingSphereScene.cc.

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

+ Here is the call graph for this function:

void G4BoundingSphereScene::ResetBoundingSphere ( )
void G4BoundingSphereScene::SetCentre ( const G4Point3D centre)
inline

Definition at line 55 of file G4BoundingSphereScene.hh.

References fCentre.

Member Data Documentation

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

Definition at line 70 of file G4BoundingSphereScene.hh.

Referenced by ProcessVolume().

G4double G4BoundingSphereScene::fRadius
private

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