| 1217 | } |
| 1218 | |
| 1219 | void 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 | |
| 1231 | void G4VisManager::CreateSceneHandler (const G4String& name) { |
| 1232 | if (!fInitialised) Initialise (); |
nothing calls this directly
no test coverage detected