Geant4  10.02.p02
G4VisExtent Class Reference

#include <G4VisExtent.hh>

+ Collaboration diagram for G4VisExtent:

Public Member Functions

 G4VisExtent (G4double xmin=0., G4double xmax=0., G4double ymin=0., G4double ymax=0., G4double zmin=0., G4double zmax=0.)
 
 G4VisExtent (const G4Point3D &centre, G4double radius)
 
 ~G4VisExtent ()
 
G4bool operator!= (const G4VisExtent &e) const
 
G4double GetXmin () const
 
G4double GetXmax () const
 
G4double GetYmin () const
 
G4double GetYmax () const
 
G4double GetZmin () const
 
G4double GetZmax () const
 
const G4Point3DGetExtentCentre () const
 
const G4Point3DGetExtentCenter () const
 
G4double GetExtentRadius () const
 
void SetXmin (G4double xmin)
 
void SetXmax (G4double xmax)
 
void SetYmin (G4double ymin)
 
void SetYmax (G4double ymax)
 
void SetZmin (G4double zmin)
 
void SetZmax (G4double zmax)
 

Static Public Attributes

static const G4VisExtent NullExtent
 

Private Attributes

G4double fXmin
 
G4double fXmax
 
G4double fYmin
 
G4double fYmax
 
G4double fZmin
 
G4double fZmax
 
G4bool fRadiusCached
 
G4bool fCentreCached
 
G4double fRadius
 
G4Point3D fCentre
 

Friends

std::ostream & operator<< (std::ostream &os, const G4VisExtent &e)
 

Detailed Description

Definition at line 54 of file G4VisExtent.hh.

Constructor & Destructor Documentation

G4VisExtent::G4VisExtent ( G4double  xmin = 0.,
G4double  xmax = 0.,
G4double  ymin = 0.,
G4double  ymax = 0.,
G4double  zmin = 0.,
G4double  zmax = 0. 
)

Definition at line 40 of file G4VisExtent.cc.

G4VisExtent::G4VisExtent ( const G4Point3D centre,
G4double  radius 
)

Definition at line 47 of file G4VisExtent.cc.

References fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.

G4VisExtent::~G4VisExtent ( )

Definition at line 61 of file G4VisExtent.cc.

Member Function Documentation

const G4Point3D & G4VisExtent::GetExtentCenter ( ) const
inline

Definition at line 96 of file G4VisExtent.hh.

References GetExtentCentre().

+ Here is the call graph for this function:

const G4Point3D & G4VisExtent::GetExtentCentre ( ) const

Definition at line 63 of file G4VisExtent.cc.

References fCentre, fCentreCached, fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.

Referenced by G4Scene::CalculateExtent(), G4VSceneHandler::CreateSectionSolid(), GetExtentCenter(), and G4BoundingSphereScene::ProcessVolume().

+ Here is the caller graph for this function:

G4double G4VisExtent::GetXmax ( ) const
inline

Definition at line 90 of file G4VisExtent.hh.

References fXmax.

Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().

+ Here is the caller graph for this function:

G4double G4VisExtent::GetXmin ( ) const
inline

Definition at line 89 of file G4VisExtent.hh.

References fXmin.

Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().

+ Here is the caller graph for this function:

G4double G4VisExtent::GetYmax ( ) const
inline

Definition at line 92 of file G4VisExtent.hh.

References fYmax.

Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().

+ Here is the caller graph for this function:

G4double G4VisExtent::GetYmin ( ) const
inline

Definition at line 91 of file G4VisExtent.hh.

References fYmin.

Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().

+ Here is the caller graph for this function:

G4double G4VisExtent::GetZmax ( ) const
inline

Definition at line 94 of file G4VisExtent.hh.

References fZmax.

Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().

+ Here is the caller graph for this function:

G4double G4VisExtent::GetZmin ( ) const
inline

Definition at line 93 of file G4VisExtent.hh.

References fZmin.

Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().

+ Here is the caller graph for this function:

G4bool G4VisExtent::operator!= ( const G4VisExtent e) const

Definition at line 91 of file G4VisExtent.cc.

References fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.

void G4VisExtent::SetXmax ( G4double  xmax)
inline

Definition at line 102 of file G4VisExtent.hh.

References fCentreCached, fRadiusCached, and fXmax.

Referenced by G4VSolid::GetExtent().

+ Here is the caller graph for this function:

void G4VisExtent::SetXmin ( G4double  xmin)
inline

Definition at line 100 of file G4VisExtent.hh.

References fCentreCached, fRadiusCached, and fXmin.

Referenced by G4VSolid::GetExtent().

+ Here is the caller graph for this function:

void G4VisExtent::SetYmax ( G4double  ymax)
inline

Definition at line 106 of file G4VisExtent.hh.

References fCentreCached, fRadiusCached, and fYmax.

Referenced by G4VSolid::GetExtent().

+ Here is the caller graph for this function:

void G4VisExtent::SetYmin ( G4double  ymin)
inline

Definition at line 104 of file G4VisExtent.hh.

References fCentreCached, fRadiusCached, and fYmin.

Referenced by G4VSolid::GetExtent().

+ Here is the caller graph for this function:

void G4VisExtent::SetZmax ( G4double  zmax)
inline

Definition at line 110 of file G4VisExtent.hh.

References fCentreCached, fRadiusCached, and fZmax.

Referenced by G4VSolid::GetExtent().

+ Here is the caller graph for this function:

void G4VisExtent::SetZmin ( G4double  zmin)
inline

Definition at line 108 of file G4VisExtent.hh.

References fCentreCached, fRadiusCached, and fZmin.

Referenced by G4VSolid::GetExtent().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4VisExtent e 
)
friend

Definition at line 83 of file G4VisExtent.cc.

Member Data Documentation

G4Point3D G4VisExtent::fCentre
mutableprivate

Definition at line 86 of file G4VisExtent.hh.

Referenced by GetExtentCentre().

G4bool G4VisExtent::fCentreCached
mutableprivate

Definition at line 84 of file G4VisExtent.hh.

Referenced by GetExtentCentre(), SetXmax(), SetXmin(), SetYmax(), SetYmin(), SetZmax(), and SetZmin().

G4double G4VisExtent::fRadius
mutableprivate

Definition at line 85 of file G4VisExtent.hh.

Referenced by GetExtentRadius().

G4bool G4VisExtent::fRadiusCached
mutableprivate

Definition at line 84 of file G4VisExtent.hh.

Referenced by GetExtentRadius(), SetXmax(), SetXmin(), SetYmax(), SetYmin(), SetZmax(), and SetZmin().

G4double G4VisExtent::fXmax
private
G4double G4VisExtent::fXmin
private
G4double G4VisExtent::fYmax
private
G4double G4VisExtent::fYmin
private
G4double G4VisExtent::fZmax
private
G4double G4VisExtent::fZmin
private
const G4VisExtent G4VisExtent::NullExtent
static

Definition at line 80 of file G4VisExtent.hh.

Referenced by G4VGraphicsScene::GetExtent(), and G4VSceneHandler::GetExtent().


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