|
|
| node_generator ()=delete |
| | No default constructor (holds member reference).
|
| | node_generator (const volume_container_t &volumes, const detector_t &det) |
| | Constructor from a detector containers.
|
| iterator | begin () const |
| iterator | end () const |
| dindex | size () const |
| 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 >::node_generator
Builds a graph node from the detector collections on the fly.
The node collection builds a graph node from a volume and the mask links in its surfaces, which are half edges of the graph. Every node has its index in the detector volume container and a vector of half edges.