Geant4-11
|
#include <G4VisExtent.hh>
Public Member Functions | |
G4VisExtent (const G4Point3D ¢re, G4double radius) | |
G4VisExtent (G4double xmin=0., G4double xmax=0., G4double ymin=0., G4double ymax=0., G4double zmin=0., G4double zmax=0.) | |
const G4Point3D & | GetExtentCenter () const |
const G4Point3D & | GetExtentCentre () const |
G4double | GetExtentRadius () const |
G4double | GetXmax () const |
G4double | GetXmin () const |
G4double | GetYmax () const |
G4double | GetYmin () const |
G4double | GetZmax () const |
G4double | GetZmin () const |
G4bool | operator!= (const G4VisExtent &e) const |
G4bool | operator== (const G4VisExtent &e) const |
void | SetXmax (G4double xmax) |
void | SetXmin (G4double xmin) |
void | SetYmax (G4double ymax) |
void | SetYmin (G4double ymin) |
void | SetZmax (G4double zmax) |
void | SetZmin (G4double zmin) |
G4VisExtent & | Transform (const G4Transform3D &) |
~G4VisExtent () | |
Static Public Member Functions | |
static const G4VisExtent & | GetNullExtent () |
Private Attributes | |
G4Point3D | fCentre |
G4bool | fCentreCached |
G4double | fRadius |
G4bool | fRadiusCached |
G4double | fXmax |
G4double | fXmin |
G4double | fYmax |
G4double | fYmin |
G4double | fZmax |
G4double | fZmin |
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 44 of file G4VisExtent.cc.
References fXmax, fXmin, fYmax, fYmin, fZmax, fZmin, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
G4VisExtent::~G4VisExtent | ( | ) |
Definition at line 58 of file G4VisExtent.cc.
|
inline |
Definition at line 106 of file G4VisExtent.hh.
References GetExtentCentre().
Referenced by G4VVisCommand::DrawExtent().
const G4Point3D & G4VisExtent::GetExtentCentre | ( | ) | const |
Definition at line 65 of file G4VisExtent.cc.
References fCentre, fCentreCached, fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.
Referenced by G4Scene::CalculateExtent(), G4VSceneHandler::CreateSectionSolid(), GetExtentCenter(), G4BoundingSphereScene::ProcessVolume(), G4VisCommandsTouchable::SetNewValue(), and G4VisCommandViewerCentreOn::SetNewValue().
G4double G4VisExtent::GetExtentRadius | ( | ) | const |
Definition at line 75 of file G4VisExtent.cc.
References fRadius, fRadiusCached, fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.
Referenced by G4OpenGLXmViewer::actions_callback(), G4Qt3DSceneHandler::AddPrimitive(), G4VisCommandSceneAddUserAction::AddVisAction(), G4Scene::CalculateExtent(), G4PhysicalVolumeModel::CalculateExtent(), G4VSceneHandler::CreateSectionSolid(), G4OpenGLStoredViewer::DrawDisplayLists(), G4OpenGLViewer::getSceneDepth(), G4OpenGLViewer::getSceneFarWidth(), G4OpenGLViewer::getSceneNearWidth(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move(), G4Qt3DViewer::mouseMoveEvent(), G4BoundingSphereScene::ProcessVolume(), G4VisManager::RegisterEndOfEventUserVisAction(), G4VisManager::RegisterEndOfRunUserVisAction(), G4VisManager::RegisterRunDurationUserVisAction(), G4OpenGLXmViewer::ResetView(), G4DAWNFILEViewer::SendViewParameters(), G4VRML2FileViewer::SendViewParameters(), G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandViewerCentreOn::SetNewValue(), G4OpenGLWin32Viewer::SetShift(), G4OpenGLViewer::SetView(), G4OpenInventorViewer::SetView(), G4Qt3DViewer::SetView(), G4RayTracerViewer::SetView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView(), and G4VtkViewer::SetView().
|
static |
Definition at line 60 of file G4VisExtent.cc.
References G4VisExtent().
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), G4Scene::CalculateExtent(), G4VFieldModel::DescribeYourselfTo(), G4VFieldModel::G4VFieldModel(), G4VSceneHandler::ProcessScene(), and G4BoundingExtentScene::ResetBoundingExtent().
|
inline |
Definition at line 100 of file G4VisExtent.hh.
References fXmax.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), G4tgbVolume::BuildSolidForDivision(), G4VFieldModel::DescribeYourselfTo(), G4VVisCommand::DrawExtent(), G4VFieldModel::G4VFieldModel(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
|
inline |
Definition at line 99 of file G4VisExtent.hh.
References fXmin.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), G4tgbVolume::BuildSolidForDivision(), G4VFieldModel::DescribeYourselfTo(), G4VVisCommand::DrawExtent(), G4VFieldModel::G4VFieldModel(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
|
inline |
Definition at line 102 of file G4VisExtent.hh.
References fYmax.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), G4tgbVolume::BuildSolidForDivision(), G4VFieldModel::DescribeYourselfTo(), G4VVisCommand::DrawExtent(), G4VFieldModel::G4VFieldModel(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
|
inline |
Definition at line 101 of file G4VisExtent.hh.
References fYmin.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), G4tgbVolume::BuildSolidForDivision(), G4VFieldModel::DescribeYourselfTo(), G4VVisCommand::DrawExtent(), G4VFieldModel::G4VFieldModel(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
|
inline |
Definition at line 104 of file G4VisExtent.hh.
References fZmax.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), G4tgbVolume::BuildSolidForDivision(), G4VFieldModel::DescribeYourselfTo(), G4VVisCommand::DrawExtent(), G4VFieldModel::G4VFieldModel(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
|
inline |
Definition at line 103 of file G4VisExtent.hh.
References fZmin.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), G4tgbVolume::BuildSolidForDivision(), G4VFieldModel::DescribeYourselfTo(), G4VVisCommand::DrawExtent(), G4VFieldModel::G4VFieldModel(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
G4bool G4VisExtent::operator!= | ( | const G4VisExtent & | e | ) | const |
|
inline |
|
inline |
Definition at line 112 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fXmax.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), and G4VSolid::GetExtent().
|
inline |
Definition at line 110 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fXmin.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), and G4VSolid::GetExtent().
|
inline |
Definition at line 116 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fYmax.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), and G4VSolid::GetExtent().
|
inline |
Definition at line 114 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fYmin.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), and G4VSolid::GetExtent().
|
inline |
Definition at line 120 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fZmax.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), and G4VSolid::GetExtent().
|
inline |
Definition at line 118 of file G4VisExtent.hh.
References fCentreCached, fRadiusCached, and fZmin.
Referenced by G4BoundingExtentScene::AccrueBoundingExtent(), and G4VSolid::GetExtent().
G4VisExtent & G4VisExtent::Transform | ( | const G4Transform3D & | transform | ) |
Definition at line 102 of file G4VisExtent.cc.
References DBL_MAX, fXmax, fXmin, fYmax, fYmin, fZmax, fZmin, CLHEP::Hep3Vector::transform(), and G4coutFormatters::anonymous_namespace{G4coutFormatters.cc}::transform().
Referenced by G4PhysicalVolumeModel::CalculateExtent(), G4BoundingExtentScene::ProcessVolume(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSetVolumeForField::SetNewValue(), and G4VisCommandsTouchable::SetNewValue().
|
friend |
|
mutableprivate |
Definition at line 96 of file G4VisExtent.hh.
Referenced by GetExtentCentre().
|
private |
Definition at line 94 of file G4VisExtent.hh.
Referenced by GetExtentCentre(), SetXmax(), SetXmin(), SetYmax(), SetYmin(), SetZmax(), and SetZmin().
|
mutableprivate |
Definition at line 95 of file G4VisExtent.hh.
Referenced by GetExtentRadius().
|
mutableprivate |
Definition at line 94 of file G4VisExtent.hh.
Referenced by GetExtentRadius(), SetXmax(), SetXmin(), SetYmax(), SetYmin(), SetZmax(), and SetZmin().
|
private |
Definition at line 93 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetXmax(), operator!=(), SetXmax(), and Transform().
|
private |
Definition at line 93 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetXmin(), operator!=(), SetXmin(), and Transform().
|
private |
Definition at line 93 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetYmax(), operator!=(), SetYmax(), and Transform().
|
private |
Definition at line 93 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetYmin(), operator!=(), SetYmin(), and Transform().
|
private |
Definition at line 93 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetZmax(), operator!=(), SetZmax(), and Transform().
|
private |
Definition at line 93 of file G4VisExtent.hh.
Referenced by G4VisExtent(), GetExtentCentre(), GetExtentRadius(), GetZmin(), operator!=(), SetZmin(), and Transform().