DLG4::VolumeBuilders
A fluent interface for Geant4 geometry definition.
Loading...
Searching...
No Matches
Typedefs
DLG4::VolumeBuilders::BuilderCores Namespace Reference

Typedefs

using RZBuilder = _internals_::RZBuilderCore
 
using BoxBuilder = _internals_::BoxBuilderCore
 
using FromG4VSolid = _internals_::FromG4VSolidCore
 
using Assembly = _internals_::AssemblyCore
 
using VolumeBuilderCore = _internals_::VolumeBuilderCore
 
using StructureBuilderCore = _internals_::StructureBuilderCore
 

Typedef Documentation

◆ Assembly

A type-erased (data shared view) view of a builder or assembly, ie a "structure.".

Can hold other structures, creating placement hierarchies. Behaves like a buidler, but only for logical volume properties and placement related commands. You can set VisAtt on a structure, and can set offsets and rotations of the whole structure for placement.

While this base view only supports limited methods, it is fully polymorphic and builder objects internally can trigger their full build chain.

See also
StructureBuilder for inherited methods.

Definition at line 166 of file VolumeBuildersTypes.hh.

◆ BoxBuilder

Builder class for simple Box solids.

Use the CreateXXX() factory methods to create the buiders. In particular we can create boxes that are not referenced to the center!!

See also
VolumeBuilder for inherited methods.

Definition at line 162 of file VolumeBuildersTypes.hh.

◆ FromG4VSolid

A solid buider class that just wrap an existing G4VSolid.

See also
VolumeBuilder for inherited methods.

Definition at line 164 of file VolumeBuildersTypes.hh.

◆ RZBuilder

Builder class for RZ mult-plane defined solids.

Use the CreateXXX() factory methods to create the buiders.

See also
VolumeBuilder for inherited methods.

Definition at line 160 of file VolumeBuildersTypes.hh.

◆ StructureBuilderCore

A type-erased (data shared view) view of a builder or assembly, ie a "structure.".

Can hold other structures, creating placement hierarchies. Behaves like a buidler, but only for logical volume properties and placement related commands. You can set VisAtt on a structure, and can set offsets and rotations of the whole structure for placement.

While this base view only supports limited methods, it is fully polymorphic and builder objects internally can trigger their full build chain.

This derived clas really exists for parallelism with VolumeBuilderCore.

See also
VolumeBuilder for inherited methods.

Definition at line 170 of file VolumeBuildersTypes.hh.

◆ VolumeBuilderCore

A polymorphic, type-erased "view" of any specialized builder.

Use it to assign a specialized builder to a generic builder. But you don't use it directly. It has no direct public ctors or factories, but BuilderView(your_other_builder_object) constructs it as i_shared_ptr<VolumeBuilderCore> ( pointer-wrapped builder). Or pass your builder to something expecting a BuilderView, like ex: a std::vector<BuilderViewr>, aka a BuilderViewList.

See also
VolumeBuilder for inherited methods.

Definition at line 168 of file VolumeBuildersTypes.hh.