Geant4-11
|
#include <G4VFieldModel.hh>
Public Types | |
enum | Representation { fullArrow , lightArrow } |
Public Member Functions | |
virtual void | DescribeYourselfTo (G4VGraphicsScene &sceneHandler) |
G4VFieldModel (const G4String &typeOfField, const G4String &symbol="", const G4VisExtent &extentForField=G4VisExtent(), const std::vector< G4PhysicalVolumesSearchScene::Findings > &pvFindings=std::vector< G4PhysicalVolumesSearchScene::Findings >(), G4int nDataPointsPerHalfScene=10, Representation representation=Representation::fullArrow, G4int arrow3DLineSegmentsPerCircle=6) | |
virtual G4String | GetCurrentDescription () const |
virtual G4String | GetCurrentTag () const |
const G4VisExtent & | GetExtent () const |
const G4String & | GetGlobalDescription () const |
const G4String & | GetGlobalTag () const |
const G4ModelingParameters * | GetModelingParameters () const |
const G4String & | GetType () const |
void | SetExtent (const G4VisExtent &) |
void | SetGlobalDescription (const G4String &) |
void | SetGlobalTag (const G4String &) |
void | SetModelingParameters (const G4ModelingParameters *) |
void | SetType (const G4String &) |
virtual G4bool | Validate (G4bool warn=true) |
virtual | ~G4VFieldModel () |
Protected Member Functions | |
virtual void | GetFieldAtLocation (const G4Field *field, const G4Point3D &position, G4double time, G4Point3D &result) const =0 |
Protected Attributes | |
G4VisExtent | fExtent |
G4String | fGlobalDescription |
G4String | fGlobalTag |
const G4ModelingParameters * | fpMP |
G4String | fType |
Private Member Functions | |
G4VFieldModel (const G4VFieldModel &) | |
G4VFieldModel & | operator= (const G4VFieldModel &) |
Definition at line 46 of file G4VFieldModel.hh.
G4VFieldModel::G4VFieldModel | ( | const G4String & | typeOfField, |
const G4String & | symbol = "" , |
||
const G4VisExtent & | extentForField = G4VisExtent() , |
||
const std::vector< G4PhysicalVolumesSearchScene::Findings > & | pvFindings = std::vector<G4PhysicalVolumesSearchScene::Findings>() , |
||
G4int | nDataPointsPerHalfScene = 10 , |
||
Representation | representation = Representation::fullArrow , |
||
G4int | arrow3DLineSegmentsPerCircle = 6 |
||
) |
Definition at line 60 of file G4VFieldModel.cc.
References fArrow3DLineSegmentsPerCircle, fExtentForField, G4VModel::fGlobalDescription, G4VModel::fGlobalTag, fNDataPointsPerMaxHalfExtent, fPVFindings, fRepresentation, G4VModel::fType, G4VisExtent::GetNullExtent(), G4VisExtent::GetXmax(), G4VisExtent::GetXmin(), G4VisExtent::GetYmax(), G4VisExtent::GetYmin(), G4VisExtent::GetZmax(), and G4VisExtent::GetZmin().
|
virtual |
Definition at line 58 of file G4VFieldModel.cc.
|
private |
|
virtual |
Implements G4VModel.
Definition at line 109 of file G4VFieldModel.cc.
References G4VGraphicsScene::AddPrimitive(), alpha, G4VGraphicsScene::BeginPrimitives(), G4VSolid::ComputeDimensions(), G4ArrowModel::DescribeYourselfTo(), G4FieldManager::DoesFieldExist(), G4VGraphicsScene::EndPrimitives(), fArrow3DLineSegmentsPerCircle, fArrowPrefix, fExtentForField, fNDataPointsPerMaxHalfExtent, fPVFindings, fRepresentation, fTypeOfField, G4cout, G4endl, G4FieldManager::GetDetectorField(), G4VGraphicsScene::GetExtent(), GetFieldAtLocation(), G4LogicalVolume::GetFieldManager(), G4Region::GetFieldManager(), G4TransportationManager::GetFieldManager(), G4VPhysicalVolume::GetLogicalVolume(), G4TransportationManager::GetNavigatorForTracking(), G4VisExtent::GetNullExtent(), G4PVParameterised::GetParameterisation(), G4LogicalVolume::GetRegion(), G4LogicalVolume::GetSolid(), G4TransportationManager::GetTransportationManager(), G4VisExtent::GetXmax(), G4VisExtent::GetXmin(), G4VisExtent::GetYmax(), G4VisExtent::GetYmin(), G4VisExtent::GetZmax(), G4VisExtent::GetZmin(), G4VSolid::Inside(), kInside, G4INCL::Math::max(), write_gdml::navigator, pos, G4VisAttributes::SetLineWidth(), G4Visible::SetVisAttributes(), CLHEP::Hep3Vector::transform(), G4coutFormatters::anonymous_namespace{G4coutFormatters.cc}::transform(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
virtualinherited |
Reimplemented in G4GPSModel, and G4PhysicalVolumeModel.
Definition at line 51 of file G4VModel.cc.
References G4VModel::fGlobalDescription.
Referenced by G4OpenGLStoredQtSceneHandler::ExtraPOProcessing().
|
virtualinherited |
Reimplemented in G4GPSModel, and G4PhysicalVolumeModel.
Definition at line 46 of file G4VModel.cc.
References G4VModel::fGlobalTag.
Referenced by G4Qt3DSceneHandler::AddPrimitive(), and G4ToolsSGSceneHandler::AddPrimitive().
|
inherited |
|
protectedpure virtual |
Implemented in G4ElectricFieldModel, and G4MagneticFieldModel.
Referenced by DescribeYourselfTo().
|
inherited |
Referenced by G4Scene::AddRunDurationModel(), and anonymous_namespace{G4Scene.cc}::PrintInvalidModel().
|
inherited |
Referenced by G4Qt3DSceneHandler::CreateNewNode().
|
inherited |
Referenced by G4ASCIITreeSceneHandler::EndModeling(), and G4OpenGLSceneHandler::ScaledFlush().
|
inherited |
Referenced by G4OpenGLStoredQtSceneHandler::ExtraPOProcessing().
|
private |
|
inherited |
|
inherited |
Referenced by G4VisCommandSceneAddUserAction::AddVisAction(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), and G4VisCommandSceneAddText2D::SetNewValue().
|
inherited |
Referenced by G4VisCommandSceneAddUserAction::AddVisAction(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), and G4VisCommandsTouchable::SetNewValue().
|
inherited |
Referenced by G4LogicalVolumeModel::DescribeYourselfTo(), G4ASCIITreeSceneHandler::EndModeling(), G4TouchableUtils::FindTouchableProperties(), G4VSceneHandler::ProcessScene(), G4VisCommandSetTouchable::SetNewValue(), G4VisCommandSetVolumeForField::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), and G4VisCommandViewerCentreOn::SetNewValue().
|
inherited |
Referenced by G4VisCommandSceneAddUserAction::AddVisAction(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), and G4VisCommandSceneAddText2D::SetNewValue().
Reimplemented in G4PhysicalVolumeModel, and G4LogicalVolumeModel.
Definition at line 56 of file G4VModel.cc.
|
private |
Definition at line 102 of file G4VFieldModel.hh.
Referenced by DescribeYourselfTo(), and G4VFieldModel().
|
private |
Definition at line 104 of file G4VFieldModel.hh.
Referenced by DescribeYourselfTo().
|
protectedinherited |
Definition at line 101 of file G4VModel.hh.
Referenced by G4PhysicalVolumeModel::CalculateExtent(), G4AxesModel::Construct(), G4ArrowModel::G4ArrowModel(), and G4PlotterModel::G4PlotterModel().
|
private |
Definition at line 86 of file G4VFieldModel.hh.
Referenced by DescribeYourselfTo(), and G4VFieldModel().
|
protectedinherited |
Definition at line 100 of file G4VModel.hh.
Referenced by G4AxesModel::Construct(), G4ArrowModel::G4ArrowModel(), G4DigiModel::G4DigiModel(), G4GPSModel::G4GPSModel(), G4HitsModel::G4HitsModel(), G4LogicalVolumeModel::G4LogicalVolumeModel(), G4PhysicalVolumeModel::G4PhysicalVolumeModel(), G4PlotterModel::G4PlotterModel(), G4PSHitsModel::G4PSHitsModel(), G4TextModel::G4TextModel(), G4TrajectoriesModel::G4TrajectoriesModel(), G4VFieldModel(), and G4VModel::GetCurrentDescription().
|
protectedinherited |
Definition at line 99 of file G4VModel.hh.
Referenced by G4AxesModel::Construct(), G4ArrowModel::G4ArrowModel(), G4DigiModel::G4DigiModel(), G4GPSModel::G4GPSModel(), G4HitsModel::G4HitsModel(), G4LogicalVolumeModel::G4LogicalVolumeModel(), G4PhysicalVolumeModel::G4PhysicalVolumeModel(), G4PlotterModel::G4PlotterModel(), G4PSHitsModel::G4PSHitsModel(), G4TextModel::G4TextModel(), G4TrajectoriesModel::G4TrajectoriesModel(), G4VFieldModel(), G4PhysicalVolumeModel::GetCurrentTag(), and G4VModel::GetCurrentTag().
|
private |
Definition at line 94 of file G4VFieldModel.hh.
Referenced by DescribeYourselfTo(), and G4VFieldModel().
|
protectedinherited |
Definition at line 102 of file G4VModel.hh.
Referenced by G4PhysicalVolumeModel::CalculateExtent(), G4PhysicalVolumeModel::DescribeAndDescend(), G4PhysicalVolumeModel::DescribeSolid(), G4DigiModel::DescribeYourselfTo(), G4HitsModel::DescribeYourselfTo(), G4LogicalVolumeModel::DescribeYourselfTo(), G4PhysicalVolumeModel::DescribeYourselfTo(), G4TrajectoriesModel::DescribeYourselfTo(), G4CallbackModel< F >::DescribeYourselfTo(), and G4PhysicalVolumeModel::VisitGeometryAndGetVisReps().
|
private |
Definition at line 89 of file G4VFieldModel.hh.
Referenced by DescribeYourselfTo(), and G4VFieldModel().
|
private |
Definition at line 101 of file G4VFieldModel.hh.
Referenced by DescribeYourselfTo(), and G4VFieldModel().
|
protectedinherited |
Definition at line 98 of file G4VModel.hh.
Referenced by G4AxesModel::Construct(), G4ArrowModel::G4ArrowModel(), G4DigiModel::G4DigiModel(), G4GPSModel::G4GPSModel(), G4HitsModel::G4HitsModel(), G4LogicalVolumeModel::G4LogicalVolumeModel(), G4PhysicalVolumeModel::G4PhysicalVolumeModel(), G4PlotterModel::G4PlotterModel(), G4PSHitsModel::G4PSHitsModel(), G4TextModel::G4TextModel(), G4TrajectoriesModel::G4TrajectoriesModel(), and G4VFieldModel().
|
private |
Definition at line 103 of file G4VFieldModel.hh.
Referenced by DescribeYourselfTo().