Geant4
10.02.p02
|
#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 | fAbort |
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 114 of file G4PhysicalVolumeModel.cc.
References fpClippingSolid.
|
private |
|
inline |
Definition at line 225 of file G4PhysicalVolumeModel.hh.
References fAbort.
Referenced by G4TouchableDumpScene::ProcessVolume().
|
protected |
Definition at line 119 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 860 of file G4PhysicalVolumeModel.cc.
References fFullPVPath, fpCurrentLV, fpCurrentMaterial, fpCurrentPV, fpCurrentTransform, G4BestUnit, G4Exception(), G4Material::GetDensity(), G4VSolid::GetEntityType(), G4VSolid::GetName(), G4Region::GetName(), G4Material::GetName(), G4LogicalVolume::GetName(), G4VPhysicalVolume::GetObjectRotationValue(), G4Material::GetRadlen(), G4LogicalVolume::GetRegion(), G4LogicalVolume::GetSolid(), G4Material::GetState(), G4VPhysicalVolume::GetTranslation(), G4LogicalVolume::IsRootRegion(), JustWarning, and kStateUndefined.
Referenced by G4VSceneHandler::LoadAtts(), G4XXXStoredSceneHandler::PreAddSolid(), G4TouchableDumpScene::ProcessVolume(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
inline |
Definition at line 228 of file G4PhysicalVolumeModel.hh.
References fCurtailDescent.
Referenced by G4BoundingSphereScene::ProcessVolume(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
protected |
Definition at line 358 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 637 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 159 of file G4PhysicalVolumeModel.cc.
References FatalException, and G4Exception().
Referenced by CalculateExtent(), G4LogicalVolumeModel::DescribeYourselfTo(), G4ASCIITreeSceneHandler::EndModeling(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), and Validate().
Definition at line 783 of file G4PhysicalVolumeModel.cc.
References G4AttDefStore::GetInstance().
Referenced by G4VSceneHandler::LoadAtts(), G4XXXStoredSceneHandler::PreAddSolid(), G4TouchableDumpScene::ProcessVolume(), G4ASCIITreeSceneHandler::RequestPrimitives(), 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(), G4HepRepSceneHandler::getGeometryOrEventInstance(), and G4PhysicalVolumeSearchScene::ProcessVolume().
|
virtual |
Reimplemented from G4VModel.
Definition at line 211 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(), G4HepRepSceneHandler::getGeometryOrEventInstance(), G4PhysicalVolumeSearchScene::ProcessVolume(), 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::ProcessVolume(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
virtual |
Reimplemented from G4VModel.
Definition at line 199 of file G4PhysicalVolumeModel.cc.
References G4VModel::fGlobalTag, and fpCurrentPV.
Referenced by GetCurrentDescription().
|
inline |
Definition at line 173 of file G4PhysicalVolumeModel.hh.
References fpCurrentTransform.
Referenced by G4TouchableDumpScene::ProcessVolume(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
inline |
Definition at line 183 of file G4PhysicalVolumeModel.hh.
References fDrawnPVPath.
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4GMocrenFileSceneHandler::AddSolid(), G4XXXSGSceneHandler::CreateCurrentItem(), G4VTreeSceneHandler::PreAddSolid(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
inline |
Definition at line 176 of file G4PhysicalVolumeModel.hh.
References fFullPVPath.
Referenced by G4TouchableDumpScene::ProcessVolume(), and G4PhysicalVolumeSearchScene::ProcessVolume().
|
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 204 of file G4PhysicalVolumeModel.hh.
References fBaseFullPVPath, and fFullPVPath.
Referenced by G4VisCommandSceneAddVolume::SetNewValue().
|
inline |
Definition at line 218 of file G4PhysicalVolumeModel.hh.
References fClippingMode.
|
inline |
Definition at line 214 of file G4PhysicalVolumeModel.hh.
References fpClippingSolid.
|
inline |
Definition at line 210 of file G4PhysicalVolumeModel.hh.
References fRequestedDepth.
Reimplemented from G4VModel.
Definition at line 729 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 217 of file G4PhysicalVolumeModel.cc.
References G4cout, G4endl, G4VSolid::GetEntityType(), G4VSolid::GetName(), pyG4VTouchable::GetRotation, kPhi, kRho, kXAxis, kYAxis, kZAxis, n, and width.
|
mutableprotected |
Definition at line 270 of file G4PhysicalVolumeModel.hh.
Referenced by Abort().
|
protected |
Definition at line 267 of file G4PhysicalVolumeModel.hh.
Referenced by SetBaseFullPVPath().
|
protected |
Definition at line 273 of file G4PhysicalVolumeModel.hh.
Referenced by SetClippingMode().
|
protected |
Definition at line 262 of file G4PhysicalVolumeModel.hh.
Referenced by GetCurrentDepth().
|
mutableprotected |
Definition at line 271 of file G4PhysicalVolumeModel.hh.
Referenced by CurtailDescent().
|
protected |
Definition at line 269 of file G4PhysicalVolumeModel.hh.
Referenced by GetDrawnPVPath().
|
protected |
Definition at line 268 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 272 of file G4PhysicalVolumeModel.hh.
Referenced by GetClippingSolid(), SetClippingSolid(), and ~G4PhysicalVolumeModel().
|
protected |
Definition at line 264 of file G4PhysicalVolumeModel.hh.
Referenced by CreateCurrentAttValues(), and GetCurrentLV().
|
protected |
Definition at line 265 of file G4PhysicalVolumeModel.hh.
Referenced by CreateCurrentAttValues(), and GetCurrentMaterial().
|
protected |
Definition at line 263 of file G4PhysicalVolumeModel.hh.
Referenced by CreateCurrentAttValues(), GetCurrentPV(), and GetCurrentTag().
|
protected |
Definition at line 266 of file G4PhysicalVolumeModel.hh.
Referenced by CreateCurrentAttValues(), and GetCurrentTransform().
|
protected |
Definition at line 256 of file G4PhysicalVolumeModel.hh.
Referenced by CalculateExtent(), GetTopPhysicalVolume(), and Validate().
|
protected |
Definition at line 259 of file G4PhysicalVolumeModel.hh.
Referenced by CalculateExtent(), GetRequestedDepth(), and SetRequestedDepth().
|
protected |
Definition at line 258 of file G4PhysicalVolumeModel.hh.
Referenced by Validate().
|
protected |
Definition at line 257 of file G4PhysicalVolumeModel.hh.
Referenced by Validate().
|
protected |
Definition at line 261 of file G4PhysicalVolumeModel.hh.
Referenced by CalculateExtent().