27 object.get()->SetSolid(solid);
28 object.get()->SetName(solid->GetName());
40 solid_ptr_.Link(other.solid_ptr_);
void set_shared_from_this_enabled(bool enabled)
A solid buider class that just wrap an existing G4VSolid.
VolumeBuilder: Common functionality for volume builder classes.
DerivedPtr SetName(const G4String &name)
SetName Sets name used for solid and derived product names.
G4String GetBuilderName() const
A wrapper for std::shared_ptr that allows and facilitates many implicit(i) type conversions.
FromG4VSolidPtr CreateFromG4VSolid(G4VSolid *solid)
Constructor to make a builder from an Existing Geant solid.
SharedPtr< FromG4VSolid > FromG4VSolidPtr