|
|
| edge_generator ()=delete |
| | No default constructor (holds member reference).
|
| | edge_generator (const typename detector_t::mask_container &masks, const dindex volume_id=0, const mask_link_t mask_link={}) |
| | Constructor from the detector masks store.
|
| auto | begin () |
| auto | end () |
| edge_generator & | operator() (dindex volume_id, const mask_link_t mask_link) |
| | Rebuild edges for a new volume and mask link.
|
| constexpr decltype(auto) | back () const |
| | Return a reference to the last element.
|
| constexpr auto | data () const |
| | Return a pointer to the first element, or null for an empty view.
|
| constexpr auto | empty () const -> bool |
| | Check whether the view contains no elements.
|
| constexpr decltype(auto) | front () const |
| | Return a reference to the first element.
|
| constexpr | operator bool () const |
| | Test whether the view contains at least one element.
|
| constexpr decltype(auto) | operator[] (const dindex i) const |
| | Subscript operator that takes detray dindex.
|
| constexpr auto | size () const |
| | Return the number of elements in the view.
|
template<concepts::detector detector_t, typename node_inspector = void_node_inspector<typename detector_t::volume_type>, template< typename... > class vector_t = dvector>
struct detray::volume_graph< detector_t, node_inspector, vector_t >::edge_generator
Builds graph edges from the detector mask collection on the fly.
Iterates through the detectors mask store given a volume id (graph node) The graph edges are constructed for the node on the fly from the half edges in the _edges collection (detector masks).