Geant4
10.00.p01
|
#include <G4PhysicalVolumeModel.hh>
Classes | |
class | G4PhysicalVolumeModelTouchable |
class | G4PhysicalVolumeNodeID |
Public Types | |
enum | { UNLIMITED = -1 } |
enum | ClippingMode { subtraction, intersection } |
Protected Member Functions | |
void | VisitGeometryAndGetVisReps (G4VPhysicalVolume *, G4int requestedDepth, const G4Transform3D &, G4VGraphicsScene &) |
void | DescribeAndDescend (G4VPhysicalVolume *, G4int requestedDepth, G4LogicalVolume *, G4VSolid *, G4Material *, const G4Transform3D &, G4VGraphicsScene &) |
virtual void | DescribeSolid (const G4Transform3D &theAT, G4VSolid *pSol, const G4VisAttributes *pVisAttribs, G4VGraphicsScene &sceneHandler) |
void | CalculateExtent () |
Protected Attributes | |
G4VPhysicalVolume * | fpTopPV |
G4String | fTopPVName |
G4int | fTopPVCopyNo |
G4int | fRequestedDepth |
G4bool | fUseFullExtent |
G4int | fCurrentDepth |
G4VPhysicalVolume * | fpCurrentPV |
G4LogicalVolume * | fpCurrentLV |
G4Material * | fpCurrentMaterial |
G4Transform3D * | fpCurrentTransform |
std::vector < G4PhysicalVolumeNodeID > | fBaseFullPVPath |
std::vector < G4PhysicalVolumeNodeID > | fFullPVPath |
std::vector < G4PhysicalVolumeNodeID > | fDrawnPVPath |
G4bool | fCurtailDescent |
G4VSolid * | fpClippingSolid |
ClippingMode | fClippingMode |
Protected Attributes inherited from G4VModel | |
G4String | fType |
G4String | fGlobalTag |
G4String | fGlobalDescription |
G4VisExtent | fExtent |
G4Transform3D | fTransform |
const G4ModelingParameters * | fpMP |
Private Member Functions | |
G4PhysicalVolumeModel (const G4PhysicalVolumeModel &) | |
G4PhysicalVolumeModel & | operator= (const G4PhysicalVolumeModel &) |
Definition at line 82 of file G4PhysicalVolumeModel.hh.
anonymous enum |
Enumerator | |
---|---|
UNLIMITED |
Definition at line 86 of file G4PhysicalVolumeModel.hh.
Enumerator | |
---|---|
subtraction | |
intersection |
Definition at line 88 of file G4PhysicalVolumeModel.hh.
G4PhysicalVolumeModel::G4PhysicalVolumeModel | ( | G4VPhysicalVolume * | pVPV = 0 , |
G4int | requestedDepth = UNLIMITED , |
||
const G4Transform3D & | modelTransformation = G4Transform3D() , |
||
const G4ModelingParameters * | pMP = 0 , |
||
G4bool | useFullExtent = false |
||
) |
Definition at line 59 of file G4PhysicalVolumeModel.cc.
|
virtual |
Definition at line 92 of file G4PhysicalVolumeModel.cc.
References fpClippingSolid.
|
private |
|
protected |
Definition at line 97 of file G4PhysicalVolumeModel.cc.
References DescribeYourselfTo(), G4VModel::fExtent, G4VModel::fpMP, fpTopPV, fRequestedDepth, G4VModel::fTransform, fUseFullExtent, G4BoundingSphereScene::GetCentre(), G4VModel::GetExtent(), G4BoundingSphereScene::GetRadius(), and G4ModelingParameters::wf.
Referenced by Validate().
std::vector< G4AttValue > * G4PhysicalVolumeModel::CreateCurrentAttValues | ( | ) | const |
Definition at line 832 of file G4PhysicalVolumeModel.cc.
References fFullPVPath, fpCurrentLV, fpCurrentMaterial, fpCurrentTransform, G4BestUnit, G4Exception(), G4Material::GetDensity(), G4VSolid::GetEntityType(), G4VSolid::GetName(), G4Region::GetName(), G4Material::GetName(), G4LogicalVolume::GetName(), G4Material::GetRadlen(), G4LogicalVolume::GetRegion(), G4LogicalVolume::GetSolid(), G4Material::GetState(), G4LogicalVolume::IsRootRegion(), JustWarning, and kStateUndefined.
Referenced by G4VSceneHandler::LoadAtts(), and G4XXXStoredSceneHandler::PreAddSolid().
|
inline |
Definition at line 222 of file G4PhysicalVolumeModel.hh.
References fCurtailDescent.
Referenced by G4BoundingSphereScene::Accrue(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
protected |
Definition at line 336 of file G4PhysicalVolumeModel.cc.
References density, G4Colour::GetAlpha(), G4VisAttributes::GetColour(), G4Material::GetDensity(), G4VisAttributes::GetForcedDrawingStyle(), G4VisAttributes::GetForcedLineSegmentsPerCircle(), G4VisAttributes::GetLineStyle(), G4VisAttributes::GetLineWidth(), G4LogicalVolume::GetNoDaughters(), G4LogicalVolume::GetVisAttributes(), G4ModelingParameters::hlhsr, G4ModelingParameters::hsr, G4VisAttributes::IsDaughtersInvisible(), G4VisAttributes::IsForceAuxEdgeVisible(), G4VisAttributes::IsForceDrawingStyle(), G4VisAttributes::IsVisible(), G4VisAttributes::SetColour(), G4VisAttributes::SetDaughtersInvisible(), G4VisAttributes::SetForceAuxEdgeVisible(), G4VisAttributes::SetForceLineSegmentsPerCircle(), G4VisAttributes::SetForceSolid(), G4VisAttributes::SetForceWireframe(), G4VisAttributes::SetLineStyle(), G4VisAttributes::SetLineWidth(), G4VisAttributes::SetVisibility(), G4VisAttributes::solid, G4ModelingParameters::VASColour, G4ModelingParameters::VASDaughtersInvisible, G4ModelingParameters::VASForceAuxEdgeVisible, G4ModelingParameters::VASForceLineSegmentsPerCircle, G4ModelingParameters::VASForceSolid, G4ModelingParameters::VASForceWireframe, G4ModelingParameters::VASLineStyle, G4ModelingParameters::VASLineWidth, G4ModelingParameters::VASVisibility, and G4VisAttributes::wireframe.
|
protectedvirtual |
Reimplemented in G4LogicalVolumeModel.
Definition at line 611 of file G4PhysicalVolumeModel.cc.
References G4VGraphicsScene::AddPrimitive(), G4VGraphicsScene::BeginPrimitives(), G4VGraphicsScene::EndPrimitives(), G4cout, G4endl, G4VisAttributes::GetForcedLineSegmentsPerCircle(), G4VSolid::GetName(), G4VSolid::GetPolyhedron(), G4VisAttributes::IsForceLineSegmentsPerCircle(), G4VGraphicsScene::PostAddSolid(), G4VGraphicsScene::PreAddSolid(), G4Colour::Red(), G4VisAttributes::SetColour(), and G4Visible::SetVisAttributes().
|
virtual |
Implements G4VModel.
Definition at line 137 of file G4PhysicalVolumeModel.cc.
References FatalException, and G4Exception().
Referenced by CalculateExtent(), G4LogicalVolumeModel::DescribeYourselfTo(), G4ASCIITreeSceneHandler::EndModeling(), G4VisCommandSceneAddVolume::SetNewValue(), and Validate().
Definition at line 757 of file G4PhysicalVolumeModel.cc.
References G4AttDefStore::GetInstance().
Referenced by G4VSceneHandler::LoadAtts(), G4XXXStoredSceneHandler::PreAddSolid(), and G4VisCommandList::SetNewValue().
|
inline |
Definition at line 158 of file G4PhysicalVolumeModel.hh.
References fpClippingSolid.
|
inline |
Definition at line 161 of file G4PhysicalVolumeModel.hh.
References fCurrentDepth.
Referenced by G4PhysicalVolumeMassScene::AccrueMass(), G4HepRepFileSceneHandler::AddHepRepInstance(), G4HepRepSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4PhysicalVolumeSearchScene::FindVolume(), and G4HepRepSceneHandler::getGeometryOrEventInstance().
|
virtual |
Reimplemented from G4VModel.
Definition at line 187 of file G4PhysicalVolumeModel.cc.
References GetCurrentTag().
|
inline |
Definition at line 167 of file G4PhysicalVolumeModel.hh.
References fpCurrentLV.
Referenced by G4GMocrenFileSceneHandler::AddDetector(), G4HepRepFileSceneHandler::AddHepRepInstance(), G4GMocrenFileSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddSolid(), G4PhysicalVolumeSearchScene::FindVolume(), G4HepRepSceneHandler::getGeometryOrEventInstance(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
inline |
Definition at line 170 of file G4PhysicalVolumeModel.hh.
References fpCurrentMaterial.
Referenced by G4PhysicalVolumeMassScene::AccrueMass(), G4HepRepFileSceneHandler::AddHepRepInstance(), G4HepRepSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4HepRepSceneHandler::getGeometryOrEventInstance(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
inline |
Definition at line 164 of file G4PhysicalVolumeModel.hh.
References fpCurrentPV.
Referenced by G4PhysicalVolumeMassScene::AccrueMass(), G4HepRepFileSceneHandler::AddHepRepInstance(), G4GMocrenFileSceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddSolid(), G4PhysicalVolumeSearchScene::FindVolume(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
virtual |
Reimplemented from G4VModel.
Definition at line 175 of file G4PhysicalVolumeModel.cc.
References G4VModel::fGlobalTag, and fpCurrentPV.
Referenced by GetCurrentDescription().
|
inline |
Definition at line 180 of file G4PhysicalVolumeModel.hh.
References fDrawnPVPath.
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4GMocrenFileSceneHandler::AddSolid(), G4XXXSGSceneHandler::CreateCurrentItem(), G4VTreeSceneHandler::PreAddSolid(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
inline |
Definition at line 173 of file G4PhysicalVolumeModel.hh.
References fFullPVPath.
Referenced by G4PhysicalVolumeSearchScene::FindVolume().
|
inline |
Definition at line 156 of file G4PhysicalVolumeModel.hh.
References fRequestedDepth.
Referenced by G4ASCIITreeSceneHandler::EndModeling().
|
inline |
Definition at line 154 of file G4PhysicalVolumeModel.hh.
References fpTopPV.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and G4ASCIITreeSceneHandler::EndModeling().
|
private |
|
inline |
Definition at line 201 of file G4PhysicalVolumeModel.hh.
References fBaseFullPVPath, and fFullPVPath.
Referenced by G4VisCommandSceneAddVolume::SetNewValue().
|
inline |
Definition at line 215 of file G4PhysicalVolumeModel.hh.
References fClippingMode.
|
inline |
Definition at line 211 of file G4PhysicalVolumeModel.hh.
References fpClippingSolid.
|
inline |
Definition at line 207 of file G4PhysicalVolumeModel.hh.
References fRequestedDepth.
Reimplemented from G4VModel.
Definition at line 703 of file G4PhysicalVolumeModel.cc.
References CalculateExtent(), DescribeYourselfTo(), G4VModel::fpMP, fpTopPV, fTopPVCopyNo, fTopPVName, G4cout, G4endl, G4ModelingParameters::GetDefaultVisAttributes(), G4PhysicalVolumeSearchScene::GetFoundVolume(), G4TransportationManager::GetNoWorlds(), G4TransportationManager::GetTransportationManager(), G4TransportationManager::GetWorldsIterator(), G4ModelingParameters::SetDefaultVisAttributes(), and G4VModel::SetModelingParameters().
|
protected |
Definition at line 193 of file G4PhysicalVolumeModel.cc.
References G4cout, G4endl, G4VSolid::GetEntityType(), G4VSolid::GetName(), pyG4VTouchable::GetRotation, kPhi, kRho, kXAxis, kYAxis, kZAxis, n, and width.
|
protected |
Definition at line 260 of file G4PhysicalVolumeModel.hh.
Referenced by SetBaseFullPVPath().
|
protected |
Definition at line 265 of file G4PhysicalVolumeModel.hh.
Referenced by SetClippingMode().
|
protected |
Definition at line 255 of file G4PhysicalVolumeModel.hh.
Referenced by GetCurrentDepth().
|
protected |
Definition at line 263 of file G4PhysicalVolumeModel.hh.
Referenced by CurtailDescent().
|
protected |
Definition at line 262 of file G4PhysicalVolumeModel.hh.
Referenced by GetDrawnPVPath().
|
protected |
Definition at line 261 of file G4PhysicalVolumeModel.hh.
Referenced by CreateCurrentAttValues(), GetFullPVPath(), G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable::GetReplicaNumber(), G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable::GetRotation(), G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable::GetSolid(), G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable::GetVolume(), and SetBaseFullPVPath().
|
protected |
Definition at line 264 of file G4PhysicalVolumeModel.hh.
Referenced by GetClippingSolid(), SetClippingSolid(), and ~G4PhysicalVolumeModel().
|
protected |
Definition at line 257 of file G4PhysicalVolumeModel.hh.
Referenced by CreateCurrentAttValues(), and GetCurrentLV().
|
protected |
Definition at line 258 of file G4PhysicalVolumeModel.hh.
Referenced by CreateCurrentAttValues(), and GetCurrentMaterial().
|
protected |
Definition at line 256 of file G4PhysicalVolumeModel.hh.
Referenced by GetCurrentPV(), and GetCurrentTag().
|
protected |
Definition at line 259 of file G4PhysicalVolumeModel.hh.
Referenced by CreateCurrentAttValues().
|
protected |
Definition at line 249 of file G4PhysicalVolumeModel.hh.
Referenced by CalculateExtent(), GetTopPhysicalVolume(), and Validate().
|
protected |
Definition at line 252 of file G4PhysicalVolumeModel.hh.
Referenced by CalculateExtent(), GetRequestedDepth(), and SetRequestedDepth().
|
protected |
Definition at line 251 of file G4PhysicalVolumeModel.hh.
Referenced by Validate().
|
protected |
Definition at line 250 of file G4PhysicalVolumeModel.hh.
Referenced by Validate().
|
protected |
Definition at line 254 of file G4PhysicalVolumeModel.hh.
Referenced by CalculateExtent().