|
Blender V4.3
|
Functions | |
| IndexMask | from_predicate_impl (const IndexMask &universe, GrainSize grain_size, IndexMaskMemory &memory, FunctionRef< int64_t(IndexMaskSegment indices, int16_t *r_true_indices)> filter_indices) |
| static void | segments_from_predicate_filter (const IndexMaskSegment universe_segment, LinearAllocator<> &allocator, const FunctionRef< int64_t(IndexMaskSegment indices, int16_t *r_true_indices)> filter_indices, Vector< IndexMaskSegment, 16 > &r_segments) |
| IndexMask | from_predicate_impl (const IndexMask &universe, const GrainSize grain_size, IndexMaskMemory &memory, const FunctionRef< int64_t(IndexMaskSegment indices, int16_t *r_true_indices)> filter_indices) |
| IndexMask blender::index_mask::detail::from_predicate_impl | ( | const IndexMask & | universe, |
| const GrainSize | grain_size, | ||
| IndexMaskMemory & | memory, | ||
| const FunctionRef< int64_t(IndexMaskSegment indices, int16_t *r_true_indices)> | filter_indices ) |
Definition at line 794 of file index_mask.cc.
References blender::index_mask::consolidate_index_mask_segments(), blender::index_mask::ParallelSegmentsCollector::data_by_thread, blender::index_mask::IndexMask::foreach_segment(), blender::index_mask::IndexMask::from_segments(), blender::index_mask::IndexMask::is_empty(), blender::threading::EnumerableThreadSpecific< T >::local(), blender::index_mask::ParallelSegmentsCollector::reduce(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::index_mask::IndexMask::segment(), segments_from_predicate_filter(), blender::index_mask::IndexMask::segments_num(), blender::index_mask::IndexMask::size(), and blender::GrainSize::value.
| IndexMask blender::index_mask::detail::from_predicate_impl | ( | const IndexMask & | universe, |
| GrainSize | grain_size, | ||
| IndexMaskMemory & | memory, | ||
| FunctionRef< int64_t(IndexMaskSegment indices, int16_t *r_true_indices)> | filter_indices ) |
Referenced by blender::index_mask::IndexMask::from_predicate().
|
static |
Filter the indices from #universe_segment using #filter_indices. Store the resulting indices as segments.
Definition at line 764 of file index_mask.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append_as(), blender::LinearAllocator< Allocator >::construct_array_copy(), blender::Span< T >::data(), blender::index_mask::get_static_indices_array(), blender::OffsetSpan< T, BaseT >::offset(), blender::Span< T >::slice(), and blender::unique_sorted_indices::split_to_ranges_and_spans().
Referenced by from_predicate_impl().