DLG4::VolumeBuilders
A fluent interface for Geant4 geometry definition.
|
Functions | |
DerivedPtr | CopyPlacementConfigsFrom (const BuilderView &other) |
DerivedPtr | CopyPlacementConfigsFrom (const BuilderView &other) |
DerivedPtr | CopyVolumeConfigsFrom (const BuilderView &other) |
Copy configurations from other builders.
DerivedPtr CopyPlacementConfigsFrom | ( | const BuilderView & | other | ) |
This may help if reusing placement configs for a different structure.
Copies the placement configuration (rotation, translation, mother, etc.) from another structure. Does NOT copy any naming, as that would conflict. Also does NOT copy any products.
other | The builder instance to copy placement configuration from. |
VolumeBuilder< U >::DerivedPtr CopyPlacementConfigsFrom | ( | const BuilderView & | other | ) |
This may help if reusing placement configs for a different shape.
Copies the placement configuration (rotation, translation, mother, etc.) from another builder. Does NOT copy any naming, as that would conflict. Also does NOT copy any products. Use CopyPlacement Builder for that. Names will derive from present object, or you can override with Setters as usual.
other | The builder instance to copy placement configuration from. |
Definition at line 775 of file VolumeBuilder.hpp.
VolumeBuilder< U >::DerivedPtr CopyVolumeConfigsFrom | ( | const BuilderView & | other | ) |
Copies the LogicalVolume configuration (material, VisAttributes, etc.) from another builder.
This DOES NOT include copying any booleans. This is useful for setting up multiple placements with similar configurations.
other | The builder instance to copy placement configuration from. |
Definition at line 784 of file VolumeBuilder.hpp.