A functor to set the proto surfaces type and bounds to be equivalent to the mask.
More...
#include <detray/plugins/svgtools/conversion/surface.hpp>
|
| template<typename mask_group_t, concepts::interval idx_range_t, concepts::transform3D transform3_t> |
| auto | operator() (const mask_group_t &mask_group, const idx_range_t &idx_range, const transform3_t &transform, const std::size_t mask_idx) const |
| | Convert a mask selected from an indexed range into its proto surface.
|
| template<typename mask_group_t, concepts::index index_t, concepts::transform3D transform3_t> |
| auto | operator() (const mask_group_t &mask_group, const index_t &index, const transform3_t &transform, const std::size_t=0u) const |
| | Convert one mask entry into its proto surface.
|
A functor to set the proto surfaces type and bounds to be equivalent to the mask.
◆ operator()() [1/2]
template<typename mask_group_t, concepts::interval idx_range_t, concepts::transform3D transform3_t>
| auto detray::svgtools::conversion::surface_converter::operator() |
( |
const mask_group_t & | mask_group, |
|
|
const idx_range_t & | idx_range, |
|
|
const transform3_t & | transform, |
|
|
const std::size_t | mask_idx ) const |
Convert a mask selected from an indexed range into its proto surface.
- Template Parameters
-
| mask_group_t | Group storing masks. |
| idx_range_t | Range of mask indices. |
| transform3_t | Surface transform type. |
- Parameters
-
| mask_group | Mask collection. |
| idx_range | Range containing the selected mask. |
| transform | Transform applied to the mask. |
| mask_idx | Offset within the range. |
- Returns
- Proto representation of the selected mask.
◆ operator()() [2/2]
template<typename mask_group_t, concepts::index index_t, concepts::transform3D transform3_t>
| auto detray::svgtools::conversion::surface_converter::operator() |
( |
const mask_group_t & | mask_group, |
|
|
const index_t & | index, |
|
|
const transform3_t & | transform, |
|
|
const std::size_t | = 0u ) const |
Convert one mask entry into its proto surface.
- Template Parameters
-
| mask_group_t | Group storing masks. |
| index_t | Mask index type. |
| transform3_t | Surface transform type. |
- Parameters
-
| mask_group | Mask collection. |
| index | Selected mask index. |
| transform | Transform applied to the mask. |
- Returns
- Proto representation of the selected mask.