55 while ((node = next.
Next())) {
67 printf(
"# Converted %d shapes to VecGeom ones\n", nconverted);
TGeoNode * Next()
Returns next node.
The manager class for any TGeo geometry.
TGeoVolume * GetMasterVolume() const
TGeoVolume * GetTopVolume() const
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
TGeoVolume * GetVolume() const
virtual Bool_t IsVecGeom() const
Geometry converter to VecGeom.
TGeoVGConverter(TGeoManager *manager)
Default constructor.
void ConvertGeometry() override
Main geometry conversion method.
~TGeoVGConverter() override
Default destructor.
Bridge class for using a VecGeom solid as TGeoShape.
static TGeoVGShape * Create(TGeoShape *shape)
Factory creating TGeoVGShape from a Root shape.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
void SetShape(const TGeoShape *shape)
set the shape associated with this volume
TGeoShape * GetShape() const
Abstract class for geometry converters.
static void SetConverter(const TVirtualGeoConverter *conv)
Static function to set an alternative converter.