Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4VisExtent Class Reference

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)
 

Constructor & Destructor Documentation

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 
)

Member Function Documentation

G4bool operator!= ( const G4VisExtent e) const
G4double GetXmin ( ) const

References fXmin.

G4double GetXmax ( ) const

References fXmax.

G4double GetYmin ( ) const

References fYmin.

G4double GetYmax ( ) const

References fYmax.

G4double GetZmin ( ) const

References fZmin.

G4double GetZmax ( ) const

References fZmax.

const G4Point3D& GetExtentCentre ( ) const

Referenced by GetExtentCenter().

const G4Point3D & GetExtentCenter ( ) const

References GetExtentCentre().

G4double GetExtentRadius ( ) const
void SetXmin ( G4double  xmin)

References fCentreCached, fRadiusCached, and fXmin.

void SetXmax ( G4double  xmax)

References fCentreCached, fRadiusCached, and fXmax.

void SetYmin ( G4double  ymin)

References fCentreCached, fRadiusCached, and fYmin.

void SetYmax ( G4double  ymax)

References fCentreCached, fRadiusCached, and fYmax.

void SetZmin ( G4double  zmin)

References fCentreCached, fRadiusCached, and fZmin.

void SetZmax ( G4double  zmax)

References fCentreCached, fRadiusCached, and fZmax.

Friends And Related Function Documentation

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

Member Data Documentation

const G4VisExtent NullExtent
static
G4double fXmin
private

Referenced by GetXmin(), and SetXmin().

G4double fXmax
private

Referenced by GetXmax(), and SetXmax().

G4double fYmin
private

Referenced by GetYmin(), and SetYmin().

G4double fYmax
private

Referenced by GetYmax(), and SetYmax().

G4double fZmin
private

Referenced by GetZmin(), and SetZmin().

G4double fZmax
private

Referenced by GetZmax(), and SetZmax().

G4bool fRadiusCached
mutableprivate
G4bool fCentreCached
mutableprivate
G4double fRadius
mutableprivate
G4Point3D fCentre
mutableprivate