Geant4
10.03
|
#include <G4VisExtent.hh>
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 ¢re, 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 G4Point3D & | GetExtentCentre () const |
const G4Point3D & | GetExtentCenter () 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) |
Definition at line 54 of file G4VisExtent.hh.
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 | ( | ) |
Definition at line 61 of file G4VisExtent.cc.
|
inline |
Definition at line 96 of file G4VisExtent.hh.
References GetExtentCentre().
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().
G4double G4VisExtent::GetExtentRadius | ( | ) | const |
Definition at line 73 of file G4VisExtent.cc.
References fRadius, fRadiusCached, fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.
Referenced by G4VisCommandSceneAddUserAction::AddVisAction(), G4Scene::CalculateExtent(), G4VSceneHandler::CreateSectionSolid(), G4BoundingSphereScene::ProcessVolume(), G4VisManager::RegisterEndOfEventUserVisAction(), G4VisManager::RegisterEndOfRunUserVisAction(), G4VisManager::RegisterRunDurationUserVisAction(), G4VRML2FileViewer::SendViewParameters(), G4DAWNFILEViewer::SendViewParameters(), G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), and G4RayTracerViewer::SetView().
|
inline |
Definition at line 90 of file G4VisExtent.hh.
References fXmax.
Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
|
inline |
Definition at line 89 of file G4VisExtent.hh.
References fXmin.
Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
|
inline |
Definition at line 92 of file G4VisExtent.hh.
References fYmax.
Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
|
inline |
Definition at line 91 of file G4VisExtent.hh.
References fYmin.
Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
|
inline |
Definition at line 94 of file G4VisExtent.hh.
References fZmax.
Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
|
inline |
Definition at line 93 of file G4VisExtent.hh.
References fZmin.
Referenced by G4VSceneHandler::AddPrimitive(), G4tgbVolume::BuildSolidForDivision(), G4MagneticFieldModel::DescribeYourselfTo(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
G4bool G4VisExtent::operator!= | ( | const G4VisExtent & | e | ) | const |
|
inline |
Definition at line 102 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fXmax.
Referenced by G4VSolid::GetExtent().
|
inline |
Definition at line 100 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fXmin.
Referenced by G4VSolid::GetExtent().
|
inline |
Definition at line 106 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fYmax.
Referenced by G4VSolid::GetExtent().
|
inline |
Definition at line 104 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fYmin.
Referenced by G4VSolid::GetExtent().
|
inline |
Definition at line 110 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fZmax.
Referenced by G4VSolid::GetExtent().
|
inline |
Definition at line 108 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fZmin.
Referenced by G4VSolid::GetExtent().
|
friend |
Definition at line 83 of file G4VisExtent.cc.
|
mutableprivate |
Definition at line 86 of file G4VisExtent.hh.
Referenced by GetExtentCentre().
|
mutableprivate |
Definition at line 84 of file G4VisExtent.hh.
Referenced by GetExtentCentre(), SetXmax(), SetXmin(), SetYmax(), SetYmin(), SetZmax(), and SetZmin().
|
mutableprivate |
Definition at line 85 of file G4VisExtent.hh.
Referenced by GetExtentRadius().
|
mutableprivate |
Definition at line 84 of file G4VisExtent.hh.
Referenced by GetExtentRadius(), SetXmax(), SetXmin(), SetYmax(), SetYmin(), SetZmax(), and SetZmin().
|
private |
Definition at line 83 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetXmax(), operator!=(), operator<<(), and SetXmax().
|
private |
Definition at line 83 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetXmin(), operator!=(), operator<<(), and SetXmin().
|
private |
Definition at line 83 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetYmax(), operator!=(), operator<<(), and SetYmax().
|
private |
Definition at line 83 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetYmin(), operator!=(), operator<<(), and SetYmin().
|
private |
Definition at line 83 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetZmax(), operator!=(), operator<<(), and SetZmax().
|
private |
Definition at line 83 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetZmin(), operator!=(), operator<<(), and SetZmin().
|
static |
Definition at line 80 of file G4VisExtent.hh.
Referenced by G4VGraphicsScene::GetExtent(), and G4VSceneHandler::GetExtent().