The layer node is essentially an auto-sizing wrapper around a set of surfaces.
More...
|
| | LayerBlueprintNode (std::string_view name) |
| | Constructor for a layer node.
|
| | ~LayerBlueprintNode () override |
| Volume & | build (const BlueprintOptions &options, const GeometryContext &gctx, const Logger &logger=Acts::getDummyLogger()) override |
| | This function participates in the geometry construction.
|
| const ExtentEnvelope & | envelope () const |
| | Access the envelope of the layer node.
|
| const LayerType & | layerType () const |
| | Access the layer type of the layer node.
|
| const std::string & | name () const override |
| | Get the name of this node.
|
| const MutableProtoLayer * | protoLayer () const |
| | Access the registered proto layer.
|
| LayerBlueprintNode & | setEnvelope (const ExtentEnvelope &envelope) |
| | Set the envelope of the layer node.
|
| LayerBlueprintNode & | setLayerType (LayerType layerType) |
| | Set the layer type of the layer node.
|
| LayerBlueprintNode & | setProtoLayer (std::optional< MutableProtoLayer > protoLayer) |
| | Register a proto layer with the layer node.
|
| LayerBlueprintNode & | setSurfaces (std::vector< std::shared_ptr< Surface > > surfaces) |
| | Register a set of surfaces with the layer node.
|
| LayerBlueprintNode & | setTransform (const Transform3 &transform) |
| | Set the transformation of the layer node.
|
| LayerBlueprintNode & | setUseCenterOfGravity (bool x, bool y, bool z) |
| | Set the layer volume to be centered on the center of gravity of the surfaces.
|
| const std::vector< std::shared_ptr< Surface > > & | surfaces () const |
| | Access the registered surfaces.
|
| const Transform3 & | transform () const |
| | Access the transformation of the layer node.
|
| | StaticBlueprintNode (std::unique_ptr< TrackingVolume > volume) |
| | Construct the static node from an existing volume.
|
| Volume & | build (const BlueprintOptions &options, const GeometryContext &gctx, const Logger &logger=Acts::getDummyLogger()) override |
| | This method is called during the build phase of the blueprint tree construction.
|
| PortalShellBase & | connect (const BlueprintOptions &options, const GeometryContext &gctx, const Logger &logger=Acts::getDummyLogger()) override |
| | This method is called during the connect phase.
|
| void | finalize (const BlueprintOptions &options, const GeometryContext &gctx, TrackingVolume &parent, const Logger &logger=Acts::getDummyLogger()) override |
| | This method is called during the finalize phase.
|
| const std::string & | name () const override |
| | Get the name of this node.
|
| const NavigationPolicyFactory * | navigationPolicyFactory () const |
| | Get the navigation policy factory for this node.
|
| virtual StaticBlueprintNode & | setNavigationPolicyFactory (std::shared_ptr< NavigationPolicyFactory > navigationPolicyFactory) |
| | Set the navigation policy factory for this node.
|
| virtual | ~BlueprintNode ()=default |
| | Virtual destructor to ensure correct cleanup.
|
| BlueprintNode & | addChild (std::shared_ptr< BlueprintNode > child) |
| | Register a child to this node.
|
| MutableChildRange | children () |
| | Return a MutableChildRange to the children of this node.
|
| ChildRange | children () const |
| | Return a ChildRange to the children of this node.
|
| void | clearChildren () |
| | Remove all children from this node.
|
| std::size_t | depth () const |
| | Return the depth of this node in the blueprint tree.
|
| void | graphviz (std::ostream &os) const |
| | Print the node tree starting from this node to graphviz format.
|
| StaticBlueprintNode & | addStaticVolume (std::unique_ptr< TrackingVolume > volume, const std::function< void(StaticBlueprintNode &cylinder)> &callback={}) |
| | This method creates a new Acts::Experimental::StaticBlueprintNode wrapping volume and adds it to this node as a child.
|
| StaticBlueprintNode & | addStaticVolume (const Transform3 &transform, std::shared_ptr< VolumeBounds > volumeBounds, const std::string &volumeName="undefined", const std::function< void(StaticBlueprintNode &cylinder)> &callback={}) |
| | Alternative overload for creating a Acts::Experimental::StaticBlueprintNode.
|
| CylinderContainerBlueprintNode & | addCylinderContainer (const std::string &name, AxisDirection direction, const std::function< void(CylinderContainerBlueprintNode &cylinder)> &callback={}) |
| | Convenience method for creating a cylinder specialization of Acts::Experimental::ContainerBlueprintNode.
|
| CuboidContainerBlueprintNode & | addCuboidContainer (const std::string &name, AxisDirection direction, const std::function< void(CuboidContainerBlueprintNode &cylinder)> &callback={}) |
| | Convenience method for creating a cuboid specialization of Acts::Experimental::ContainerBlueprintNode.
|
| MaterialDesignatorBlueprintNode & | addMaterial (const std::string &name, const std::function< void(MaterialDesignatorBlueprintNode &material)> &callback={}) |
| | Convenience method for creating a Acts::Experimental::MaterialDesignatorBlueprintNode.
|
| LayerBlueprintNode & | addLayer (const std::string &name, const std::function< void(LayerBlueprintNode &layer)> &callback={}) |
| | Convenience method for creating a Acts::Experimental::LayerBlueprintNode.
|
| GeometryIdentifierBlueprintNode & | withGeometryIdentifier (const std::function< void(GeometryIdentifierBlueprintNode &geometryIdentifier)> &callback={}) |
| | Convenience method for creating a Acts::Experimental::GeometryIdentifierBlueprintNode.
|
|
| void | addToGraphviz (std::ostream &os) const override |
| | Method that writes a representatiohn of this node only to graphviz.
|
| std::string | indent () const |
| | An indentation depending on the depth of this node.
|
| std::string | prefix () const |
| | Printing helper returning a prefix including an indent depending on the depth.
|
| void | setDepth (std::size_t depth) |
| | Set the depth to depth and update children recursively.
|
| virtual void | toStream (std::ostream &os) const |
| | Virtual method to determine stream representation.
|
| std::shared_ptr< NavigationPolicyFactory > | m_navigationPolicyFactory |
| | Factory for creating navigation policies for this volume.
|
| std::unique_ptr< PortalShellBase > | m_shell |
| | Portal shell representation for geometry connection.
|
| std::unique_ptr< TrackingVolume > | m_volume |
| | The wrapped tracking volume managed by this blueprint node.
|
The layer node is essentially an auto-sizing wrapper around a set of surfaces.
- Note
- This implementation is preliminary and will likely change in the future. It defers most of the functionality to Acts::Experimental::StaticBlueprintNode, after the initial volume creation is completed.
The layer volume is created to wrap around the surfaces registered with this node. The orientation of the resulting volume defaults to the identity matrix. If another orientation is desired, this can be set with the setTransform method. See Acts::ProtoLayer for details on the auto-sizing from surfaces.