Blender V4.3
array_utils.cc File Reference
#include <functional>
#include "BLI_array_utils.hh"
#include "BLI_threads.h"
#include "atomic_ops.h"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::array_utils
 

Functions

void blender::array_utils::copy (const GVArray &src, GMutableSpan dst, int64_t grain_size=4096)
 
void blender::array_utils::copy (const GVArray &src, const IndexMask &selection, GMutableSpan dst, int64_t grain_size=4096)
 
void blender::array_utils::gather (const GVArray &src, const IndexMask &indices, GMutableSpan dst, int64_t grain_size=4096)
 
void blender::array_utils::gather (GSpan src, const IndexMask &indices, GMutableSpan dst, int64_t grain_size=4096)
 
void blender::array_utils::copy_group_to_group (OffsetIndices< int > src_offsets, OffsetIndices< int > dst_offsets, const IndexMask &selection, GSpan src, GMutableSpan dst)
 
void blender::array_utils::count_indices (Span< int > indices, MutableSpan< int > counts)
 
void blender::array_utils::invert_booleans (MutableSpan< bool > span)
 
void blender::array_utils::invert_booleans (MutableSpan< bool > span, const IndexMask &mask)
 
static bool blender::array_utils::all_equal (const Span< bool > span, const bool test)
 
static bool blender::array_utils::all_equal (const VArray< bool > &varray, const IndexRange range, const bool test)
 
BooleanMix blender::array_utils::booleans_mix_calc (const VArray< bool > &varray, IndexRange range_to_check)
 
int64_t blender::array_utils::count_booleans (const VArray< bool > &varray, const IndexMask &mask)
 
int64_t blender::array_utils::count_booleans (const VArray< bool > &varray)
 
bool blender::array_utils::indices_are_range (Span< int > indices, IndexRange range)