|
Blender V5.3
|
Classes | |
| struct | AnyDerivedExtraInfo |
| struct | DeDuplicateParams |
| struct | NormalizedIntVec |
| struct | NormalizedIntVec< T, 2, SizeX, SizeY > |
| struct | NormalizedIntVec< T, 4, SizeX, SizeY, SizeZ, SizeW > |
| struct | StackChunk |
| struct | UStringEntry |
Functions | |
| template<typename T, CPPTypeFlags FLAGS> | |
| void | register_cpp_type (const StringRef type_name) |
| template<typename CoordT> | |
| KDTreeCoordTraits< CoordT >::ValueType | axis_get (const CoordT &co, uint axis) |
| template<typename CoordT> | |
| KDTreeCoordTraits< CoordT >::ValueType | distance_squared (const CoordT &a, const CoordT &b) |
| template<> | |
| float | distance_squared< float > (const float &a, const float &b) |
| template<typename CoordT> | |
| static uint | kdtree_balance (KDTreeNode< CoordT > *nodes, uint nodes_len, uint axis, const uint ofs) |
| template<typename CoordT> | |
| static void | nearest_ordered_insert (KDTreeNearest< CoordT > *nearest, uint *nearest_len, const uint nearest_len_capacity, const int index, const typename KDTree< CoordT >::ValueType dist, const CoordT &co) |
| template<typename CoordT> | |
| static int | nearest_cmp_dist (const void *a, const void *b) |
| template<typename CoordT> | |
| static void | nearest_add_in_range (KDTreeNearest< CoordT > **r_nearest, uint nearest_index, uint *nearest_len_capacity, const int index, const typename KDTree< CoordT >::ValueType dist, const CoordT &co) |
| template<typename CoordT> | |
| static Vector< int > | kdtree_order (const KDTree< CoordT > *tree) |
| template<typename T, int A_NumCol, int A_NumRow, int B_NumCol, int B_NumRow, typename MatA, typename MatB> | |
| MatBase< T, B_NumCol, A_NumRow > | matrix_mul_impl (const MatA &a, const MatB &b) |
| const blender::detail::UStringEntry & | ustring_ensure_entry (StringRef str) |
| const blender::detail::UStringEntry & | ustring_ensure_entry (const char *str) |
| constexpr auto | tie (const VkImageCreateInfo &info) |
kdtree_calc_duplicates_fast | |
| template<typename CoordT> | |
| static void | deduplicate_recursive (const DeDuplicateParams< CoordT > *p, uint i) |
Variables | |
| template<typename T> | |
| TypedBuffer< CPPType > | cpp_type_impl {} |
| template<typename T> | |
| bool | is_cpp_type_registered = false |
| constexpr int | kd_stack_init = 100 |
| constexpr int | kd_near_alloc_inc = 100 |
| constexpr int | kd_found_alloc_inc = 50 |
| constexpr uint | kd_node_unset = (uint(-1)) |
| constexpr uint | kd_node_root_is_init = (uint(-2)) |
| template<typename T, T Value, size_t... I> | |
| ValueSequence< T,((I==0) ? Value :Value)... > | make_value_sequence_impl (std::index_sequence< I... >) |
| template<typename T, T Value1, T Value2, size_t... Value1Indices, size_t... I> | |
| ValueSequence< T,(ValueSequence< size_t, Value1Indices... >::template contains< I >() ? Value1 :Value2)... > | make_two_value_sequence_impl (ValueSequence< size_t, Value1Indices... >, std::index_sequence< I... >) |
|
inline |
Definition at line 42 of file BLI_kdtree.hh.
References axis_get(), and blender::KDTreeCoordTraits< CoordT >::get().
Referenced by axis_get(), deduplicate_recursive(), kdtree_balance(), blender::kdtree_find_nearest_cb(), blender::kdtree_find_nearest_n_with_len_squared_cb(), blender::kdtree_range_search_cb(), and blender::kdtree_range_search_with_len_squared_cb().
|
static |
Definition at line 673 of file BLI_kdtree.hh.
References axis_get(), deduplicate_recursive(), distance_squared(), blender::detail::DeDuplicateParams< CoordT >::duplicates, blender::detail::DeDuplicateParams< CoordT >::duplicates_found, kd_node_unset, node, blender::detail::DeDuplicateParams< CoordT >::nodes, blender::detail::DeDuplicateParams< CoordT >::range, blender::detail::DeDuplicateParams< CoordT >::range_sq, blender::detail::DeDuplicateParams< CoordT >::search, and blender::detail::DeDuplicateParams< CoordT >::search_co.
Referenced by deduplicate_recursive(), and blender::kdtree_calc_duplicates_fast().
|
inline |
Definition at line 48 of file BLI_kdtree.hh.
References b, distance_squared(), and blender::math::distance_squared().
Referenced by deduplicate_recursive(), distance_squared(), distance_squared< float >(), blender::kdtree_find_nearest_cb(), blender::kdtree_find_nearest_n(), blender::kdtree_range_search(), and blender::kdtree_range_search_cb().
|
inline |
Definition at line 53 of file BLI_kdtree.hh.
References b, and distance_squared().
|
static |
Definition at line 121 of file BLI_kdtree.hh.
References axis_get(), blender::KDTree< CoordT >::DimsNum, kd_node_unset, kdtree_balance(), node, and SWAP.
Referenced by kdtree_balance(), and blender::kdtree_balance().
|
static |
Use when we want to loop over nodes ordered by index. Requires indices to be aligned with nodes.
Definition at line 645 of file BLI_kdtree.hh.
References kdtree_order(), blender::KDTree< CoordT >::max_node_index, blender::KDTree< CoordT >::nodes, and blender::KDTree< CoordT >::nodes_len.
Referenced by blender::kdtree_calc_duplicates_fast(), and kdtree_order().
| MatBase< T, B_NumCol, A_NumRow > blender::detail::matrix_mul_impl | ( | const MatA & | a, |
| const MatB & | b ) |
Multiply two matrices using matrix multiplication.
Definition at line 912 of file BLI_math_matrix_types.hh.
References b, matrix_mul_impl(), blender::result, and blender::unroll().
Referenced by matrix_mul_impl(), blender::operator*(), blender::operator*(), blender::operator*(), and blender::operator*().
|
static |
Definition at line 474 of file BLI_kdtree.hh.
References blender::KDTreeNearest< CoordT >::co, blender::KDTreeNearest< CoordT >::dist, blender::KDTreeNearest< CoordT >::index, kd_found_alloc_inc, blender::MEM_realloc_uninitialized_id, nearest_add_in_range(), and sqrtf.
Referenced by blender::kdtree_range_search_with_len_squared_cb(), and nearest_add_in_range().
|
static |
Definition at line 459 of file BLI_kdtree.hh.
References b, blender::KDTreeNearest< CoordT >::dist, and nearest_cmp_dist().
Referenced by blender::kdtree_range_search_with_len_squared_cb(), and nearest_cmp_dist().
|
static |
Definition at line 318 of file BLI_kdtree.hh.
References blender::KDTreeNearest< CoordT >::co, blender::KDTreeNearest< CoordT >::dist, blender::KDTreeNearest< CoordT >::index, and nearest_ordered_insert().
Referenced by blender::kdtree_find_nearest_n_with_len_squared_cb(), and nearest_ordered_insert().
|
inline |
Definition at line 485 of file BLI_cpp_type_make.hh.
References blender::BLI_assert(), cpp_type_impl, blender::CPPType::CPPType(), is_cpp_type_registered, and register_cpp_type().
Referenced by register_cpp_type().
|
constexpr |
Definition at line 25 of file vk_texture_pool.cc.
References tie().
Referenced by blender::DefaultHash< VkImageCreateInfo >::operator()(), blender::gpu::VKImageInfo::operator==(), and tie().
| const blender::detail::UStringEntry & blender::detail::ustring_ensure_entry | ( | const char * | str | ) |
Definition at line 49 of file ustring.cc.
References str, blender::StringRef::StringRef(), and ustring_ensure_entry().
| const blender::detail::UStringEntry & blender::detail::ustring_ensure_entry | ( | StringRef | str | ) |
Definition at line 29 of file ustring.cc.
References blender::UString::EMPTY_ENTRY, blender::global_string_table(), blender::hash_string(), blender::ConcurrentSet< Key, Hash, IsEqual >::lookup_key_or_add(), blender::ConcurrentSet< Key, Hash, IsEqual >::lookup_ptr(), str, and ustring_ensure_entry().
Referenced by blender::UString::operator""_ustr, ustring_ensure_entry(), and ustring_ensure_entry().
|
inline |
Global static variable that contains the CPPType for a given type after it has been registered with BLI_CPP_TYPE_REGISTER. This should generally be accessed through #CPPType::get<T>.
Definition at line 450 of file BLI_cpp_type.hh.
Referenced by blender::CPPType::get(), blender::CPPType::get_pre_register(), and register_cpp_type().
Definition at line 451 of file BLI_cpp_type.hh.
Referenced by blender::CPPType::get(), and register_cpp_type().
|
constexpr |
Definition at line 31 of file BLI_kdtree.hh.
Referenced by nearest_add_in_range().
|
constexpr |
Definition at line 30 of file BLI_kdtree.hh.
When set we know all values are unbalanced, otherwise clear them when re-balancing: see #62210.
Definition at line 39 of file BLI_kdtree.hh.
Referenced by blender::kdtree_balance(), and blender::kdtree_new().
Definition at line 33 of file BLI_kdtree.hh.
Referenced by deduplicate_recursive(), kdtree_balance(), blender::kdtree_balance(), blender::kdtree_calc_duplicates_cb(), blender::kdtree_find_nearest_cb(), blender::kdtree_find_nearest_n_with_len_squared_cb(), blender::kdtree_insert(), blender::kdtree_range_search_cb(), and blender::kdtree_range_search_with_len_squared_cb().
|
constexpr |
Definition at line 29 of file BLI_kdtree.hh.
|
inline |
Definition at line 98 of file BLI_parameter_pack_utils.hh.
|
inline |
Definition at line 88 of file BLI_parameter_pack_utils.hh.