|
DLG4::VolumeBuilders
A fluent interface for Geant4 geometry definition.
|
Functions | |
| DerivedPtr | CopyPlacementConfigsFrom (const VolumeBuilder &other) |
| DerivedPtr | CopyPlacementConfigsFrom (const VolumeBuilder &other) |
| DerivedPtr | CopyVolumeConfigsFrom (const VolumeBuilder &other) |
Copy configurations from other builders.
| DerivedPtr CopyPlacementConfigsFrom | ( | const VolumeBuilder & | 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. |
| VolumeBuilderBase< U >::DerivedPtr CopyPlacementConfigsFrom | ( | const VolumeBuilder & | 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 772 of file VolumeBuilderBase.hpp.
| VolumeBuilderBase< U >::DerivedPtr CopyVolumeConfigsFrom | ( | const VolumeBuilder & | 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 781 of file VolumeBuilderBase.hpp.