MCPcopy Create free account
hub / github.com/Geant4/geant4 / DrawGeometry

Method DrawGeometry

source/visualization/management/src/G4VisManager.cc:1219–1229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1217}
1218
1219void G4VisManager::DrawGeometry
1220(G4VPhysicalVolume* v, const G4Transform3D& t)
1221// Draws a geometry tree starting at the specified physical volume.
1222{
1223 auto modelingParameters = fpSceneHandler->CreateModelingParameters();
1224 auto depth = G4PhysicalVolumeModel::UNLIMITED;
1225 const G4bool useFullExtent = true;
1226 G4PhysicalVolumeModel aPVModel(v,depth,t,modelingParameters,useFullExtent);
1227 aPVModel.DescribeYourselfTo(*fpSceneHandler);
1228 delete modelingParameters;
1229}
1230
1231void G4VisManager::CreateSceneHandler (const G4String& name) {
1232 if (!fInitialised) Initialise ();

Callers

nothing calls this directly

Calls 2

DescribeYourselfToMethod · 0.45

Tested by

no test coverage detected