|
Blender V4.3
|
Namespaces | |
| namespace | animrig |
| namespace | array_utils |
| namespace | asset_system |
| namespace | binary_search |
| namespace | bits |
| namespace | bke |
| namespace | bounds |
| namespace | color |
| namespace | compositor |
| namespace | cpp_type_util |
| namespace | deg |
| namespace | detail |
| namespace | dna |
| namespace | dot |
| namespace | draw |
| namespace | ed |
| namespace | editor |
| namespace | eevee |
| namespace | fftw |
| namespace | fixed_width_int |
| namespace | fn |
| namespace | geometry |
| namespace | gpu |
| namespace | imbuf |
| namespace | implicit_sharing |
| namespace | index_mask |
| namespace | interface |
| namespace | internal |
| namespace | io |
| namespace | iterator |
| namespace | lazy_threading |
| namespace | length_parameterize |
| namespace | linear_allocator |
| namespace | math |
| namespace | memory_cache |
| namespace | memory_counter |
| namespace | meshintersect |
| namespace | modifier |
| namespace | nodes |
| namespace | noise |
| namespace | offset_indices |
| namespace | opensubdiv |
| namespace | parameter_pack_utils_static_tests |
| namespace | realtime_compositor |
| namespace | render |
| namespace | robust_pred |
| namespace | seq |
| namespace | string_search |
| namespace | tests |
| namespace | threading |
| namespace | timeit |
| namespace | ui |
| namespace | unique_sorted_indices |
| namespace | varray_tag |
| namespace | wm |
| namespace | workbench |
Typedefs | |
| using | ColorTheme4b = ColorTheme4<uint8_t> |
| using | ColorTheme4f = ColorTheme4<float> |
| using | ColorGeometry4f = ColorSceneLinear4f<eAlpha::Premultiplied> |
| using | ColorGeometry4b = ColorSceneLinearByteEncoded4b<eAlpha::Premultiplied> |
| using | ColorPaint4f = ColorSceneLinear4f<eAlpha::Straight> |
| using | ColorPaint4b = ColorSceneLinearByteEncoded4b<eAlpha::Straight> |
| using | WeakImplicitSharingPtr = ImplicitSharingPtr<ImplicitSharingInfo, false> |
| template<typename T > | |
| using | ListBaseWrapper = ListBaseWrapperTemplate<ListBase, T> |
| template<typename T > | |
| using | ConstListBaseWrapper = ListBaseWrapperTemplate<const ListBase, const T> |
| template<typename Key , typename Value , int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(Key) + sizeof(Value)), typename ProbingStrategy = DefaultProbingStrategy, typename Hash = DefaultHash<Key>, typename IsEqual = DefaultEquality<Key>, typename Slot = typename DefaultMapSlot<Key, Value>::type> | |
| using | RawMap |
| using | float2x2 = MatBase<float, 2, 2> |
| using | float2x3 = MatBase<float, 2, 3> |
| using | float2x4 = MatBase<float, 2, 4> |
| using | float3x2 = MatBase<float, 3, 2> |
| using | float3x3 = MatBase<float, 3, 3> |
| using | float3x4 = MatBase<float, 3, 4> |
| using | float4x2 = MatBase<float, 4, 2> |
| using | float4x3 = MatBase<float, 4, 3> |
| using | float4x4 = MatBase<float, 4, 4> |
| using | float4x4_view = MatView<float, 4, 4, 4, 4, 0, 0, alignof(float)> |
| using | float4x4_mutableview = MutableMatView<float, 4, 4, 4, 4, 0, 0, alignof(float)> |
| using | double2x2 = MatBase<double, 2, 2> |
| using | double2x3 = MatBase<double, 2, 3> |
| using | double2x4 = MatBase<double, 2, 4> |
| using | double3x2 = MatBase<double, 3, 2> |
| using | double3x3 = MatBase<double, 3, 3> |
| using | double3x4 = MatBase<double, 3, 4> |
| using | double4x2 = MatBase<double, 4, 2> |
| using | double4x3 = MatBase<double, 4, 3> |
| using | double4x4 = MatBase<double, 4, 4> |
| template<typename T > | |
| using | as_uint_type |
| using | char2 = blender::VecBase<int8_t, 2> |
| using | char3 = blender::VecBase<int8_t, 3> |
| using | char4 = blender::VecBase<int8_t, 4> |
| using | uchar3 = blender::VecBase<uint8_t, 3> |
| using | uchar4 = blender::VecBase<uint8_t, 4> |
| using | int2 = VecBase<int32_t, 2> |
| using | int3 = VecBase<int32_t, 3> |
| using | int4 = VecBase<int32_t, 4> |
| using | uint2 = VecBase<uint32_t, 2> |
| using | uint3 = VecBase<uint32_t, 3> |
| using | uint4 = VecBase<uint32_t, 4> |
| using | short2 = blender::VecBase<int16_t, 2> |
| using | short3 = blender::VecBase<int16_t, 3> |
| using | short4 = blender::VecBase<int16_t, 4> |
| using | ushort2 = VecBase<uint16_t, 2> |
| using | ushort3 = blender::VecBase<uint16_t, 3> |
| using | ushort4 = blender::VecBase<uint16_t, 4> |
| using | float1 = VecBase<float, 1> |
| using | float2 = VecBase<float, 2> |
| using | float3 = VecBase<float, 3> |
| using | float4 = VecBase<float, 4> |
| using | double2 = VecBase<double, 2> |
| using | double3 = VecBase<double, 3> |
| using | double4 = VecBase<double, 4> |
| template<typename T > | |
| using | destruct_ptr = std::unique_ptr<T, DestructValueAtAddress<T>> |
| template<typename T , T Value, size_t Size> | |
| using | make_value_sequence |
| template<typename T , T Value1, T Value2, size_t Size, size_t... Value1Indices> | |
| using | make_two_value_sequence |
| using | DefaultProbingStrategy = PythonProbingStrategy<> |
| template<typename Key , int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(Key)), typename ProbingStrategy = DefaultProbingStrategy, typename Hash = DefaultHash<Key>, typename IsEqual = DefaultEquality<Key>, typename Slot = typename DefaultSetSlot<Key>::type> | |
| using | RawSet = Set<Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, RawAllocator> |
| template<typename Int , Int EmptyValue, Int RemovedValue> | |
| using | IntegerSetSlot = IntrusiveSetSlot<Int, TemplatedKeyInfo<Int, EmptyValue, RemovedValue>> |
| template<typename T , int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T))> | |
| using | RawStack = Stack<T, InlineBufferCapacity, RawAllocator> |
| template<typename T , int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T))> | |
| using | RawVector = Vector<T, InlineBufferCapacity, RawAllocator> |
| template<typename Key , typename ProbingStrategy = DefaultProbingStrategy, typename Hash = DefaultHash<Key>, typename IsEqual = DefaultEquality<Key>, typename Slot = typename DefaultVectorSetSlot<Key>::type> | |
| using | RawVectorSet = VectorSet<Key, ProbingStrategy, Hash, IsEqual, Slot, RawAllocator> |
Enumerations | |
| enum class | eAlpha { Straight , Premultiplied } |
| enum class | eSpace { Theme , SceneLinear , SceneLinearByteEncoded } |
Functions | |
| TEST_F (TrackingTest, BKE_tracking_marker_get) | |
| TEST_F (TrackingTest, BKE_tracking_marker_get_exact) | |
| TEST_F (TrackingTest, BKE_tracking_marker_get_interpolated) | |
| std::ostream & | operator<< (std::ostream &stream, const eAlpha &space) |
| std::ostream & | operator<< (std::ostream &stream, const eSpace &space) |
| BLI_INLINE ColorTheme4< float > | BLI_color_convert_to_theme4f (const ColorTheme4< uint8_t > &theme4b) |
| BLI_INLINE ColorTheme4< uint8_t > | BLI_color_convert_to_theme4b (const ColorTheme4< float > &theme4f) |
| BLI_INLINE ColorTheme4f | BLI_color_convert_to_theme4f (const ColorTheme4b &theme4b) |
| BLI_INLINE ColorSceneLinear4f< eAlpha::Straight > | BLI_color_convert_to_scene_linear (const ColorTheme4f &theme4f) |
| BLI_INLINE ColorSceneLinear4f< eAlpha::Straight > | BLI_color_convert_to_scene_linear (const ColorTheme4b &theme4b) |
| BLI_INLINE ColorTheme4f | BLI_color_convert_to_theme4f (const ColorSceneLinear4f< eAlpha::Straight > &scene_linear) |
| BLI_INLINE ColorTheme4b | BLI_color_convert_to_theme4b (const ColorSceneLinear4f< eAlpha::Straight > &scene_linear) |
| void | register_cpp_types () |
| template<typename Fn , typename... Devirtualizers> | |
| bool | call_with_devirtualized_parameters (const std::tuple< Devirtualizers... > &devis, const Fn &fn) |
| TRIVIAL_DEFAULT_INT_HASH (int8_t) | |
| TRIVIAL_DEFAULT_INT_HASH (uint8_t) | |
| TRIVIAL_DEFAULT_INT_HASH (int16_t) | |
| TRIVIAL_DEFAULT_INT_HASH (uint16_t) | |
| TRIVIAL_DEFAULT_INT_HASH (int32_t) | |
| TRIVIAL_DEFAULT_INT_HASH (uint32_t) | |
| TRIVIAL_DEFAULT_INT_HASH (int64_t) | |
| TRIVIAL_DEFAULT_INT_HASH (uint64_t) | |
| uint64_t | hash_string (StringRef str) |
| template<typename T > | |
| uint64_t | get_default_hash (const T &v) |
| template<typename T1 , typename T2 > | |
| uint64_t | get_default_hash (const T1 &v1, const T2 &v2) |
| template<typename T1 , typename T2 , typename T3 > | |
| uint64_t | get_default_hash (const T1 &v1, const T2 &v2, const T3 &v3) |
| template<typename T1 , typename T2 , typename T3 , typename T4 > | |
| uint64_t | get_default_hash (const T1 &v1, const T2 &v2, const T3 &v3, const T4 &v4) |
| AlignedIndexRanges | split_index_range_by_alignment (const IndexRange range, const int64_t alignment) |
| template<typename T > | |
| Vector< T * > | listbase_to_vector (ListBase &list) |
| template<typename T > | |
| Vector< T * > | listbase_to_vector (const ListBase &list) |
| template<typename Src1 , typename Src2 , typename Dst1 , typename Dst2 > | |
| void | initialize_pointer_pair (Src1 &&src1, Src2 &&src2, Dst1 *dst1, Dst2 *dst2) |
| int | orient2d (const double2 &a, const double2 &b, const double2 &c) |
| int | orient2d_fast (const double2 &a, const double2 &b, const double2 &c) |
| int | incircle (const double2 &a, const double2 &b, const double2 &c, const double2 &d) |
| int | incircle_fast (const double2 &a, const double2 &b, const double2 &c, const double2 &d) |
| int | orient3d (const double3 &a, const double3 &b, const double3 &c, const double3 &d) |
| int | orient3d_fast (const double3 &a, const double3 &b, const double3 &c, const double3 &d) |
| int | insphere (const double3 &a, const double3 &b, const double3 &c, const double3 &d, const double3 &e) |
| int | insphere_fast (const double3 &a, const double3 &b, const double3 &c, const double3 &d, const double3 &e) |
| template<typename T , int A_NumCol, int A_NumRow, int B_NumCol, int B_NumRow> | |
| MatBase< T, B_NumCol, A_NumRow > | operator* (const MatBase< T, A_NumCol, A_NumRow > &a, const MatBase< T, B_NumCol, B_NumRow > &b) |
| template<typename T , int A_NumCol, int A_NumRow, int A_SrcNumCol, int A_SrcNumRow, int A_SrcStartCol, int A_SrcStartRow, int A_SrcAlignment, int B_NumCol, int B_NumRow, int B_SrcNumCol, int B_SrcNumRow, int B_SrcStartCol, int B_SrcStartRow, int B_SrcAlignment> | |
| MatBase< T, B_NumCol, A_NumRow > | operator* (const MatView< T, A_NumCol, A_NumRow, A_SrcNumCol, A_SrcNumRow, A_SrcStartCol, A_SrcStartRow, A_SrcAlignment > &a, const MatView< T, B_NumCol, B_NumRow, B_SrcNumCol, B_SrcNumRow, B_SrcStartCol, B_SrcStartRow, B_SrcAlignment > &b) |
| template<typename T , int A_NumCol, int A_NumRow, int A_SrcNumCol, int A_SrcNumRow, int A_SrcStartCol, int A_SrcStartRow, int A_SrcAlignment, int B_NumCol, int B_NumRow> | |
| MatBase< T, B_NumCol, A_NumRow > | operator* (const MatView< T, A_NumCol, A_NumRow, A_SrcNumCol, A_SrcNumRow, A_SrcStartCol, A_SrcStartRow, A_SrcAlignment > &a, const MatBase< T, B_NumCol, B_NumRow > &b) |
| template<typename T , int A_NumCol, int A_NumRow, int B_NumCol, int B_NumRow, int B_SrcNumCol, int B_SrcNumRow, int B_SrcStartCol, int B_SrcStartRow, int B_SrcAlignment> | |
| MatBase< T, B_NumCol, A_NumRow > | operator* (const MatBase< T, A_NumCol, A_NumRow > &a, const MatView< T, B_NumCol, B_NumRow, B_SrcNumCol, B_SrcNumRow, B_SrcStartCol, B_SrcStartRow, B_SrcAlignment > &b) |
| template<> | |
| float4x4 | operator* (const float4x4 &a, const float4x4 &b) |
| template<> | |
| float3x3 | operator* (const float3x3 &a, const float3x3 &b) |
| template float2x2 | operator* (const float2x2 &a, const float2x2 &b) |
| template double2x2 | operator* (const double2x2 &a, const double2x2 &b) |
| template double3x3 | operator* (const double3x3 &a, const double3x3 &b) |
| template double4x4 | operator* (const double4x4 &a, const double4x4 &b) |
| template<typename T > | |
| void | destruct_n (T *ptr, int64_t n) |
| template<typename T > | |
| void | default_construct_n (T *ptr, int64_t n) |
| template<typename T > | |
| void | initialized_copy_n (const T *src, int64_t n, T *dst) |
| template<typename T > | |
| void | uninitialized_copy_n (const T *src, int64_t n, T *dst) |
| template<typename From , typename To > | |
| void | uninitialized_convert_n (const From *src, int64_t n, To *dst) |
| template<typename T > | |
| void | initialized_move_n (T *src, int64_t n, T *dst) |
| template<typename T > | |
| void | uninitialized_move_n (T *src, int64_t n, T *dst) |
| template<typename T > | |
| void | initialized_relocate_n (T *src, int64_t n, T *dst) |
| template<typename T > | |
| void | uninitialized_relocate_n (T *src, int64_t n, T *dst) |
| template<typename T > | |
| void | initialized_fill_n (T *dst, int64_t n, const T &value) |
| template<typename T > | |
| void | uninitialized_fill_n (T *dst, int64_t n, const T &value) |
| constexpr int64_t | default_inline_buffer_capacity (size_t element_size) |
| template<typename Container > | |
| Container & | copy_assign_container (Container &dst, const Container &src) |
| template<typename Container > | |
| Container & | move_assign_container (Container &dst, Container &&src) noexcept(std::is_nothrow_move_constructible_v< Container >) |
| template<typename T > | |
| bool | assign_if_different (T &old_value, T new_value) |
| template<typename RandomAccessIterator > | |
| void | parallel_sort (RandomAccessIterator begin, RandomAccessIterator end) |
| template<typename RandomAccessIterator , typename Compare > | |
| void | parallel_sort (RandomAccessIterator begin, RandomAccessIterator end, const Compare &comp) |
| template<class Fn , size_t... I> | |
| void | unroll_impl (Fn fn, std::index_sequence< I... >) |
| template<int N, class Fn > | |
| void | unroll (Fn fn) |
| template<typename T , typename Func > | |
| void | devirtualize_varray (const VArray< T > &varray, const Func &func, bool enable=true) |
| template<typename T1 , typename T2 , typename Func > | |
| void | devirtualize_varray2 (const VArray< T1 > &varray1, const VArray< T2 > &varray2, const Func &func, bool enable=true) |
| static void | update_first_occurrence (Map< int, int > &map, const int root, const int index) |
| template<typename ChannelStorageType , eSpace Space, eAlpha Alpha> | |
| std::ostream & | operator<< (std::ostream &stream, const ColorRGBA< ChannelStorageType, Space, Alpha > &c) |
| template std::ostream & | operator<< (std::ostream &stream, const ColorRGBA< float, eSpace::SceneLinear, eAlpha::Premultiplied > &c) |
| template std::ostream & | operator<< (std::ostream &stream, const ColorRGBA< float, eSpace::SceneLinear, eAlpha::Straight > &c) |
| template std::ostream & | operator<< (std::ostream &stream, const ColorRGBA< uint8_t, eSpace::SceneLinearByteEncoded, eAlpha::Premultiplied > &c) |
| template std::ostream & | operator<< (std::ostream &stream, const ColorRGBA< uint8_t, eSpace::SceneLinearByteEncoded, eAlpha::Straight > &c) |
| std::ostream & | operator<< (std::ostream &stream, const ComputeContextHash &hash) |
| std::ostream & | operator<< (std::ostream &stream, const ComputeContext &compute_context) |
| static auto & | get_vector_from_self_map () |
| static auto & | get_vector_from_value_map () |
| std::ostream & | operator<< (std::ostream &stream, IndexRange range) |
| static int | sgn (double x) |
| template<> | |
| float4x4 | operator* (const float4x4 &a, const float4x4 &b) |
| template<> | |
| float3x3 | operator* (const float3x3 &a, const float3x3 &b) |
| std::ostream & | operator<< (std::ostream &stream, const OrderedEdge &e) |
| bool | operator== (const bUUID uuid1, const bUUID uuid2) |
| bool | operator!= (const bUUID uuid1, const bUUID uuid2) |
| bool | operator< (const bUUID uuid1, const bUUID uuid2) |
| static bool | unique_check_func (void *arg, const char *name) |
| TEST (BLI_string_utils, BLI_uniquename_cb) | |
| static void | bm_vert_table_build (BMesh &bm, MutableSpan< const BMVert * > table, bool &need_select_vert, bool &need_hide_vert) |
| static void | bm_edge_table_build (BMesh &bm, MutableSpan< const BMEdge * > table, bool &need_select_edge, bool &need_hide_edge, bool &need_sharp_edge, bool &need_uv_seams) |
| static void | bm_face_loop_table_build (BMesh &bm, MutableSpan< const BMFace * > face_table, MutableSpan< const BMLoop * > loop_table, bool &need_select_poly, bool &need_hide_poly, bool &need_sharp_face, bool &need_material_index, Vector< int > &loop_layers_not_to_copy) |
| static void | bmesh_block_copy_to_mesh_attributes (const Span< BMeshToMeshLayerInfo > copy_info, const int mesh_index, const void *block) |
| static void | bm_to_mesh_verts (const BMesh &bm, const Span< const BMVert * > bm_verts, Mesh &mesh, MutableSpan< bool > select_vert, MutableSpan< bool > hide_vert) |
| static void | bm_to_mesh_edges (const BMesh &bm, const Span< const BMEdge * > bm_edges, Mesh &mesh, MutableSpan< bool > select_edge, MutableSpan< bool > hide_edge, MutableSpan< bool > sharp_edge, MutableSpan< bool > uv_seams) |
| static void | bm_to_mesh_faces (const BMesh &bm, const Span< const BMFace * > bm_faces, Mesh &mesh, MutableSpan< bool > select_poly, MutableSpan< bool > hide_poly, MutableSpan< bool > sharp_faces, MutableSpan< int > material_indices) |
| static void | bm_to_mesh_loops (const BMesh &bm, const Span< const BMLoop * > bm_loops, Mesh &mesh) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static void | modify_curves (ModifierData &md, const ModifierEvalContext &ctx, Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static float4x4 | get_array_matrix (const Object &ob, const GreasePencilArrayModifierData &mmd, const int elem_idx, const bool use_object_offset) |
| static float4x4 | get_rand_matrix (const GreasePencilArrayModifierData &mmd, const Object &ob, const int elem_id) |
| static bke::CurvesGeometry | create_array_copies (const Object &ob, const GreasePencilArrayModifierData &mmd, const bke::CurvesGeometry &base_curves, bke::CurvesGeometry filtered_curves) |
| static void | modify_drawing (const GreasePencilArrayModifierData &mmd, const ModifierEvalContext &ctx, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, int flags) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static Array< int > | point_counts_to_keep_concurrent (const bke::CurvesGeometry &curves, const IndexMask &selection, const int time_alignment, const int transition, const float factor, const bool clamp_points, int &r_curves_num, int &r_points_num) |
| static bke::CurvesGeometry | build_concurrent (bke::greasepencil::Drawing &drawing, bke::CurvesGeometry &curves, const IndexMask &selection, const int time_alignment, const int transition, const float factor, const float factor_start, const float factor_opacity, const float factor_radii, StringRefNull target_vgname) |
| static void | points_info_sequential (const bke::CurvesGeometry &curves, const IndexMask &selection, const int transition, const float factor, const bool clamp_points, int &r_curves_num, int &r_points_num) |
| static bke::CurvesGeometry | build_sequential (bke::greasepencil::Drawing &drawing, bke::CurvesGeometry &curves, const IndexMask &selection, const int transition, const float factor, const float factor_start, const float factor_opacity, const float factor_radii, StringRefNull target_vgname) |
| static bke::CurvesGeometry | reorder_strokes (const bke::CurvesGeometry &curves, const Span< bool > select, const Object &object, MutableSpan< bool > r_selection) |
| static float | get_factor_from_draw_speed (const bke::CurvesGeometry &curves, const float time_elapsed, const float speed_fac, const float max_gap) |
| static float | get_build_factor (const GreasePencilBuildTimeMode time_mode, const int current_frame, const int start_frame, const int length, const float percentage, const bke::CurvesGeometry &curves, const float scene_fps, const float speed_fac, const float max_gap, const float fade) |
| static void | build_drawing (const GreasePencilBuildModifierData &mmd, const Object &ob, bke::greasepencil::Drawing &drawing, const bke::greasepencil::Drawing *previous_drawing, const int current_time, const float scene_fps) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, blender::bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | apply_color_factor (ColorGeometry4f &color, const ColorGeometry4f &material_color, const float3 factor) |
| static void | modify_stroke_color (Object &ob, const GreasePencilColorModifierData &cmd, bke::CurvesGeometry &curves, const IndexMask &curves_mask, const MutableSpan< ColorGeometry4f > vertex_colors) |
| static void | modify_fill_color (Object &ob, const GreasePencilColorModifierData &cmd, Drawing &drawing, const IndexMask &curves_mask) |
| static void | modify_drawing (ModifierData &md, const ModifierEvalContext &ctx, Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static int | floored_modulo (const int a, const int b) |
| static PatternInfo | get_pattern_info (const GreasePencilDashModifierData &dmd) |
| static int | find_dash_segment (const PatternInfo &pattern_info, const int index) |
| static void | foreach_dash (const PatternInfo &pattern_info, const IndexRange src_points, const bool cyclic, FunctionRef< void(IndexRange, bool, int, float, float)> fn) |
| static bke::CurvesGeometry | create_dashes (const PatternInfo &pattern_info, const bke::CurvesGeometry &src_curves, const IndexMask &curves_mask) |
| static void | modify_drawing (const GreasePencilDashModifierData &dmd, const ModifierEvalContext &ctx, const PatternInfo &pattern_info, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | segment_list_item_draw (uiList *, const bContext *, uiLayout *layout, PointerRNA *, PointerRNA *itemptr, int, PointerRNA *, const char *, int, int) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static float3 | calculate_plane (const float3 ¢er, const float3 &prev, const float3 &next) |
| static std::optional< float3 > | find_plane_intersection (const float3 &plane_point, const float3 &plane_normal, const float3 &from, const float3 &to) |
| static float | calc_min_radius_v3v3 (const float3 &p1, const float3 &p2, const float3 &dir) |
| static float | calc_radius_limit (const Span< float3 > positions, const bool is_cyclic, const int spread, const int point, const float3 &direction) |
| static bool | find_envelope (const Span< float3 > positions, const bool is_cyclic, const int spread, const int point, float3 &r_center, float &r_radius) |
| static void | deform_drawing_as_envelope (const GreasePencilEnvelopeModifierData &emd, bke::greasepencil::Drawing &drawing, const IndexMask &curves_mask) |
| static EnvelopeInfo | get_envelope_info (const GreasePencilEnvelopeModifierData &emd, const ModifierEvalContext &ctx) |
| static int | curve_spread (const EnvelopeInfo &info, const int point_num, const bool is_cyclic_curve) |
| static int | curve_envelope_strokes_num (const EnvelopeInfo &info, const int point_num, const bool is_cyclic_curve) |
| static void | create_envelope_stroke_for_point (const IndexRange src_curve_points, const bool src_curve_cyclic, const int point, const int spread, const int base_length, const MutableSpan< int > point_src_indices) |
| static void | create_envelope_strokes_for_curve (const EnvelopeInfo &info, const int src_curve_index, const IndexRange src_curve_points, const bool src_curve_cyclic, const VArray< int > &src_material_indices, const IndexRange dst_points, const MutableSpan< int > curve_offsets, const MutableSpan< int > material_indices, const MutableSpan< int > curve_src_indices, const MutableSpan< int > point_src_indices) |
| static void | create_envelope_strokes (const EnvelopeInfo &info, bke::greasepencil::Drawing &drawing, const IndexMask &curves_mask, const bool keep_original) |
| static void | modify_drawing (const GreasePencilEnvelopeModifierData &emd, const ModifierEvalContext &ctx, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static float | hook_falloff (const float falloff, const int falloff_type, const float falloff_sq, const float fac_orig, const CurveMapping *curfalloff, const float len_sq) |
| static void | deform_drawing (const ModifierData &md, const Object &ob, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static void | modify_curves (ModifierData *md, const ModifierEvalContext *ctx, const LatticeDeformData &cache_data, Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, int flags) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static Array< float > | noise_table (int len, int offset, int seed) |
| static float | table_sample (MutableSpan< float > table, float x) |
| static void | deform_drawing (const ModifierData &md, const Object &ob, bke::greasepencil::Drawing &drawing, const int current_time) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, blender::bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static float4x4 | get_mirror_matrix (const Object &ob, const GreasePencilMirrorModifierData &mmd, const bool mirror_x, const bool mirror_y, const bool mirror_z) |
| static bke::CurvesGeometry | create_mirror_copies (const Object &ob, const GreasePencilMirrorModifierData &mmd, const bke::CurvesGeometry &base_curves, const bke::CurvesGeometry &mirror_curves) |
| static void | modify_drawing (const GreasePencilMirrorModifierData &mmd, const ModifierEvalContext &ctx, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static bke::CurvesGeometry | duplicate_strokes (const bke::CurvesGeometry &curves, const IndexMask curves_mask, const IndexMask unselected_mask, const int count, int &r_original_point_count) |
| static void | generate_curves (GreasePencilMultiModifierData &mmd, const ModifierEvalContext &ctx, Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | free_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, int flag) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static bool | depends_on_time (Scene *, ModifierData *md) |
| static Array< float > | noise_table (const int len, const int offset, const int seed) |
| static void | deform_drawing (const GreasePencilNoiseModifierData &mmd, const Object &ob, const int ctime, const int start_frame_number, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | update_depsgraph (ModifierData *, const ModifierUpdateDepsgraphContext *ctx) |
| static void | apply_stroke_transform (const GreasePencilOffsetModifierData &omd, const VArray< float > &weights, const IndexRange &points, const float3 &loc_factor, const float3 &rot_factor, const float3 &scale_factor, const MutableSpan< float3 > positions, const MutableSpan< float > radii) |
| static void | modify_stroke_random (const Object &ob, const GreasePencilOffsetModifierData &omd, const IndexMask &curves_mask, bke::CurvesGeometry &curves) |
| static float | get_factor_from_index (const GreasePencilOffsetModifierData &omd, const int size, const int index) |
| static void | modify_stroke_by_index (const GreasePencilOffsetModifierData &omd, const IndexMask &curves_mask, bke::CurvesGeometry &curves) |
| static void | modify_stroke_by_material (const Object &ob, const GreasePencilOffsetModifierData &omd, const IndexMask &curves_mask, bke::CurvesGeometry &curves) |
| static void | modify_stroke_by_layer (const GreasePencilOffsetModifierData &omd, const int layer_index, const int layers_num, const IndexMask &curves_mask, bke::CurvesGeometry &curves) |
| static void | modify_drawing (const ModifierData &md, const ModifierEvalContext &ctx, bke::greasepencil::Drawing &drawing) |
| static void | modify_drawing_by_layer (const ModifierData &md, const ModifierEvalContext &ctx, bke::greasepencil::Drawing &drawing, int layer_index, int layers_num) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | modify_stroke_color (const GreasePencilOpacityModifierData &omd, bke::CurvesGeometry &curves, const IndexMask &curves_mask) |
| static void | modify_fill_color (const GreasePencilOpacityModifierData &omd, bke::CurvesGeometry &curves, const IndexMask &curves_mask) |
| static void | modify_softness (const GreasePencilOpacityModifierData &omd, bke::CurvesGeometry &curves, const IndexMask &curves_mask) |
| static void | modify_curves (ModifierData *md, const ModifierEvalContext *ctx, bke::CurvesGeometry &curves) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static bke::CurvesGeometry | reorder_cyclic_curve_points (const bke::CurvesGeometry &src_curves, const IndexMask &curve_selection, const Span< int > curve_offsets) |
| static int | find_closest_point (const Span< float3 > positions, const float3 &target) |
| static void | modify_drawing (const GreasePencilOutlineModifierData &omd, const ModifierEvalContext &ctx, bke::greasepencil::Drawing &drawing, const float4x4 &viewmat) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static void | modify_drawing (const GreasePencilShrinkwrapModifierData &smd, const ModifierEvalContext &ctx, bke::greasepencil::Drawing &drawing) |
| static void | ensure_shrinkwrap_cache_data (GreasePencilShrinkwrapModifierData &smd, const ModifierEvalContext &ctx) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | free_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, int flag) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static IndexMask | simplify_fixed (const bke::CurvesGeometry &curves, const int step, IndexMaskMemory &memory) |
| static void | simplify_drawing (const GreasePencilSimplifyModifierData &mmd, const Object &ob, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | deform_drawing (const ModifierData &md, const Object &ob, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | init_data (ModifierData *md) |
| static void | free_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, int flag) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | subdivide_drawing (ModifierData &md, Object &ob, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | write_stroke_transforms (bke::greasepencil::Drawing &drawing, const IndexMask &curves_mask, const float offset, const float rotation, const float scale, const bool normalize_u) |
| static float2 | rotate_by_angle (const float2 &p, const float angle) |
| static void | get_legacy_stroke_matrix (const Span< float3 > positions, float3x4 &stroke_to_layer, float4x3 &layer_to_stroke) |
| static void | write_fill_transforms (bke::greasepencil::Drawing &drawing, const IndexMask &curves_mask, const float2 &offset, const float rotation, const float scale) |
| static void | modify_curves (const GreasePencilTextureModifierData &tmd, const ModifierEvalContext &ctx, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | deform_drawing (const ModifierData &md, const Object &ob, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static const IndexRange | find_key_range (const Span< int > sorted_keys, const FrameRange &frame_range) |
| static void | calculate_repetitions (const TimeMapping &mapping, const FrameRange &gp_src, const FrameRange &scene_dst, int &r_start, int &r_count) |
| static void | insert_keys_forward (const TimeMapping &mapping, const Map< int, GreasePencilFrame > &frames, const Span< int > sorted_keys, const FrameRange gp_src_range, const FrameRange gp_dst_range, Map< int, GreasePencilFrame > &dst_frames) |
| static void | insert_keys_reverse (const TimeMapping &mapping, const Map< int, GreasePencilFrame > &frames, const Span< int > sorted_keys, const FrameRange gp_src_range, const FrameRange gp_dst_range, Map< int, GreasePencilFrame > &dst_frames) |
| static void | fill_scene_range_fixed (const TimeMapping &mapping, const Map< int, GreasePencilFrame > &frames, const Span< int > sorted_keys, const int gp_src_frame, const FrameRange scene_dst_range, Map< int, GreasePencilFrame > &dst_frames) |
| static void | fill_scene_range_forward (const TimeMapping &mapping, const Map< int, GreasePencilFrame > &frames, const Span< int > sorted_keys, const FrameRange gp_src_range, const FrameRange scene_dst_range, Map< int, GreasePencilFrame > &dst_frames) |
| static void | fill_scene_range_reverse (const TimeMapping &mapping, const Map< int, GreasePencilFrame > &frames, const Span< int > sorted_keys, const FrameRange gp_src_range, const FrameRange scene_dst_range, Map< int, GreasePencilFrame > &dst_frames) |
| static void | fill_scene_range_ping_pong (const TimeMapping &mapping, const Map< int, GreasePencilFrame > &frames, const Span< int > sorted_keys, const FrameRange gp_src_range, const FrameRange scene_dst_range, Map< int, GreasePencilFrame > &dst_frames) |
| static void | fill_scene_range_chain (const TimeMapping &mapping, const Map< int, GreasePencilFrame > &frames, const Span< int > sorted_keys, const Span< GreasePencilTimeModifierSegment > segments, const FrameRange gp_src_range, const FrameRange scene_dst_range, Map< int, GreasePencilFrame > &dst_frames) |
| static void | fill_scene_timeline (const GreasePencilTimeModifierData &tmd, const Scene &eval_scene, const Map< int, GreasePencilFrame > &frames, const Span< int > sorted_keys, const FrameRange scene_dst_range, Map< int, GreasePencilFrame > &dst_frames) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | segment_list_item_draw (uiList *, const bContext *, uiLayout *layout, PointerRNA *, PointerRNA *itemptr, int, PointerRNA *, const char *, int, int) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static ColorGeometry4f | get_base_color (const ColorGeometry4f &input_color, const ColorGeometry4f &material_color) |
| static ColorGeometry4f | apply_uniform_tint (const GreasePencilTintModifierData &tmd, const ColorGeometry4f &input_color, const float factor) |
| static ColorGeometry4f | apply_gradient_tint (const GreasePencilTintModifierData &tmd, const float4x4 &matrix, const float3 &position, const ColorGeometry4f &input_color, const float factor) |
| static void | modify_stroke_color (Object &ob, const GreasePencilTintModifierData &tmd, bke::CurvesGeometry &curves, const IndexMask &curves_mask, const MutableSpan< ColorGeometry4f > vertex_colors) |
| static void | modify_fill_color (Object &ob, const GreasePencilTintModifierData &tmd, Drawing &drawing, const IndexMask &curves_mask) |
| static void | modify_opacity (const GreasePencilTintModifierData &tmd, bke::CurvesGeometry &curves, const IndexMask &curves_mask) |
| static void | modify_curves (ModifierData &md, const ModifierEvalContext &ctx, Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static int | ensure_vertex_group (const StringRefNull name, ListBase &vertex_group_names) |
| static bool | target_vertex_group_available (const StringRefNull name, const ListBase &vertex_group_names) |
| static void | write_weights_for_drawing (const ModifierData &md, const Object &ob, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static float | get_distance_factor (float3 target_pos, const float4x4 &obmat, float3 pos, const float dist_min, const float dist_max) |
| static int | ensure_vertex_group (const StringRefNull name, ListBase &vertex_group_names) |
| static bool | target_vertex_group_available (const StringRefNull name, const ListBase &vertex_group_names) |
| static void | write_weights_for_drawing (const ModifierData &md, const Object &ob, bke::greasepencil::Drawing &drawing) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static bool | is_first_lineart (const GreasePencilLineartModifierData &md) |
| static bool | is_last_line_art (const GreasePencilLineartModifierData &md, const bool use_render) |
| static void | init_data (ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| static void | free_data (ModifierData *md) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static void | add_this_collection (Collection &collection, const ModifierUpdateDepsgraphContext *ctx, const int mode, Set< const Object * > &object_dependencies) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | panel_draw (const bContext *, Panel *panel) |
| static void | edge_types_panel_draw (const bContext *, Panel *panel) |
| static void | options_light_reference_draw (const bContext *, Panel *panel) |
| static void | options_panel_draw (const bContext *, Panel *panel) |
| static void | occlusion_panel_draw (const bContext *, Panel *panel) |
| static bool | anything_showing_through (PointerRNA *ptr) |
| static void | material_mask_panel_draw_header (const bContext *, Panel *panel) |
| static void | material_mask_panel_draw (const bContext *, Panel *panel) |
| static void | intersection_panel_draw (const bContext *, Panel *panel) |
| static void | face_mark_panel_draw_header (const bContext *, Panel *panel) |
| static void | face_mark_panel_draw (const bContext *, Panel *panel) |
| static void | chaining_panel_draw (const bContext *, Panel *panel) |
| static void | vgroup_panel_draw (const bContext *, Panel *panel) |
| static void | bake_panel_draw (const bContext *, Panel *panel) |
| static void | composition_panel_draw (const bContext *, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | generate_strokes (ModifierData &md, const ModifierEvalContext &ctx, GreasePencil &grease_pencil, GreasePencilLineartModifierData &first_lineart, const bool force_compute) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *, ModifierData *md) |
| static void | init_data (ModifierData *md) |
| static void | find_used_ids_from_settings (const NodesModifierSettings &settings, Set< ID * > &ids) |
| static void | add_collection_relation (const ModifierUpdateDepsgraphContext *ctx, Collection &collection) |
| static void | add_object_relation (const ModifierUpdateDepsgraphContext *ctx, Object &object) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| static bool | check_tree_for_time_node (const bNodeTree &tree, Set< const bNodeTree * > &checked_groups) |
| static bool | depends_on_time (Scene *, ModifierData *md) |
| static void | foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | foreach_tex_link (ModifierData *md, Object *ob, TexWalkFunc walk, void *user_data) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static bool | logging_enabled (const ModifierEvalContext *ctx) |
| static void | update_id_properties_from_node_group (NodesModifierData *nmd) |
| static void | remove_outdated_bake_caches (NodesModifierData &nmd) |
| static void | update_bakes_from_node_group (NodesModifierData &nmd) |
| static void | update_panels_from_node_group (NodesModifierData &nmd) |
| static void | try_add_side_effect_node (const ComputeContext &final_compute_context, const int final_node_id, const NodesModifierData &nmd, nodes::GeoNodesSideEffectNodes &r_side_effect_nodes) |
| static void | find_side_effect_nodes_for_viewer_path (const ViewerPath &viewer_path, const NodesModifierData &nmd, const ModifierEvalContext &ctx, nodes::GeoNodesSideEffectNodes &r_side_effect_nodes) |
| static void | find_side_effect_nodes_for_nested_node (const NodesModifierData &nmd, const int root_nested_node_id, nodes::GeoNodesSideEffectNodes &r_side_effect_nodes) |
| static void | find_side_effect_nodes_for_baking (const NodesModifierData &nmd, const ModifierEvalContext &ctx, nodes::GeoNodesSideEffectNodes &r_side_effect_nodes) |
| static void | find_side_effect_nodes_for_active_gizmos (const NodesModifierData &nmd, const ModifierEvalContext &ctx, const wmWindowManager &wm, nodes::GeoNodesSideEffectNodes &r_side_effect_nodes, Set< ComputeContextHash > &r_socket_log_contexts) |
| static void | find_side_effect_nodes (const NodesModifierData &nmd, const ModifierEvalContext &ctx, nodes::GeoNodesSideEffectNodes &r_side_effect_nodes, Set< ComputeContextHash > &r_socket_log_contexts) |
| static void | find_socket_log_contexts (const NodesModifierData &nmd, const ModifierEvalContext &ctx, Set< ComputeContextHash > &r_socket_log_contexts) |
| static void | check_property_socket_sync (const Object *ob, ModifierData *md) |
| static BakeFrameIndices | get_bake_frame_indices (const Span< std::unique_ptr< bake::FrameCache > > frame_caches, const SubFrame frame) |
| static void | ensure_bake_loaded (bake::NodeBakeCache &bake_cache, bake::FrameCache &frame_cache) |
| static bool | try_find_baked_data (const NodesModifierBake &bake, bake::NodeBakeCache &bake_cache, const Main &bmain, const Object &object, const NodesModifierData &nmd, const int id) |
| static void | add_missing_data_block_mappings (NodesModifierBake &bake, const Span< bake::BakeDataBlockID > missing, FunctionRef< ID *(const bake::BakeDataBlockID &)> get_data_block) |
| void | nodes_modifier_data_block_destruct (NodesModifierDataBlock *data_block, const bool do_id_user) |
| static void | add_data_block_items_writeback (const ModifierEvalContext &ctx, NodesModifierData &nmd_eval, NodesModifierData &nmd_orig, NodesModifierSimulationParams &simulation_params, NodesModifierBakeParams &bake_params) |
| static void | modifyGeometry (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet &geometry_set) |
| static Mesh * | modify_mesh (ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh) |
| static void | modify_geometry_set (ModifierData *md, const ModifierEvalContext *ctx, bke::GeometrySet *geometry_set) |
| BLI_STATIC_ASSERT (std::is_trivially_destructible_v< AttributeSearchData >, "") | |
| static NodesModifierData * | get_modifier_data (Main &bmain, const wmWindowManager &wm, const AttributeSearchData &data) |
| static geo_log::GeoTreeLog * | get_root_tree_log (const NodesModifierData &nmd) |
| static void | attribute_search_update_fn (const bContext *C, void *arg, const char *str, uiSearchItems *items, const bool is_first) |
| static void | attribute_search_exec_fn (bContext *C, void *data_v, void *item_v) |
| static void | add_attribute_search_button (const bContext &C, uiLayout *layout, const NodesModifierData &nmd, PointerRNA *md_ptr, const StringRefNull rna_path_attribute_name, const bNodeTreeInterfaceSocket &socket, const bool is_output) |
| static void | add_attribute_search_or_value_buttons (const bContext &C, uiLayout *layout, const NodesModifierData &nmd, PointerRNA *md_ptr, const bNodeTreeInterfaceSocket &socket) |
| static void | draw_property_for_socket (const bContext &C, uiLayout *layout, NodesModifierData *nmd, PointerRNA *bmain_ptr, PointerRNA *md_ptr, const bNodeTreeInterfaceSocket &socket) |
| static void | draw_property_for_output_socket (const bContext &C, uiLayout *layout, const NodesModifierData &nmd, PointerRNA *md_ptr, const bNodeTreeInterfaceSocket &socket) |
| static NodesModifierPanel * | find_panel_by_id (NodesModifierData &nmd, const int id) |
| static bool | interace_panel_has_socket (const bNodeTreeInterfacePanel &interface_panel) |
| static void | draw_interface_panel_content (const bContext *C, uiLayout *layout, PointerRNA *modifier_ptr, NodesModifierData &nmd, const bNodeTreeInterfacePanel &interface_panel) |
| static bool | has_output_attribute (const NodesModifierData &nmd) |
| static void | draw_output_attributes_panel (const bContext *C, uiLayout *layout, const NodesModifierData &nmd, PointerRNA *ptr) |
| static void | draw_bake_panel (uiLayout *layout, PointerRNA *modifier_ptr) |
| static void | draw_named_attributes_panel (uiLayout *layout, NodesModifierData &nmd) |
| static void | draw_manage_panel (const bContext *C, uiLayout *layout, PointerRNA *modifier_ptr, NodesModifierData &nmd) |
| static void | draw_warnings (const bContext *C, const NodesModifierData &nmd, uiLayout *layout, PointerRNA *md_ptr) |
| static void | panel_draw (const bContext *C, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
| static void | blend_write (BlendWriter *writer, const ID *, const ModifierData *md) |
| static void | blend_read (BlendDataReader *reader, ModifierData *md) |
| static void | copy_data (const ModifierData *md, ModifierData *target, const int flag) |
| void | nodes_modifier_packed_bake_free (NodesModifierPackedBake *packed_bake) |
| static void | free_data (ModifierData *md) |
| static void | required_data_mask (ModifierData *, CustomData_MeshMasks *r_cddata_masks) |
Constexpr Utility Functions | |
Those should eventually be de-duplicated with functions in BLI_math_base.h. | |
| template<typename IntT > | |
| constexpr IntT | ceil_division (const IntT x, const IntT y) |
| template<typename IntT > | |
| constexpr IntT | floor_division (const IntT x, const IntT y) |
| constexpr int64_t | ceil_division_by_fraction (const int64_t x, const int64_t numerator, const int64_t denominator) |
| constexpr int64_t | floor_multiplication_with_fraction (const int64_t x, const int64_t numerator, const int64_t denominator) |
| constexpr int64_t | total_slot_amount_for_usable_slots (const int64_t min_usable_slots, const int64_t max_load_factor_numerator, const int64_t max_load_factor_denominator) |
#StringRefBase Inline Methods | |
| constexpr int64_t | index_or_npos_to_int64 (size_t index) |
Operator Overloads | |
| std::ostream & | operator<< (std::ostream &stream, StringRef ref) |
| std::ostream & | operator<< (std::ostream &stream, StringRefNull ref) |
| std::string | operator+ (StringRef a, StringRef b) |
| constexpr bool | operator== (StringRef a, StringRef b) |
| constexpr bool | operator!= (StringRef a, StringRef b) |
| constexpr bool | operator< (StringRef a, StringRef b) |
| constexpr bool | operator> (StringRef a, StringRef b) |
| constexpr bool | operator<= (StringRef a, StringRef b) |
| constexpr bool | operator>= (StringRef a, StringRef b) |
Formatting | |
| std::string_view | format_as (StringRef str) |
Variables | |
| template<typename T > | |
| constexpr bool | is_trivial_extended_v = std::is_trivial_v<T> |
| template<typename T > | |
| constexpr bool | is_trivially_destructible_extended_v |
| template<typename T > | |
| constexpr bool | is_trivially_copy_constructible_extended_v |
| template<typename T > | |
| constexpr bool | is_trivially_move_constructible_extended_v |
| template<typename From , typename To > | |
| constexpr bool | is_convertible_pointer_v |
| template<typename From , typename To > | |
| constexpr bool | is_span_convertible_pointer_v |
| template<typename T , typename... Args> | |
| constexpr bool | is_same_any_v = (std::is_same_v<T, Args> || ...) |
| template<typename T > | |
| constexpr bool | is_trivial_extended_v< VArrayImpl_For_Span_final< T > > = true |
| template<typename T > | |
| constexpr bool | is_trivial_extended_v< VArrayImpl_For_Single< T > > = is_trivial_extended_v<T> |
| template<typename StructT , typename ElemT , ElemT(*)(const StructT &) GetFunc, void(*)(StructT &, ElemT) SetFunc> | |
| constexpr bool | is_trivial_extended_v< VArrayImpl_For_DerivedSpan< StructT, ElemT, GetFunc, SetFunc > > = true |
| template<typename T > | |
| static constexpr bool | is_VArray_v = false |
| template<typename T > | |
| static constexpr bool | is_VArray_v< VArray< T > > = true |
| template<typename T > | |
| static constexpr bool | is_VMutableArray_v = false |
| template<typename T > | |
| static constexpr bool | is_VMutableArray_v< VMutableArray< T > > = true |
| static const float | unlimited_radius = FLT_MAX |
| static const CustomData_MeshMasks | dependency_data_mask |
#GVArrayImpl_For_GSpan. | |
| template<> | |
| constexpr bool | is_trivial_extended_v< GVArrayImpl_For_GSpan_final > = true |
#GVArrayImpl_For_SingleValueRef. | |
| template<> | |
| constexpr bool | is_trivial_extended_v< GVArrayImpl_For_SingleValueRef_final > = true |
A #CacheMutex is used to protect a lazily computed cache from being computed more than once. Using #CacheMutex instead of a "raw mutex" to protect a cache has some benefits:
The data protected by #CacheMutex is not part of #CacheMutex. Instead, the #CacheMutex and its protected data should generally be placed next to each other.
Each #CacheMutex protects exactly one cache, so multiple cache mutexes have to be used when a class has multiple caches. That is contrary to a "custom" solution using std::mutex where one mutex could protect multiple caches at the cost of higher lock contention.
To make sure the cache is up to date, call CacheMutex::ensure and pass in the function that computes the cache.
To tell the #CacheMutex that the cache is invalidated and to be re-evaluated upon next access use CacheMutex::tag_dirty.
This example shows how one could implement a lazily computed average vertex position in an imaginary Mesh data structure:
Possible future improvements:
| using blender::as_uint_type |
Definition at line 24 of file BLI_math_vector_types.hh.
| using blender::char2 = blender::VecBase<int8_t, 2> |
Definition at line 587 of file BLI_math_vector_types.hh.
| using blender::char3 = blender::VecBase<int8_t, 3> |
Definition at line 588 of file BLI_math_vector_types.hh.
| using blender::char4 = blender::VecBase<int8_t, 4> |
Definition at line 589 of file BLI_math_vector_types.hh.
Definition at line 338 of file BLI_color.hh.
Definition at line 337 of file BLI_color.hh.
Definition at line 340 of file BLI_color.hh.
Definition at line 339 of file BLI_color.hh.
| using blender::ColorTheme4b = ColorTheme4<uint8_t> |
Definition at line 286 of file BLI_color.hh.
| using blender::ColorTheme4f = ColorTheme4<float> |
Definition at line 287 of file BLI_color.hh.
| using blender::ConstListBaseWrapper = ListBaseWrapperTemplate<const ListBase, const T> |
Definition at line 100 of file BLI_listbase_wrapper.hh.
Having a specified default is convenient.
Definition at line 203 of file BLI_probing_strategies.hh.
| using blender::destruct_ptr = std::unique_ptr<T, DestructValueAtAddress<T>> |
A destruct_ptr is like unique_ptr, but it will only call the destructor and will not free the memory. This is useful when using custom allocators.
Definition at line 113 of file BLI_memory_utils.hh.
| using blender::double2 = VecBase<double, 2> |
Definition at line 615 of file BLI_math_vector_types.hh.
| using blender::double2x2 = MatBase<double, 2, 2> |
Definition at line 1019 of file BLI_math_matrix_types.hh.
| using blender::double2x3 = MatBase<double, 2, 3> |
Definition at line 1020 of file BLI_math_matrix_types.hh.
| using blender::double2x4 = MatBase<double, 2, 4> |
Definition at line 1021 of file BLI_math_matrix_types.hh.
| using blender::double3 = VecBase<double, 3> |
Definition at line 616 of file BLI_math_vector_types.hh.
| using blender::double3x2 = MatBase<double, 3, 2> |
Definition at line 1022 of file BLI_math_matrix_types.hh.
| using blender::double3x3 = MatBase<double, 3, 3> |
Definition at line 1023 of file BLI_math_matrix_types.hh.
| using blender::double3x4 = MatBase<double, 3, 4> |
Definition at line 1024 of file BLI_math_matrix_types.hh.
| using blender::double4 = VecBase<double, 4> |
Definition at line 617 of file BLI_math_vector_types.hh.
| using blender::double4x2 = MatBase<double, 4, 2> |
Definition at line 1025 of file BLI_math_matrix_types.hh.
| using blender::double4x3 = MatBase<double, 4, 3> |
Definition at line 1026 of file BLI_math_matrix_types.hh.
| using blender::double4x4 = MatBase<double, 4, 4> |
Definition at line 1027 of file BLI_math_matrix_types.hh.
| using blender::float1 = VecBase<float, 1> |
Definition at line 610 of file BLI_math_vector_types.hh.
| using blender::float2 = VecBase<float, 2> |
Definition at line 611 of file BLI_math_vector_types.hh.
| using blender::float2x2 = MatBase<float, 2, 2> |
Definition at line 1004 of file BLI_math_matrix_types.hh.
| using blender::float2x3 = MatBase<float, 2, 3> |
Definition at line 1005 of file BLI_math_matrix_types.hh.
| using blender::float2x4 = MatBase<float, 2, 4> |
Definition at line 1006 of file BLI_math_matrix_types.hh.
| using blender::float3 = VecBase<float, 3> |
Definition at line 612 of file BLI_math_vector_types.hh.
| using blender::float3x2 = MatBase<float, 3, 2> |
Definition at line 1007 of file BLI_math_matrix_types.hh.
| using blender::float3x3 = MatBase<float, 3, 3> |
Definition at line 1008 of file BLI_math_matrix_types.hh.
| using blender::float3x4 = MatBase<float, 3, 4> |
Definition at line 1009 of file BLI_math_matrix_types.hh.
| using blender::float4 = VecBase<float, 4> |
Definition at line 613 of file BLI_math_vector_types.hh.
| using blender::float4x2 = MatBase<float, 4, 2> |
Definition at line 1010 of file BLI_math_matrix_types.hh.
| using blender::float4x3 = MatBase<float, 4, 3> |
Definition at line 1011 of file BLI_math_matrix_types.hh.
| using blender::float4x4 = MatBase<float, 4, 4> |
Definition at line 1012 of file BLI_math_matrix_types.hh.
| using blender::float4x4_mutableview = MutableMatView<float, 4, 4, 4, 4, 0, 0, alignof(float)> |
Definition at line 1017 of file BLI_math_matrix_types.hh.
| using blender::float4x4_view = MatView<float, 4, 4, 4, 4, 0, 0, alignof(float)> |
Definition at line 1016 of file BLI_math_matrix_types.hh.
| using blender::int2 = VecBase<int32_t, 2> |
Definition at line 594 of file BLI_math_vector_types.hh.
| using blender::int3 = VecBase<int32_t, 3> |
Definition at line 595 of file BLI_math_vector_types.hh.
| using blender::int4 = VecBase<int32_t, 4> |
Definition at line 596 of file BLI_math_vector_types.hh.
| using blender::IntegerSetSlot = IntrusiveSetSlot<Int, TemplatedKeyInfo<Int, EmptyValue, RemovedValue>> |
This exists just to make it more convenient to define which special integer values can be used to indicate an empty and removed value.
Definition at line 336 of file BLI_set_slots.hh.
| using blender::ListBaseWrapper = ListBaseWrapperTemplate<ListBase, T> |
Definition at line 99 of file BLI_listbase_wrapper.hh.
Utility to create a #ValueSequence that contains two different values. The indices of where the first value should be used are passed in.
Definition at line 119 of file BLI_parameter_pack_utils.hh.
Utility to create a #ValueSequence that has the same value at every index.
Definition at line 111 of file BLI_parameter_pack_utils.hh.
| using blender::RawMap |
Same as a normal Map, but does not use Blender's guarded allocator. This is useful when allocating memory with static storage duration.
Definition at line 1315 of file BLI_map.hh.
| using blender::RawSet = Set<Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, RawAllocator> |
Same as a normal Set, but does not use Blender's guarded allocator. This is useful when allocating memory with static storage duration.
Definition at line 901 of file BLI_set.hh.
| using blender::RawStack = Stack<T, InlineBufferCapacity, RawAllocator> |
Same as a normal Stack, but does not use Blender's guarded allocator. This is useful when allocating memory with static storage duration.
Definition at line 413 of file BLI_stack.hh.
| using blender::RawVector = Vector<T, InlineBufferCapacity, RawAllocator> |
Same as a normal Vector, but does not use Blender's guarded allocator. This is useful when allocating memory with static storage duration.
Definition at line 1024 of file BLI_vector.hh.
| using blender::RawVectorSet = VectorSet<Key, ProbingStrategy, Hash, IsEqual, Slot, RawAllocator> |
Same as a normal VectorSet, but does not use Blender's guarded allocator. This is useful when allocating memory with static storage duration.
Definition at line 896 of file BLI_vector_set.hh.
| using blender::short2 = blender::VecBase<int16_t, 2> |
Definition at line 602 of file BLI_math_vector_types.hh.
| using blender::short3 = blender::VecBase<int16_t, 3> |
Definition at line 603 of file BLI_math_vector_types.hh.
| using blender::short4 = blender::VecBase<int16_t, 4> |
Definition at line 604 of file BLI_math_vector_types.hh.
| using blender::uchar3 = blender::VecBase<uint8_t, 3> |
Definition at line 591 of file BLI_math_vector_types.hh.
| using blender::uchar4 = blender::VecBase<uint8_t, 4> |
Definition at line 592 of file BLI_math_vector_types.hh.
| using blender::uint2 = VecBase<uint32_t, 2> |
Definition at line 598 of file BLI_math_vector_types.hh.
| using blender::uint3 = VecBase<uint32_t, 3> |
Definition at line 599 of file BLI_math_vector_types.hh.
| using blender::uint4 = VecBase<uint32_t, 4> |
Definition at line 600 of file BLI_math_vector_types.hh.
| using blender::ushort2 = VecBase<uint16_t, 2> |
Definition at line 606 of file BLI_math_vector_types.hh.
| using blender::ushort3 = blender::VecBase<uint16_t, 3> |
Definition at line 607 of file BLI_math_vector_types.hh.
| using blender::ushort4 = blender::VecBase<uint16_t, 4> |
Definition at line 608 of file BLI_math_vector_types.hh.
Definition at line 163 of file BLI_implicit_sharing_ptr.hh.
|
strong |
CPP based color structures.
Strongly typed color storage structures with space and alpha association. Will increase readability and visibility of typical mistakes when working with colors.
The storage structs can hold 4 channels (r, g, b and a).
Usage:
Convert a theme byte color to a linearrgb premultiplied.
The API is structured to make most use of inlining. Most notable are space conversions done via BLI_color_convert_to* functions.
BLI_color_convert_to* methods.encode and decode methods.premultiply_alpha or unpremultiply_alpha methods.Color encoding is used to store colors with less precision as in using uint8_t in stead of float. This encoding is supported for eSpace::SceneLinear. To make this clear to the developer the eSpace::SceneLinearByteEncoded space is added.
Colors can be stored using uint8_t or float colors. The conversion between the two precisions are available as methods. (to_4b and to_4f).
Alpha conversion is only supported in SceneLinear space.
Extending this file:
ColorHex/Hsl/Hsv for different representations of rgb based colors. ColorHsl4f<eSpace::SceneLinear, eAlpha::Premultiplied>| Enumerator | |
|---|---|
| Straight | Color and alpha are unassociated. |
| Premultiplied | Color and alpha are associated. |
Definition at line 66 of file BLI_color.hh.
|
strong |
Enumeration containing internal spaces.
Definition at line 75 of file BLI_color.hh.
|
static |
Definition at line 2013 of file MOD_nodes.cc.
References add_attribute_search_button(), attribute_search_exec_fn(), attribute_search_update_fn(), BLI_assert, blender::StringRefNull::c_str(), bNodeTreeInterfaceSocket::description, bNodeTreeInterfaceSocket::identifier, MEM_freeN(), NodesModifierData::modifier, ModifierData::name, RNA_string_get_alloc(), NodesModifierData::runtime, STRNCPY, UI_BTYPE_SEARCH_MENU, UI_but_flag_enable(), UI_but_func_search_set(), UI_but_func_search_set_results_are_suggestions(), UI_but_func_search_set_sep_string(), UI_BUT_REDALERT, UI_ITEM_NONE, UI_MENU_ARROW_SEP, UI_UNIT_X, UI_UNIT_Y, uiDefIconTextButR(), uiItemR(), and uiLayoutGetBlock().
Referenced by add_attribute_search_button(), add_attribute_search_or_value_buttons(), and draw_property_for_output_socket().
|
static |
Definition at line 2075 of file MOD_nodes.cc.
References add_attribute_search_button(), add_attribute_search_or_value_buttons(), BLI_str_escape(), bNodeTreeInterfaceSocket::identifier, IFACE_, MAX_NAME, NodesModifierData::modifier, bNodeTreeInterfaceSocket::name, ModifierData::name, NodesModifierSettings::properties, RNA_string_set(), NodesModifierData::settings, SOCK_BOOLEAN, SOCK_CUSTOM, blender::bke::bNodeSocketType::type, UI_ITEM_NONE, UI_LAYOUT_ALIGN_EXPAND, UI_LAYOUT_ALIGN_RIGHT, uiItemDecoratorR(), uiItemFullO(), uiItemL(), uiItemR(), uiLayoutRow(), uiLayoutSetAlignment(), uiLayoutSetPropDecorate(), uiLayoutSetPropSep(), uiLayoutSplit(), and WM_OP_INVOKE_DEFAULT.
Referenced by add_attribute_search_or_value_buttons(), and draw_property_for_socket().
|
static |
Definition at line 138 of file MOD_nodes.cc.
References add_collection_relation(), DEG_add_collection_geometry_customdata_mask(), DEG_add_collection_geometry_relation(), dependency_data_mask, and ModifierUpdateDepsgraphContext::node.
Referenced by add_collection_relation(), add_object_relation(), and update_depsgraph().
|
static |
During evaluation we might have baked geometry that contains references to other data-blocks (such as materials). We need to make sure that those data-blocks stay dependencies of the modifier. Otherwise, the data-block references might not work when the baked data is loaded again. Therefor, the dependencies are written back to the original modifier.
Definition at line 1640 of file MOD_nodes.cc.
References blender::deg::sync_writeback::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::bke::bake::BakeNodeCache::bake, data, blender::NodesModifierBakeParams::data_by_node_id, blender::NodesModifierSimulationParams::data_by_zone_id, DEG_get_bmain(), depsgraph, ModifierEvalContext::depsgraph, blender::bke::bake::NodeBakeCache::frames, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), ModifierEvalContext::object, and NodesModifierData::runtime.
Referenced by modifyGeometry().
|
static |
Definition at line 1599 of file MOD_nodes.cc.
References BLI_strdup(), NodesModifierDataBlock::id, blender::bke::bake::BakeDataBlockID::id_name, NodesModifierDataBlock::id_name, NodesModifierDataBlock::id_type, blender::Span< T >::index_range(), int, blender::bke::bake::BakeDataBlockID::lib_name, NodesModifierDataBlock::lib_name, MEM_recallocN, blender::Span< T >::size(), and blender::bke::bake::BakeDataBlockID::type.
|
static |
Definition at line 145 of file MOD_nodes.cc.
References add_collection_relation(), add_object_relation(), DEG_add_customdata_mask(), DEG_add_object_relation(), DEG_OB_COMP_GEOMETRY, DEG_OB_COMP_TRANSFORM, DEG_object_has_geometry_component(), dependency_data_mask, Object::id, ModifierUpdateDepsgraphContext::node, OB_EMPTY, and ModifierUpdateDepsgraphContext::object.
Referenced by add_object_relation(), and update_depsgraph().
|
static |
Definition at line 139 of file MOD_lineart.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), add_this_collection(), COLLECTION_LRT_EXCLUDE, DEG_add_object_relation(), DEG_OB_COMP_GEOMETRY, DEG_OB_COMP_TRANSFORM, ELEM, FOREACH_COLLECTION_VISIBLE_OBJECT_RECURSIVE_BEGIN, FOREACH_COLLECTION_VISIBLE_OBJECT_RECURSIVE_END, ModifierUpdateDepsgraphContext::node, OB_CURVES_LEGACY, OB_DUPLICOLLECTION, OB_EMPTY, OB_FONT, OB_MBALL, OB_MESH, OB_SURF, OBJECT_LRT_EXCLUDE, and OBJECT_LRT_INHERIT.
Referenced by add_this_collection(), and update_depsgraph().
|
static |
Definition at line 475 of file MOD_lineart.cc.
References ptr, RNA_boolean_get(), and RNA_int_get().
Referenced by material_mask_panel_draw(), and material_mask_panel_draw_header().
|
static |
Definition at line 82 of file MOD_grease_pencil_color.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, clamp_f(), fractf(), hsv_to_rgb_v(), and rgb_to_hsv_v().
Referenced by modify_fill_color(), and modify_stroke_color().
|
static |
Definition at line 142 of file MOD_grease_pencil_tint.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, BKE_colorband_evaluate(), GreasePencilTintModifierData::color_ramp, GreasePencilTintModifierData::factor, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::math::interpolate(), blender::math::length(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, GreasePencilTintModifierData::radius, blender::math::safe_divide(), blender::math::transform_point(), and blender::VecBase< T, Size >::xyz().
Referenced by modify_fill_color(), and modify_stroke_color().
|
static |
Definition at line 80 of file MOD_grease_pencil_offset.cc.
References blender::math::abs(), blender::math::from_loc_rot_scale(), blender::math::is_zero(), GreasePencilOffsetModifierData::loc, pos, GreasePencilOffsetModifierData::rot, GreasePencilOffsetModifierData::scale, GreasePencilOffsetModifierData::stroke_loc, GreasePencilOffsetModifierData::stroke_rot, GreasePencilOffsetModifierData::stroke_scale, and blender::math::transform_point().
Referenced by modify_stroke_by_index(), modify_stroke_by_layer(), modify_stroke_by_material(), and modify_stroke_random().
|
static |
Definition at line 132 of file MOD_grease_pencil_tint.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, GreasePencilTintModifierData::color, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::math::interpolate(), and blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r.
Referenced by modify_fill_color(), and modify_stroke_color().
Returns true if the value is different and was assigned.
Definition at line 373 of file BLI_memory_utils.hh.
References assign_if_different().
Referenced by assign_if_different(), blender::eevee::LightModule::begin_sync(), blender::eevee::VolumeModule::end_sync(), blender::draw::image_engine::TextureInfo::ensure_gpu_texture(), blender::draw::command::ShaderBind::execute(), blender::draw::command::StateSet::execute(), blender::draw::command::RecordingState::front_facing_set(), GPU_shader_constant_bool_ex(), GPU_shader_constant_float_ex(), GPU_shader_constant_int_ex(), GPU_shader_constant_uint_ex(), blender::eevee::Camera::init(), blender::eevee::Instance::init(), blender::eevee::ShadowModule::init(), blender::eevee::VolumeProbeModule::init(), blender::workbench::SceneState::init(), blender::eevee::ShadowModule::set_view(), blender::eevee::Light::sync(), blender::eevee::LookdevWorld::sync(), blender::eevee::World::sync(), blender::gpu::VKContext::sync_backbuffer(), blender::gpu::VKDescriptorSetTracker::update_descriptor_set(), blender::gpu::render_graph::vk_index_buffer_binding_build_commands(), blender::gpu::render_graph::vk_pipeline_data_build_commands(), and blender::gpu::render_graph::vk_vertex_buffer_bindings_build_commands().
|
static |
Definition at line 1992 of file MOD_nodes.cc.
References attribute_search_exec_fn(), CTX_data_main(), CTX_wm_manager(), ED_undo_push(), get_modifier_data(), IDP_AssignString(), IDP_GetPropertyFromGroup(), IDProperty::name, NodesModifierSettings::properties, and NodesModifierData::settings.
Referenced by add_attribute_search_button(), and attribute_search_exec_fn().
|
static |
Definition at line 1937 of file MOD_nodes.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), attribute_search_update_fn(), CTX_data_main(), CTX_wm_manager(), blender::nodes::geo_eval_log::GeoTreeLog::ensure_existing_attributes(), blender::nodes::geo_eval_log::GeoTreeLog::find_socket_value_log(), get_modifier_data(), get_root_tree_log(), NodesModifierData::node_group, SOCK_GEOMETRY, and str.
Referenced by add_attribute_search_button(), and attribute_search_update_fn().
Definition at line 676 of file MOD_lineart.cc.
References col, IFACE_, Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_R_TOGGLE, uiItemBooleanO(), uiItemL(), uiItemO(), uiItemR(), uiLayoutColumn(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 894 of file MOD_lineart.cc.
References GreasePencilLineartModifierData::runtime.
|
static |
Definition at line 203 of file MOD_grease_pencil_armature.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 356 of file MOD_grease_pencil_array.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 97 of file MOD_grease_pencil_build.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 247 of file MOD_grease_pencil_color.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 479 of file MOD_grease_pencil_dash.cc.
References BLO_read_struct_array, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 728 of file MOD_grease_pencil_envelope.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 102 of file MOD_grease_pencil_hook.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 190 of file MOD_grease_pencil_lattice.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 85 of file MOD_grease_pencil_length.cc.
References GreasePencilLengthModifierData::influence, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 239 of file MOD_grease_pencil_mirror.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 288 of file MOD_grease_pencil_multiply.cc.
|
static |
Definition at line 71 of file MOD_grease_pencil_noise.cc.
References GreasePencilNoiseModifierData::influence, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 456 of file MOD_grease_pencil_offset.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 280 of file MOD_grease_pencil_opacity.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 313 of file MOD_grease_pencil_outline.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 325 of file MOD_grease_pencil_shrinkwrap.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 74 of file MOD_grease_pencil_simplify.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 82 of file MOD_grease_pencil_smooth.cc.
References GreasePencilSmoothModifierData::influence, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 72 of file MOD_grease_pencil_subdiv.cc.
References GreasePencilSubdivModifierData::influence, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 356 of file MOD_grease_pencil_texture.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 80 of file MOD_grease_pencil_thickness.cc.
References GreasePencilThickModifierData::influence, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 661 of file MOD_grease_pencil_time.cc.
References BLO_read_struct_array, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 457 of file MOD_grease_pencil_tint.cc.
References BLO_read_struct, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 95 of file MOD_grease_pencil_weight_angle.cc.
References GreasePencilWeightAngleModifierData::influence, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 104 of file MOD_grease_pencil_weight_proximity.cc.
References GreasePencilWeightProximityModifierData::influence, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 2599 of file MOD_nodes.cc.
References NodesModifierData::bake_directory, NodesModifierData::bakes, NodesModifierData::bakes_num, BKE_packedfile_blend_read(), BLI_assert_unreachable, BLO_read_string(), BLO_read_struct, BLO_read_struct_array, IDP_BlendDataRead, NodesModifierData::node_group, NodesModifierData::panels, NodesModifierData::panels_num, NodesModifierSettings::properties, NodesModifierData::runtime, and NodesModifierData::settings.
|
static |
Definition at line 195 of file MOD_grease_pencil_armature.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 348 of file MOD_grease_pencil_array.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 89 of file MOD_grease_pencil_build.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 239 of file MOD_grease_pencil_color.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 468 of file MOD_grease_pencil_dash.cc.
References BLO_write_struct, BLO_write_struct_array, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 720 of file MOD_grease_pencil_envelope.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 94 of file MOD_grease_pencil_hook.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 182 of file MOD_grease_pencil_lattice.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 76 of file MOD_grease_pencil_length.cc.
References BLO_write_struct, GreasePencilLengthModifierData::influence, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 231 of file MOD_grease_pencil_mirror.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 280 of file MOD_grease_pencil_multiply.cc.
References BLO_write_struct.
|
static |
Definition at line 62 of file MOD_grease_pencil_noise.cc.
References BLO_write_struct, GreasePencilNoiseModifierData::influence, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 448 of file MOD_grease_pencil_offset.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 272 of file MOD_grease_pencil_opacity.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 305 of file MOD_grease_pencil_outline.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 317 of file MOD_grease_pencil_shrinkwrap.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 66 of file MOD_grease_pencil_simplify.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 73 of file MOD_grease_pencil_smooth.cc.
References BLO_write_struct, GreasePencilSmoothModifierData::influence, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 63 of file MOD_grease_pencil_subdiv.cc.
References BLO_write_struct, GreasePencilSubdivModifierData::influence, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 348 of file MOD_grease_pencil_texture.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 71 of file MOD_grease_pencil_thickness.cc.
References BLO_write_struct, GreasePencilThickModifierData::influence, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 650 of file MOD_grease_pencil_time.cc.
References BLO_write_struct, BLO_write_struct_array, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 446 of file MOD_grease_pencil_tint.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 86 of file MOD_grease_pencil_weight_angle.cc.
References BLO_write_struct, GreasePencilWeightAngleModifierData::influence, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 95 of file MOD_grease_pencil_weight_proximity.cc.
References BLO_write_struct, GreasePencilWeightProximityModifierData::influence, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 887 of file MOD_lineart.cc.
References BLO_write_struct.
|
static |
Definition at line 2520 of file MOD_nodes.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), NodesModifierData::bake_directory, NodesModifierData::bakes, NodesModifierData::bakes_num, BKE_packedfile_blend_write(), BLO_write_is_undo(), BLO_write_string(), BLO_write_struct, BLO_write_struct_array, IDProperty::data, IDPropertyData::group, IDP_BlendWrite(), IDP_BOOLEAN, IDP_INT, LISTBASE_FOREACH, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), NodesModifierData::panels, NodesModifierData::panels_num, NodesModifierSettings::properties, and NodesModifierData::settings.
| BLI_INLINE ColorSceneLinear4f< eAlpha::Straight > blender::BLI_color_convert_to_scene_linear | ( | const ColorTheme4b & | theme4b | ) |
Definition at line 311 of file BLI_color.hh.
References srgb_to_linearrgb_uchar4().
| BLI_INLINE ColorSceneLinear4f< eAlpha::Straight > blender::BLI_color_convert_to_scene_linear | ( | const ColorTheme4f & | theme4f | ) |
Definition at line 303 of file BLI_color.hh.
References srgb_to_linearrgb_v4().
Referenced by blender::tests::TEST().
| BLI_INLINE ColorTheme4b blender::BLI_color_convert_to_theme4b | ( | const ColorSceneLinear4f< eAlpha::Straight > & | scene_linear | ) |
Definition at line 328 of file BLI_color.hh.
References linearrgb_to_srgb_uchar4().
| BLI_INLINE ColorTheme4b blender::BLI_color_convert_to_theme4b | ( | const ColorTheme4< float > & | theme4f | ) |
Definition at line 289 of file BLI_color.hh.
References rgba_float_to_uchar().
Referenced by blender::tests::TEST(), blender::tests::TEST(), and blender::ColorTheme4< ChannelStorageType >::to_4b().
| BLI_INLINE ColorTheme4f blender::BLI_color_convert_to_theme4f | ( | const ColorSceneLinear4f< eAlpha::Straight > & | scene_linear | ) |
Definition at line 320 of file BLI_color.hh.
References linearrgb_to_srgb_v4().
| BLI_INLINE ColorTheme4< float > blender::BLI_color_convert_to_theme4f | ( | const ColorTheme4< uint8_t > & | theme4b | ) |
| BLI_INLINE ColorTheme4f blender::BLI_color_convert_to_theme4f | ( | const ColorTheme4b & | theme4b | ) |
Definition at line 296 of file BLI_color.hh.
References rgba_uchar_to_float().
| blender::BLI_STATIC_ASSERT | ( | std::is_trivially_destructible_v< AttributeSearchData > | , |
| "" | ) |
|
static |
Definition at line 1116 of file bmesh_mesh_convert.cc.
References bm, BM_EDGES_OF_MESH, BM_ELEM_HIDDEN, BM_elem_index_set, BM_ELEM_SEAM, BM_ELEM_SELECT, BM_ELEM_SMOOTH, and BM_ITER_MESH_INDEX.
|
static |
UV map vertex and edge selection, and UV pinning are all stored in separate boolean layers. On Mesh they are only meant to exist if they have a true value, but on BMesh they currently always exist. To avoid creating unnecessary mesh attributes, mark the UV helper layers with no true values with the "no copy" flag.
Definition at line 1144 of file bmesh_mesh_convert.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BKE_uv_map_edge_select_name_get(), BKE_uv_map_pin_name_get(), BKE_uv_map_vert_select_name_get(), bm, BM_ELEM_CD_GET_BOOL, BM_ELEM_HIDDEN, BM_elem_index_set, BM_ELEM_SELECT, BM_ELEM_SMOOTH, BM_FACE_FIRST_LOOP, BM_FACES_OF_MESH, BM_ITER_MESH_INDEX, CD_PROP_BOOL, CD_PROP_FLOAT2, CustomData_get_layer_name(), CustomData_get_named_layer_index(), CustomData_number_of_layers(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), CustomData::layers, BMesh::ldata, MAX_CUSTOMDATA_LAYER_NAME, BMLoop::next, CustomDataLayer::offset, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
|
static |
Definition at line 1293 of file bmesh_mesh_convert.cc.
References bm, bm_to_mesh_copy_info_calc(), bm_to_mesh_edges(), CD_CONSTRUCT, CD_PROP_INT32_2D, CustomData_add_layer_named(), CustomData_free_layer_named(), BMesh::edata, blender::MutableSpan< T >::index_range(), and blender::MutableSpan< T >::is_empty().
Referenced by bm_to_mesh_edges().
|
static |
Definition at line 1346 of file bmesh_mesh_convert.cc.
References BKE_mesh_face_offsets_ensure_alloc(), bm, bm_to_mesh_copy_info_calc(), bm_to_mesh_faces(), blender::Span< T >::index_range(), blender::MutableSpan< T >::is_empty(), and BMesh::pdata.
Referenced by bm_to_mesh_faces().
|
static |
Definition at line 1386 of file bmesh_mesh_convert.cc.
References bm, bm_to_mesh_copy_info_calc(), bm_to_mesh_loops(), CD_CONSTRUCT, CD_PROP_INT32, CustomData_add_layer_named(), CustomData_free_layer_named(), blender::MutableSpan< T >::index_range(), and BMesh::ldata.
Referenced by bm_to_mesh_loops().
|
static |
Definition at line 1252 of file bmesh_mesh_convert.cc.
References bm, bm_to_mesh_copy_info_calc(), CD_CONSTRUCT, CD_PROP_FLOAT3, CustomData_add_layer_named(), CustomData_free_layer_named(), blender::MutableSpan< T >::index_range(), blender::MutableSpan< T >::is_empty(), blender::threading::parallel_for(), and BMesh::vdata.
|
static |
Definition at line 1098 of file bmesh_mesh_convert.cc.
References bm, BM_ELEM_HIDDEN, BM_elem_index_set, BM_ELEM_SELECT, BM_ITER_MESH_INDEX, BM_VERTS_OF_MESH, BMVert::head, and BMHeader::hflag.
|
static |
Definition at line 1241 of file bmesh_mesh_convert.cc.
References CustomData_data_copy_value(), and POINTER_OFFSET.
|
static |
Definition at line 170 of file MOD_grease_pencil_build.cc.
References blender::offset_indices::accumulate_counts_to_offsets(), blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::Curve, curve, blender::bke::SpanAttributeWriter< T >::finish(), blender::Array< T, InlineBufferCapacity, Allocator >::first(), MOD_GREASE_PENCIL_BUILD_TRANSITION_VANISH, blender::bke::CurvesGeometry::offsets_for_write(), blender::bke::greasepencil::Drawing::opacities_for_write(), blender::bke::Point, point_counts_to_keep_concurrent(), blender::bke::greasepencil::Drawing::radii_for_write(), blender::Array< T, InlineBufferCapacity, Allocator >::size(), blender::bke::SpanAttributeWriter< T >::span, and blender::bke::CurvesGeometry::update_curve_types().
Referenced by build_drawing().
|
static |
Definition at line 554 of file MOD_grease_pencil_build.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), build_concurrent(), build_sequential(), blender::bke::CurvesGeometry::curves_num(), blender::modifier::greasepencil::ensure_no_bezier_curves(), GreasePencilBuildModifierData::fade_fac, GreasePencilBuildModifierData::fade_opacity_strength, GreasePencilBuildModifierData::fade_thickness_strength, GreasePencilBuildModifierData::flag, blender::index_mask::IndexMask::from_bools(), get_build_factor(), blender::modifier::greasepencil::get_filtered_stroke_mask(), GreasePencilBuildModifierData::influence, GreasePencilBuildModifierData::length, MOD_GREASE_PENCIL_BUILD_MODE_ADDITIVE, MOD_GREASE_PENCIL_BUILD_MODE_CONCURRENT, MOD_GREASE_PENCIL_BUILD_MODE_SEQUENTIAL, MOD_GREASE_PENCIL_BUILD_TRANSITION_GROW, MOD_GREASE_PENCIL_BUILD_USE_FADING, GreasePencilBuildModifierData::mode, GreasePencilBuildModifierData::object, GreasePencilBuildModifierData::percentage_fac, reorder_strokes(), select(), GreasePencilBuildModifierData::speed_fac, GreasePencilBuildModifierData::speed_maxgap, GreasePencilBuildModifierData::start_delay, blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), GreasePencilBuildModifierData::target_vgname, GreasePencilBuildModifierData::time_alignment, GreasePencilBuildModifierData::time_mode, and GreasePencilBuildModifierData::transition.
Referenced by modify_geometry_set().
|
static |
Definition at line 326 of file MOD_grease_pencil_build.cc.
References abs(), blender::bke::CurvesGeometry::attributes_for_write(), BLI_assert, blender::bke::Curve, blender::bke::SpanAttributeWriter< T >::finish(), MOD_GREASE_PENCIL_BUILD_TRANSITION_VANISH, blender::bke::CurvesGeometry::offsets_for_write(), blender::bke::greasepencil::Drawing::opacities_for_write(), blender::bke::Point, point, points_info_sequential(), blender::bke::greasepencil::Drawing::radii_for_write(), blender::bke::SpanAttributeWriter< T >::span, and blender::bke::CurvesGeometry::update_curve_types().
Referenced by build_drawing().
|
static |
Compute the minimal radius of a circle centered on the direction vector, going through the origin and touching the line (p1, p2).
Use plane-conic-intersections to choose the minimal radius. The conic is defined in 4D as f({x,y,z,t}) = x*x + y*y + z*z - t*t = 0 Then a plane is defined parametrically as {p}(u, v) = {p1,0}*u + {p2,0}*(1-u) + {dir,1}*v with 0 <= u <= 1 and v >= 0 Now compute the intersection point with the smallest t. To do so, compute the parameters u, v such that f(p(u, v)) = 0 and v is minimal. This can be done analytically and the solution is: u = -dot(p2,dir) / dot(p1-p2, dir) +/- sqrt((dot(p2,dir) / dot(p1-p2, dir))^2 - (2*dot(p1-p2,p2)*dot(p2,dir)-dot(p2,p2)*dot(p1-p2,dir))/(dot(p1-p2,dir)*dot(p1-p2,p1-p2))); v = ({p1}u + {p2}*(1-u))^2 / (2*(dot(p1,dir)*u + dot(p2,dir)*(1-u)));
Definition at line 113 of file MOD_grease_pencil_envelope.cc.
References blender::math::clamp(), diff(), blender::math::dot(), blender::math::interpolate(), blender::math::length_squared(), blender::math::sqrt(), unlimited_radius, and v.
Referenced by calc_radius_limit().
|
static |
Definition at line 149 of file MOD_grease_pencil_envelope.cc.
References BLI_assert, calc_min_radius_v3v3(), is_cyclic(), blender::math::is_zero(), point, result, and unlimited_radius.
Referenced by find_envelope().
|
inlinestatic |
Definition at line 76 of file MOD_grease_pencil_envelope.cc.
References next, blender::math::normalize(), and v2.
Referenced by find_envelope().
|
static |
Definition at line 218 of file MOD_grease_pencil_time.cc.
References blender::FrameRange::duration(), blender::FrameRange::efra, blender::math::floor(), and blender::FrameRange::sfra.
Referenced by fill_scene_range_chain(), fill_scene_range_forward(), fill_scene_range_ping_pong(), and fill_scene_range_reverse().
|
inline |
Calls the given function with devirtualized parameters if possible. Note that using many non-trivial devirtualizers results in exponential code growth.
Every devirtualizer is expected to have a devirtualize(auto fn) -> bool method. This method is expected to do one of two things:
fn with the devirtualized argument and return what fn returns.fn (because the devirtualization failed) and return false.Examples for devirtualizers: #BasicDevirtualizer, #VArrayDevirtualizer.
Definition at line 52 of file BLI_devirtualize_parameters.hh.
Referenced by devirtualize_varray(), devirtualize_varray2(), and blender::fn::multi_function::build::detail::execute_element_fn_as_multi_function().
|
inlineconstexpr |
Definition at line 27 of file BLI_hash_tables.hh.
References BLI_assert, and y.
Referenced by ceil_division_by_fraction(), blender::index_mask::evaluate_exact_with_bits(), blender::index_mask::IndexMask::from_repeating(), and blender::gpu::to_binding_location_len().
|
inlineconstexpr |
Definition at line 41 of file BLI_hash_tables.hh.
References ceil_division().
Referenced by total_slot_amount_for_usable_slots().
Definition at line 602 of file MOD_lineart.cc.
References col, PointerRNA::data, IFACE_, is_first_lineart(), Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiItemL(), uiItemR(), uiLayoutColumnWithHeading(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 859 of file MOD_nodes.cc.
References BKE_modifier_set_error(), ELEM, blender::nodes::id_property_type_matches_socket(), bNodeTreeInterfaceSocket::identifier, IDP_GetPropertyFromGroup(), bNodeTreeInterfaceSocket::name, NodesModifierData::node_group, NodesModifierSettings::properties, NodesModifierData::settings, SOCK_CUSTOM, SOCK_GEOMETRY, SOCK_MATRIX, and blender::bke::bNodeSocketType::type.
Referenced by modifyGeometry().
|
static |
Definition at line 225 of file MOD_nodes.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), check_tree_for_time_node(), and tree.
Referenced by check_tree_for_time_node(), and depends_on_time().
Definition at line 706 of file MOD_lineart.cc.
References col, IFACE_, Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiItemL(), uiItemR(), uiLayoutColumn(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Referenced by panel_register().
| Container & blender::copy_assign_container | ( | Container & | dst, |
| const Container & | src ) |
This can be used by containers to implement an exception-safe copy-assignment-operator. It assumes that the container has an exception safe copy constructor and an exception-safe move-assignment-operator.
Definition at line 330 of file BLI_memory_utils.hh.
References copy_assign_container().
Referenced by copy_assign_container(), blender::Array< T, InlineBufferCapacity, Allocator >::operator=(), blender::bits::BitGroupVector< InlineBufferCapacity, Allocator >::operator=(), blender::bits::BitVector< InlineBufferCapacity, Allocator >::operator=(), blender::GArray< Allocator >::operator=(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::operator=(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::operator=(), blender::Stack< T, InlineBufferCapacity, Allocator >::operator=(), blender::Vector< T, InlineBufferCapacity, Allocator >::operator=(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::operator=().
|
static |
Definition at line 62 of file MOD_grease_pencil_armature.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 56 of file MOD_grease_pencil_array.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 59 of file MOD_grease_pencil_color.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 57 of file MOD_grease_pencil_dash.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, blender::modifier::greasepencil::free_influence_data(), and MEM_dupallocN.
|
static |
Definition at line 53 of file MOD_grease_pencil_envelope.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 53 of file MOD_grease_pencil_hook.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), and flag.
|
static |
Definition at line 49 of file MOD_grease_pencil_lattice.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 47 of file MOD_grease_pencil_mirror.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 63 of file MOD_grease_pencil_multiply.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), and flag.
|
static |
Definition at line 51 of file MOD_grease_pencil_offset.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 49 of file MOD_grease_pencil_opacity.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 66 of file MOD_grease_pencil_outline.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 59 of file MOD_grease_pencil_shrinkwrap.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 48 of file MOD_grease_pencil_smooth.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and GreasePencilSmoothModifierData::influence.
|
static |
Definition at line 54 of file MOD_grease_pencil_texture.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 47 of file MOD_grease_pencil_thickness.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and GreasePencilThickModifierData::influence.
|
static |
Definition at line 65 of file MOD_grease_pencil_time.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, blender::modifier::greasepencil::free_influence_data(), and MEM_dupallocN.
|
static |
Definition at line 74 of file MOD_grease_pencil_tint.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, blender::modifier::greasepencil::free_influence_data(), MEM_dupallocN, and MEM_SAFE_FREE.
|
static |
Definition at line 52 of file MOD_grease_pencil_weight_angle.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and GreasePencilWeightAngleModifierData::influence.
|
static |
Definition at line 52 of file MOD_grease_pencil_weight_proximity.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), and flag.
|
static |
Definition at line 87 of file MOD_lineart.cc.
References BKE_modifier_copydata_generic(), flag, LineartModifierRuntime::object_dependencies, and GreasePencilLineartModifierData::runtime.
|
static |
Definition at line 2662 of file MOD_nodes.cc.
References NodesModifierData::bake_directory, NodesModifierData::bakes, NodesModifierData::bakes_num, BKE_modifier_copydata_generic(), BKE_packedfile_duplicate(), BLI_strdup(), BLI_strdup_null(), flag, NodesModifierDataBlock::id_name, IDP_CopyProperty_ex(), LIB_ID_COPY_SET_COPIED_ON_WRITE, NodesModifierDataBlock::lib_name, MEM_dupallocN, NodesModifierBakeFile::name, NodesModifierData::panels, NodesModifierSettings::properties, NodesModifierData::runtime, and NodesModifierData::settings.
|
static |
Definition at line 52 of file MOD_grease_pencil_noise.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and GreasePencilNoiseModifierData::influence.
|
static |
Definition at line 57 of file MOD_grease_pencil_simplify.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), and flag.
|
static |
Definition at line 52 of file MOD_grease_pencil_subdiv.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), flag, and GreasePencilSubdivModifierData::influence.
|
static |
Definition at line 56 of file MOD_grease_pencil_build.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 53 of file MOD_grease_pencil_length.cc.
References BKE_modifier_copydata_generic(), blender::modifier::greasepencil::copy_influence_data(), and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 151 of file MOD_grease_pencil_array.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::CurvesGeometry::bounds_min_max(), GreasePencilArrayModifierData::count, blender::bke::Curve, blender::bke::curves_new_nomain(), blender::bke::SpanAttributeWriter< T >::finish(), GreasePencilArrayModifierData::flag, blender::bke::GeometrySet::from_curves(), blender::bke::GeometrySet::from_instances(), Curves::geometry, get_array_matrix(), blender::bke::GeometrySet::get_curves_for_write(), get_rand_matrix(), blender::MatBase< float, 4, 4 >::identity(), GreasePencilArrayModifierData::mat_rpl, blender::math::max(), MOD_GREASE_PENCIL_ARRAY_USE_OB_OFFSET, MOD_GREASE_PENCIL_ARRAY_USE_RELATIVE, GreasePencilArrayModifierData::object, options, blender::geometry::realize_instances(), GreasePencilArrayModifierData::shift, size(), and blender::bke::SpanAttributeWriter< T >::span.
Referenced by modify_drawing().
|
static |
Definition at line 202 of file MOD_grease_pencil_dash.cc.
References blender::IndexRange::after(), blender::bke::attribute_filter_from_skip_ref(), blender::bke::CurvesGeometry::attributes(), blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::Curve, blender::bke::CurvesGeometry::cyclic(), blender::IndexRange::drop_back(), blender::array_utils::fill_index_range(), blender::bke::SpanAttributeWriter< T >::finish(), foreach_dash(), blender::index_mask::IndexMask::foreach_index(), blender::bke::gather_attributes(), blender::IndexRange::last(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::bke::AttributeAccessor::lookup_or_default(), material, blender::bke::CurvesGeometry::offsets_for_write(), blender::IndexRange::one_after_last(), blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), blender::IndexRange::size(), blender::bke::SpanAttributeWriter< T >::span, blender::IndexRange::start(), and blender::bke::CurvesGeometry::update_curve_types().
Referenced by modify_drawing().
|
static |
Create a single stroke as part of the envelope.
In the simplest cast creates a single edge. Example for spread 4:
(p-5) (p-4) (p-3) (p-2) (p-1) ( p ) (p+1) (p+2) (p+3) (p+4) (p+5) â””------------------------—┘
If fills is true a closed curve is created that connects contiguous point ranges. Example (skip=0):
(p-5) (p-4) (p-3) (p-2) (p-1) ( p ) (p+1) (p+2) (p+3) (p+4) (p+5) | â””—┘ â””------------------—┘ â””—┘ | | | â””----------------------------------—┘
If skip > 0 more points are included in the range. Example (skip=2):
(p-5) (p-4) (p-3) (p-2) (p-1) ( p ) (p+1) (p+2) (p+3) (p+4) (p+5) | â””—┘ â””—┘ â””—┘ â””------—┘ â””—┘ â””—┘ â””—┘ | | | â””----------------------------------------------—┘
Definition at line 428 of file MOD_grease_pencil_envelope.cc.
References BLI_assert, blender::math::clamp(), blender::IndexRange::size(), and blender::MutableSpan< T >::size().
Referenced by create_envelope_strokes_for_curve().
|
static |
Definition at line 502 of file MOD_grease_pencil_envelope.cc.
References blender::offset_indices::accumulate_counts_to_offsets(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::bke::attribute_filter_from_skip_ref(), blender::bke::CurvesGeometry::attributes(), blender::bke::CurvesGeometry::attributes_for_write(), blender::array_utils::copy(), blender::MutableSpan< T >::copy_from(), create_envelope_strokes_for_curve(), blender::bke::Curve, curve_envelope_strokes_num(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::Span< T >::drop_back(), blender::array_utils::fill_index_range(), blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), blender::bke::gather_attributes(), blender::MutableSpan< T >::last(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::bke::AttributeAccessor::lookup_or_default(), blender::bke::CurvesGeometry::offsets(), blender::bke::CurvesGeometry::offsets_for_write(), blender::bke::Point, CurvesGeometry::point_num, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_num(), blender::EnvelopeInfo::points_per_curve, blender::bke::CurvesGeometry::points_range(), blender::MutableSpan< T >::slice(), blender::bke::SpanAttributeWriter< T >::span, blender::EnvelopeInfo::strength, blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), blender::EnvelopeInfo::thickness, blender::offset_indices::OffsetIndices< T >::total_size(), and blender::bke::CurvesGeometry::update_curve_types().
Referenced by modify_drawing().
|
static |
Definition at line 453 of file MOD_grease_pencil_envelope.cc.
References BLI_assert, create_envelope_stroke_for_point(), curve_envelope_strokes_num(), curve_spread(), blender::MutableSpan< T >::fill(), blender::EnvelopeInfo::material_index, blender::EnvelopeInfo::points_per_curve, blender::IndexRange::size(), blender::MutableSpan< T >::size(), blender::EnvelopeInfo::skip, and blender::MutableSpan< T >::slice().
Referenced by create_envelope_strokes().
|
static |
Definition at line 99 of file MOD_grease_pencil_mirror.cc.
References blender::bke::curves_new_nomain(), GreasePencilMirrorModifierData::flag, blender::bke::GeometrySet::from_curves(), blender::bke::GeometrySet::from_instances(), Curves::geometry, blender::bke::GeometrySet::get_curves_for_write(), get_mirror_matrix(), blender::MatBase< float, 4, 4 >::identity(), MOD_GREASE_PENCIL_MIRROR_AXIS_X, MOD_GREASE_PENCIL_MIRROR_AXIS_Y, MOD_GREASE_PENCIL_MIRROR_AXIS_Z, options, and blender::geometry::realize_instances().
Referenced by modify_drawing().
|
static |
Definition at line 391 of file MOD_grease_pencil_envelope.cc.
References curve_spread(), and blender::EnvelopeInfo::skip.
Referenced by create_envelope_strokes(), and create_envelope_strokes_for_curve().
|
static |
Definition at line 385 of file MOD_grease_pencil_envelope.cc.
References blender::EnvelopeInfo::spread.
Referenced by create_envelope_strokes_for_curve(), and curve_envelope_strokes_num().
Definition at line 45 of file BLI_memory_utils.hh.
References ptr.
Referenced by blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), and blender::Vector< T, InlineBufferCapacity, Allocator >::resize().
|
inlineconstexpr |
Inline buffers for small-object-optimization should be disabled by default for large objects. Otherwise we might get large unexpected allocations on the stack.
Definition at line 320 of file BLI_memory_utils.hh.
References default_inline_buffer_capacity().
Referenced by default_inline_buffer_capacity().
|
static |
Apply noise effect based on stroke direction.
Definition at line 95 of file MOD_grease_pencil_noise.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), BKE_curvemapping_evaluateF(), BLI_hash_string(), blender::math::ceil(), blender::math::clamp(), blender::math::cross(), blender::bke::greasepencil::Drawing::curve_plane_normals(), GreasePencilModifierInfluenceData::custom_curve, blender::modifier::greasepencil::ensure_no_bezier_curves(), blender::bke::CurvesGeometry::evaluated_tangents(), GreasePencilNoiseModifierData::factor, GreasePencilNoiseModifierData::factor_strength, GreasePencilNoiseModifierData::factor_thickness, GreasePencilNoiseModifierData::factor_uvs, blender::bke::SpanAttributeWriter< T >::finish(), GreasePencilModifierInfluenceData::flag, GreasePencilNoiseModifierData::flag, float, blender::math::floor(), blender::index_mask::IndexMask::foreach_index(), blender::math::fract(), blender::modifier::greasepencil::get_filtered_stroke_mask(), blender::modifier::greasepencil::get_influence_vertex_weights(), GP_NOISE_RANDOM_KEYFRAME, GP_NOISE_USE_RANDOM, GREASE_PENCIL_INFLUENCE_USE_CUSTOM_CURVE, Object::id, GreasePencilNoiseModifierData::influence, blender::math::interpolate(), blender::index_mask::IndexMask::is_empty(), M_PI_2, blender::math::max(), GreasePencilNoiseModifierData::modifier, ID::name, ModifierData::name, GreasePencilNoiseModifierData::noise_mode, GreasePencilNoiseModifierData::noise_offset, GreasePencilNoiseModifierData::noise_scale, noise_table(), blender::math::normalize(), blender::bke::greasepencil::Drawing::opacities_for_write(), blender::bke::Point, point, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_num(), blender::bke::CurvesGeometry::positions_for_write(), blender::bke::greasepencil::Drawing::radii_for_write(), GreasePencilNoiseModifierData::seed, seed, blender::bke::SpanAttributeWriter< T >::span, GreasePencilNoiseModifierData::step, blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_positions_changed().
|
static |
Definition at line 152 of file MOD_grease_pencil_hook.cc.
References BKE_pose_channel_find_name(), blender::math::distance(), eHook_Falloff_None, blender::modifier::greasepencil::ensure_no_bezier_curves(), blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_filtered_stroke_mask(), blender::modifier::greasepencil::get_influence_vertex_weights(), GREASE_PENCIL_INFLUENCE_INVERT_VERTEX_GROUP, hook_falloff(), blender::MatBase< float, 3, 3 >::identity(), blender::offset_indices::OffsetIndices< T >::index_range(), blender::math::interpolate(), blender::index_mask::IndexMask::is_empty(), MOD_GREASE_PENCIL_HOOK_UNIFORM_SPACE, point, bPoseChannel::pose_mat, square_f(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_positions_changed(), and blender::math::transform_point().
Referenced by modify_geometry_set().
|
static |
Definition at line 88 of file MOD_grease_pencil_smooth.cc.
References blender::modifier::greasepencil::ensure_no_bezier_curves(), blender::bke::GSpanAttributeWriter::finish(), blender::VArray< T >::ForSingle(), blender::modifier::greasepencil::get_filtered_stroke_mask(), blender::index_mask::IndexMask::is_empty(), blender::VArrayCommon< T >::is_span(), MOD_GREASE_PENCIL_SMOOTH_KEEP_SHAPE, MOD_GREASE_PENCIL_SMOOTH_MOD_LOCATION, MOD_GREASE_PENCIL_SMOOTH_MOD_STRENGTH, MOD_GREASE_PENCIL_SMOOTH_MOD_THICKNESS, MOD_GREASE_PENCIL_SMOOTH_MOD_UV, MOD_GREASE_PENCIL_SMOOTH_SMOOTH_ENDS, blender::bke::greasepencil::Drawing::opacities(), blender::bke::greasepencil::Drawing::radii(), blender::geometry::smooth_curve_attribute(), blender::bke::GSpanAttributeWriter::span, GreasePencilSmoothModifierData::step, blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_positions_changed().
|
static |
Definition at line 86 of file MOD_grease_pencil_thickness.cc.
References BKE_curvemapping_evaluateF(), curve, blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_filtered_stroke_mask(), GREASE_PENCIL_INFLUENCE_INVERT_VERTEX_GROUP, GREASE_PENCIL_INFLUENCE_USE_CUSTOM_CURVE, blender::math::interpolate(), blender::index_mask::IndexMask::is_empty(), blender::math::max(), MOD_GREASE_PENCIL_THICK_NORMALIZE, MOD_GREASE_PENCIL_THICK_WEIGHT_FACTOR, blender::bke::Point, point, blender::bke::greasepencil::Drawing::radii_for_write(), blender::math::safe_divide(), and blender::bke::greasepencil::Drawing::strokes_for_write().
|
static |
Definition at line 106 of file MOD_grease_pencil_length.cc.
References blender::math::abs(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), BLI_halton_2d(), BLI_hash_int_01(), BLI_hash_string(), GreasePencilLengthModifierData::end_fac, blender::modifier::greasepencil::ensure_no_bezier_curves(), blender::geometry::extend_curves(), blender::Array< T, InlineBufferCapacity, Allocator >::fill(), GreasePencilLengthModifierData::flag, blender::math::floor(), blender::VArray< T >::ForSingle(), blender::VArray< T >::ForSpan(), blender::math::fract(), blender::index_mask::IndexMask::from_bools(), GEO_NODE_CURVE_SAMPLE_FACTOR, GEO_NODE_CURVE_SAMPLE_LENGTH, blender::modifier::greasepencil::get_filtered_stroke_mask(), GP_LENGTH_ABSOLUTE, GP_LENGTH_INVERT_CURVATURE, GP_LENGTH_USE_CURVATURE, GP_LENGTH_USE_RANDOM, Object::id, GreasePencilLengthModifierData::influence, blender::index_mask::IndexMask::is_empty(), GreasePencilLengthModifierData::max_angle, blender::math::mod(), GreasePencilLengthModifierData::mode, ID::name, ModifierData::name, noise_table(), GreasePencilLengthModifierData::overshoot_fac, blender::threading::parallel_for(), GreasePencilLengthModifierData::point_density, GreasePencilLengthModifierData::rand_end_fac, GreasePencilLengthModifierData::rand_offset, GreasePencilLengthModifierData::rand_start_fac, GreasePencilLengthModifierData::seed, seed, GreasePencilLengthModifierData::segment_influence, GreasePencilLengthModifierData::start_fac, GreasePencilLengthModifierData::step, blender::bke::greasepencil::Drawing::strokes_for_write(), table_sample(), and blender::geometry::trim_curves().
Referenced by modify_geometry_set().
|
static |
Definition at line 298 of file MOD_grease_pencil_envelope.cc.
References blender::math::abs(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::bke::Curve, find_envelope(), blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), GreasePencilEnvelopeModifierData::influence, blender::math::interpolate(), blender::bke::greasepencil::Drawing::radii_for_write(), blender::VArrayCommon< T >::size(), GreasePencilEnvelopeModifierData::spread, blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_positions_changed(), and GreasePencilEnvelopeModifierData::thickness.
Referenced by modify_drawing().
|
static |
Definition at line 77 of file MOD_grease_pencil_noise.cc.
References GreasePencilNoiseModifierData::flag, and GP_NOISE_USE_RANDOM.
|
static |
Definition at line 247 of file MOD_nodes.cc.
References NodesModifierData::bakes, NodesModifierData::bakes_num, check_tree_for_time_node(), NodesModifierData::node_group, NODES_MODIFIER_BAKE_MODE_ANIMATION, and tree.
Definition at line 36 of file BLI_memory_utils.hh.
References is_trivially_destructible_extended_v, and ptr.
Referenced by blender::Vector< T, InlineBufferCapacity, Allocator >::clear(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear(), blender::Vector< T, InlineBufferCapacity, Allocator >::clear_and_shrink(), blender::fn::multi_function::build::detail::execute_materialized(), initialized_relocate_n(), blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), blender::Vector< T, InlineBufferCapacity, Allocator >::remove(), blender::Vector< T, InlineBufferCapacity, Allocator >::remove_if(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), uninitialized_relocate_n(), blender::Array< T, InlineBufferCapacity, Allocator >::~Array(), blender::Vector< T, InlineBufferCapacity, Allocator >::~Vector(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::~VectorSet().
|
inline |
Generate multiple versions of the given function optimized for different virtual arrays. One has to be careful with nesting multiple devirtualizations, because that results in an exponential number of function instantiations (increasing compile time and binary size).
Generally, this function should only be used when the virtual method call overhead to get an element from a virtual array is significant.
Definition at line 1266 of file BLI_virtual_array.hh.
References call_with_devirtualized_parameters().
Referenced by blender::geometry::calculate_result_offsets(), blender::nodes::node_fn_separate_color_cc::SeparateRGBAFunction::call(), blender::nodes::node_shader_sepcomb_xyz_cc::sep::MF_SeparateXYZ::call(), blender::bke::copy_indices_to_offset_ranges(), blender::nodes::node_fn_combine_matrix_cc::copy_with_stride(), blender::array_utils::gather(), and blender::nodes::node_geo_scale_elements_cc::gather_mean().
|
inline |
Same as devirtualize_varray, but devirtualizes two virtual arrays at the same time. This is better than nesting two calls to devirtualize_varray, because it instantiates fewer cases.
Definition at line 1284 of file BLI_virtual_array.hh.
References call_with_devirtualized_parameters().
Referenced by blender::bke::copy_with_checked_indices(), blender::nodes::node_geo_sample_index_cc::copy_with_clamped_indices(), and blender::nodes::node_geo_curve_endpoint_selection_cc::EndpointFieldInput::get_varray_for_context().
|
static |
Definition at line 2338 of file MOD_nodes.cc.
References col, draw_bake_panel(), IFACE_, UI_ITEM_NONE, uiItemR(), uiLayoutColumn(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by draw_bake_panel(), and draw_manage_panel().
|
static |
Definition at line 2262 of file MOD_nodes.cc.
References PanelLayout::body, CTX_data_main(), draw_interface_panel_content(), draw_property_for_socket(), find_panel_by_id(), PanelLayout::header, IFACE_, interace_panel_has_socket(), NODE_INTERFACE_PANEL, NODE_INTERFACE_SOCKET_HIDE_IN_MODIFIER, NODE_INTERFACE_SOCKET_INPUT, PointerRNA::owner_id, RNA_main_pointer_create(), RNA_pointer_create(), uiItemL(), uiLayoutPanelProp(), and uiLayoutSetTooltipFunc().
Referenced by draw_interface_panel_content(), and panel_draw().
|
static |
Definition at line 2413 of file MOD_nodes.cc.
References draw_bake_panel(), draw_manage_panel(), draw_named_attributes_panel(), IFACE_, and uiLayoutPanelProp().
Referenced by draw_manage_panel(), and panel_draw().
|
static |
Definition at line 2347 of file MOD_nodes.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), b, blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), BLT_I18NCONTEXT_OPERATOR_DEFAULT, blender::StringRefNull::c_str(), CTX_IFACE_, draw_named_attributes_panel(), blender::Vector< T, InlineBufferCapacity, Allocator >::end(), blender::nodes::geo_eval_log::GeoTreeLog::ensure_used_named_attributes(), get_root_tree_log(), IFACE_, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), RPT_, UI_LAYOUT_ALIGN_RIGHT, uiItemL(), uiLayoutRow(), uiLayoutSetActive(), uiLayoutSetAlignment(), uiLayoutSplit(), and blender::nodes::geo_eval_log::GeoTreeLog::used_named_attributes.
Referenced by draw_manage_panel(), and draw_named_attributes_panel().
|
static |
Definition at line 2321 of file MOD_nodes.cc.
References draw_output_attributes_panel(), draw_property_for_output_socket(), NodesModifierData::node_group, NodesModifierSettings::properties, ptr, NodesModifierData::settings, SOCK_CUSTOM, and blender::bke::bNodeSocketType::type.
Referenced by draw_output_attributes_panel(), and panel_draw().
|
static |
Definition at line 2216 of file MOD_nodes.cc.
References add_attribute_search_button(), BLI_str_escape(), draw_property_for_output_socket(), bNodeTreeInterfaceSocket::identifier, MAX_NAME, bNodeTreeInterfaceSocket::name, UI_LAYOUT_ALIGN_RIGHT, uiItemL(), uiLayoutRow(), uiLayoutSetAlignment(), and uiLayoutSplit().
Referenced by draw_output_attributes_panel(), and draw_property_for_output_socket().
|
static |
Definition at line 2138 of file MOD_nodes.cc.
References add_attribute_search_or_value_buttons(), ATTR_FALLTHROUGH, BLI_str_escape(), draw_property_for_socket(), bNodeTreeInterfaceSocket::identifier, IDP_GetPropertyFromGroup(), IFACE_, is_layer_selection_field(), MAX_NAME, bNodeTreeInterfaceSocket::name, NodesModifierData::node_group, NodesModifierSettings::properties, NodesModifierData::settings, SNPRINTF, SOCK_BOOLEAN, SOCK_COLLECTION, SOCK_CUSTOM, SOCK_IMAGE, SOCK_MATERIAL, SOCK_OBJECT, SOCK_TEXTURE, blender::bke::bNodeSocketType::type, UI_ITEM_NONE, uiItemL(), uiItemPointerR(), uiItemR(), uiLayoutRow(), and uiLayoutSetPropDecorate().
Referenced by draw_interface_panel_content(), and draw_property_for_socket().
|
static |
Definition at line 2430 of file MOD_nodes.cc.
References b, BLI_strcasecmp_natural(), PanelLayout::body, draw_warnings(), get_root_tree_log(), PanelLayout::header, IFACE_, NodesModifierData::node_group, uiItemL(), and uiLayoutPanelProp().
Referenced by draw_warnings(), and panel_draw().
|
static |
Definition at line 93 of file MOD_grease_pencil_multiply.cc.
References count, blender::bke::curves_copy_curve_selection(), blender::bke::curves_new_nomain(), blender::bke::GeometrySet::from_curves(), blender::bke::GeometrySet::from_instances(), Curves::geometry, blender::bke::GeometrySet::get_curves_for_write(), blender::MatBase< float, 4, 4 >::identity(), options, blender::bke::CurvesGeometry::points_num(), and blender::geometry::realize_instances().
Referenced by generate_curves().
Definition at line 277 of file MOD_lineart.cc.
References BLT_I18NCONTEXT_ID_GPENCIL, col, CTX_IFACE_, PointerRNA::data, IFACE_, is_first_lineart(), Panel::layout, LINEART_SILHOUETTE_FILTER_NONE, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_enum_get(), RNA_pointer_get(), UI_ITEM_NONE, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_SLIDER, uiItemL(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutRowWithHeading(), uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 991 of file MOD_nodes.cc.
References blender::bke::bake::NodeBakeCache::blob_sharing, blender::bke::bake::NodeBakeCache::blobs_dir, blender::bke::bake::deserialize_bake(), blender::bke::bake::BakeState::items_by_id, blender::bke::bake::NodeBakeCache::memory_blob_reader, blender::bke::bake::FrameCache::meta_data_source, and blender::bke::bake::FrameCache::state.
Referenced by blender::NodesModifierSimulationParams::read_interpolated(), and blender::NodesModifierSimulationParams::read_single().
|
static |
Definition at line 195 of file MOD_grease_pencil_shrinkwrap.cc.
References BKE_modifier_get_evaluated_mesh_from_evaluated_object(), BKE_shrinkwrap_free_tree(), BKE_shrinkwrap_init_tree(), GreasePencilShrinkwrapModifierData::cache_data, DEG_get_evaluated_object(), ModifierEvalContext::depsgraph, GreasePencilShrinkwrapModifierData::shrink_mode, GreasePencilShrinkwrapModifierData::shrink_type, and GreasePencilShrinkwrapModifierData::target.
Referenced by modify_geometry_set().
|
static |
Definition at line 102 of file MOD_grease_pencil_weight_angle.cc.
References BKE_defgroup_name_index(), BLI_addtail(), BLI_assert, BLI_listbase_count(), bDeformGroup::name, and STRNCPY.
Referenced by write_weights_for_drawing().
|
static |
Definition at line 129 of file MOD_grease_pencil_weight_proximity.cc.
References BKE_defgroup_name_index(), BLI_addtail(), BLI_assert, BLI_listbase_count(), bDeformGroup::name, and STRNCPY.
Definition at line 574 of file MOD_lineart.cc.
References PointerRNA::data, is_first_lineart(), Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_NONE, uiItemL(), uiItemR(), uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
Definition at line 554 of file MOD_lineart.cc.
References PointerRNA::data, IFACE_, is_first_lineart(), Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), UI_ITEM_NONE, uiItemL(), uiItemR(), and uiLayoutSetEnabled().
Referenced by panel_register().
|
static |
Definition at line 371 of file MOD_grease_pencil_time.cc.
References calculate_repetitions(), blender::Span< T >::drop_front(), blender::FrameRange::duration(), blender::FrameRange::efra, blender::Span< T >::first(), insert_keys_forward(), insert_keys_reverse(), blender::Span< T >::is_empty(), MOD_GREASE_PENCIL_TIME_SEG_MODE_NORMAL, MOD_GREASE_PENCIL_TIME_SEG_MODE_PINGPONG, MOD_GREASE_PENCIL_TIME_SEG_MODE_REVERSE, blender::FrameRange::sfra, and blender::FrameRange::shift().
Referenced by fill_scene_timeline().
|
static |
Definition at line 293 of file MOD_grease_pencil_time.cc.
References blender::FrameRange::efra, find_key_range(), insert_keys_forward(), blender::FrameRange::sfra, and blender::Span< T >::slice().
Referenced by fill_scene_timeline().
|
static |
Definition at line 308 of file MOD_grease_pencil_time.cc.
References calculate_repetitions(), blender::FrameRange::duration(), find_key_range(), insert_keys_forward(), blender::FrameRange::shift(), and blender::Span< T >::slice().
Referenced by fill_scene_timeline().
|
static |
Definition at line 344 of file MOD_grease_pencil_time.cc.
References calculate_repetitions(), blender::FrameRange::duration(), blender::FrameRange::efra, find_key_range(), insert_keys_forward(), insert_keys_reverse(), blender::FrameRange::sfra, blender::FrameRange::shift(), and blender::Span< T >::slice().
Referenced by fill_scene_timeline().
|
static |
Definition at line 326 of file MOD_grease_pencil_time.cc.
References calculate_repetitions(), blender::FrameRange::duration(), find_key_range(), insert_keys_reverse(), blender::FrameRange::shift(), and blender::Span< T >::slice().
Referenced by fill_scene_timeline().
|
static |
Definition at line 449 of file MOD_grease_pencil_time.cc.
References GreasePencilTimeModifierData::efra, RenderData::efra, fill_scene_range_chain(), fill_scene_range_fixed(), fill_scene_range_forward(), fill_scene_range_ping_pong(), fill_scene_range_reverse(), GreasePencilTimeModifierData::flag, MOD_GREASE_PENCIL_TIME_CUSTOM_RANGE, MOD_GREASE_PENCIL_TIME_MODE_CHAIN, MOD_GREASE_PENCIL_TIME_MODE_FIX, MOD_GREASE_PENCIL_TIME_MODE_NORMAL, MOD_GREASE_PENCIL_TIME_MODE_PINGPONG, MOD_GREASE_PENCIL_TIME_MODE_REVERSE, GreasePencilTimeModifierData::mode, GreasePencilTimeModifierData::offset, Scene::r, GreasePencilTimeModifierData::sfra, and RenderData::sfra.
Referenced by modify_geometry_set().
|
static |
Definition at line 158 of file MOD_grease_pencil_outline.cc.
References blender::math::distance_squared().
Referenced by modify_drawing().
|
static |
Definition at line 144 of file MOD_grease_pencil_dash.cc.
References blender::PatternInfo::length, blender::PatternInfo::segments, and blender::IndexRange::start().
Referenced by foreach_dash().
|
static |
Find a suitable center and radius to enclose the envelope around a point.
Definition at line 212 of file MOD_grease_pencil_envelope.cc.
References blender::math::abs(), calc_radius_limit(), calculate_plane(), blender::math::distance(), blender::math::dot(), find_plane_intersection(), blender::IndexRange::index_range(), blender::math::interpolate(), is_cyclic(), blender::math::is_zero(), blender::math::length(), blender::math::normalize(), point, and pos.
Referenced by deform_drawing_as_envelope().
|
static |
Find the index range of sorted keys that covers the frame range, including the key right before and after the interval. The extra keys are needed when frames are held at the beginning or when reversing the direction.
Definition at line 137 of file MOD_grease_pencil_time.cc.
References blender::FrameRange::efra, blender::Span< T >::index_range(), result, blender::FrameRange::sfra, and blender::IndexRange::size().
Referenced by fill_scene_range_fixed(), fill_scene_range_forward(), fill_scene_range_ping_pong(), and fill_scene_range_reverse().
|
static |
Definition at line 2237 of file MOD_nodes.cc.
References find_panel_by_id(), NodesModifierPanel::id, NodesModifierData::panels, and NodesModifierData::panels_num.
Referenced by draw_interface_panel_content(), and find_panel_by_id().
|
inlinestatic |
Definition at line 83 of file MOD_grease_pencil_envelope.cc.
References blender::math::interpolate(), and line_plane_factor_v3().
Referenced by find_envelope().
|
static |
Definition at line 793 of file MOD_nodes.cc.
References BKE_workspace_active_get(), BKE_workspace_active_screen_get(), DEG_get_bmain(), ModifierEvalContext::depsgraph, find_side_effect_nodes_for_active_gizmos(), find_side_effect_nodes_for_baking(), find_side_effect_nodes_for_viewer_path(), ListBase::first, LISTBASE_FOREACH, SPACE_SPREADSHEET, SPACE_VIEW3D, SpaceLink::spacetype, SpaceSpreadsheet::viewer_path, View3D::viewer_path, WorkSpace::viewer_path, wmWindowManager::windows, and Main::wm.
Referenced by modifyGeometry().
|
static |
Definition at line 762 of file MOD_nodes.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_modifier_get_original(), DEG_get_original_object(), blender::nodes::gizmos::foreach_active_gizmo_in_modifier(), blender::nodes::gizmos::foreach_compute_context_on_gizmo_path(), blender::ComputeContext::hash(), bNode::identifier, NodesModifierData::modifier, ModifierEvalContext::object, and try_add_side_effect_node().
Referenced by find_side_effect_nodes().
|
static |
This ensures that nodes that the user wants to bake are actually evaluated. Otherwise they might not be if they are not connected to the output.
Definition at line 742 of file MOD_nodes.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), DEG_is_active(), ModifierEvalContext::depsgraph, find_side_effect_nodes_for_nested_node(), NodesModifierData::node_group, blender::bke::bake::ModifierCache::requested_bakes, and NodesModifierData::runtime.
Referenced by find_side_effect_nodes().
|
static |
Definition at line 695 of file MOD_nodes.cc.
References blender::ComputeContextBuilder::current(), blender::bke::bNodeTreeZones::get_zone_by_node(), bNestedNodePath::id_in_node, NodesModifierData::modifier, ModifierData::name, node, NodesModifierData::node_group, bNestedNodePath::node_id, bNestedNodeRef::path, blender::ComputeContextBuilder::push(), tree, try_add_side_effect_node(), and blender::bke::bNodeTreeZones::zones.
Referenced by find_side_effect_nodes_for_baking().
|
static |
Definition at line 663 of file MOD_nodes.cc.
References blender::ed::viewer_path::add_compute_context_for_viewer_path_elem(), blender::ComputeContextBuilder::current(), DEG_get_original_object(), NodesModifierData::modifier, ModifierData::name, ModifierEvalContext::object, blender::ed::viewer_path::parse_geometry_nodes_viewer(), blender::ComputeContextBuilder::push(), and try_add_side_effect_node().
Referenced by find_side_effect_nodes().
|
static |
Definition at line 826 of file MOD_nodes.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_workspace_active_screen_get(), DEG_get_bmain(), ModifierEvalContext::depsgraph, SpaceNode::edittree, ListBase::first, hash, LISTBASE_FOREACH, NodesModifierData::modifier, ModifierData::name, SPACE_NODE, SpaceLink::spacetype, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values(), wmWindowManager::windows, and Main::wm.
Referenced by modifyGeometry().
|
static |
Definition at line 122 of file MOD_nodes.cc.
References IDP_foreach_property(), and IDP_TYPE_FILTER_ID.
Referenced by update_depsgraph().
|
inlineconstexpr |
Definition at line 34 of file BLI_hash_tables.hh.
References BLI_assert, and y.
|
inlineconstexpr |
Definition at line 48 of file BLI_hash_tables.hh.
Referenced by blender::LoadFactor::compute_total_and_usable_slots().
Definition at line 97 of file MOD_grease_pencil_dash.cc.
References b, and blender::math::floor().
Referenced by get_pattern_info().
|
static |
Iterate over all dash curves.
| fn | Function taking an index range of source points describing new curves. |
Definition at line 165 of file MOD_grease_pencil_dash.cc.
References BLI_assert, blender::PatternInfo::cyclic, find_dash_segment(), blender::IndexRange::last(), blender::PatternInfo::length, blender::PatternInfo::material, blender::PatternInfo::offset, blender::IndexRange::one_after_last(), blender::PatternInfo::opacity, blender::PatternInfo::radius, blender::PatternInfo::segments, blender::IndexRange::size(), and blender::IndexRange::start().
Referenced by create_dashes().
|
static |
Definition at line 79 of file MOD_grease_pencil_armature.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and IDWALK_CB_NOP.
|
static |
Definition at line 73 of file MOD_grease_pencil_array.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and IDWALK_CB_NOP.
|
static |
Definition at line 73 of file MOD_grease_pencil_build.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and IDWALK_CB_NOP.
|
static |
Definition at line 76 of file MOD_grease_pencil_color.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 79 of file MOD_grease_pencil_dash.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 70 of file MOD_grease_pencil_envelope.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 85 of file MOD_grease_pencil_hook.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and IDWALK_CB_NOP.
|
static |
Definition at line 66 of file MOD_grease_pencil_lattice.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and IDWALK_CB_NOP.
|
static |
Definition at line 70 of file MOD_grease_pencil_length.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 64 of file MOD_grease_pencil_mirror.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and IDWALK_CB_NOP.
|
static |
Definition at line 78 of file MOD_grease_pencil_multiply.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 264 of file MOD_grease_pencil_noise.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and GreasePencilNoiseModifierData::influence.
|
static |
Definition at line 68 of file MOD_grease_pencil_offset.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 66 of file MOD_grease_pencil_opacity.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 83 of file MOD_grease_pencil_outline.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), IDWALK_CB_NOP, and IDWALK_CB_USER.
|
static |
Definition at line 81 of file MOD_grease_pencil_shrinkwrap.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and IDWALK_CB_NOP.
|
static |
Definition at line 190 of file MOD_grease_pencil_simplify.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 66 of file MOD_grease_pencil_smooth.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and GreasePencilSmoothModifierData::influence.
|
static |
Definition at line 145 of file MOD_grease_pencil_subdiv.cc.
References GreasePencilSubdivModifierData::influence.
|
static |
Definition at line 71 of file MOD_grease_pencil_texture.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 64 of file MOD_grease_pencil_thickness.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and GreasePencilThickModifierData::influence.
|
static |
Definition at line 87 of file MOD_grease_pencil_time.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 98 of file MOD_grease_pencil_tint.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and IDWALK_CB_NOP.
|
static |
Definition at line 78 of file MOD_grease_pencil_weight_angle.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and GreasePencilWeightAngleModifierData::influence.
|
static |
|
static |
Definition at line 220 of file MOD_lineart.cc.
References IDWALK_CB_NOP, IDWALK_CB_USER, GreasePencilLineartModifierData::light_contour_object, GreasePencilLineartModifierData::source_camera, GreasePencilLineartModifierData::source_collection, GreasePencilLineartModifierData::source_object, and GreasePencilLineartModifierData::target_material.
|
static |
Definition at line 263 of file MOD_nodes.cc.
References NodesModifierData::bakes, NodesModifierData::bakes_num, Object::id, IDP_foreach_property(), IDP_TYPE_FILTER_ID, IDWALK_CB_USER, NodesModifierData::node_group, NodesModifierSettings::properties, and NodesModifierData::settings.
|
static |
Definition at line 280 of file MOD_nodes.cc.
References Object::id, ptr, RNA_pointer_create(), and RNA_struct_find_property().
|
inline |
Support using the fmt library with #StringRef and implicitly also #StringRefNull.
Definition at line 638 of file BLI_string_ref.hh.
References str.
|
static |
Definition at line 73 of file MOD_grease_pencil_armature.cc.
References blender::modifier::greasepencil::free_influence_data().
Referenced by blender::ed::object::editmode_exit_ex(), and blender::ed::object::editmode_load_free_ex().
|
static |
Definition at line 67 of file MOD_grease_pencil_array.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 67 of file MOD_grease_pencil_build.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 70 of file MOD_grease_pencil_color.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 71 of file MOD_grease_pencil_dash.cc.
References blender::modifier::greasepencil::free_influence_data(), and MEM_SAFE_FREE.
|
static |
Definition at line 64 of file MOD_grease_pencil_envelope.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 62 of file MOD_grease_pencil_hook.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 60 of file MOD_grease_pencil_lattice.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 64 of file MOD_grease_pencil_length.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 58 of file MOD_grease_pencil_mirror.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 72 of file MOD_grease_pencil_multiply.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 45 of file MOD_grease_pencil_noise.cc.
References blender::modifier::greasepencil::free_influence_data(), and GreasePencilNoiseModifierData::influence.
|
static |
Definition at line 62 of file MOD_grease_pencil_offset.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 60 of file MOD_grease_pencil_opacity.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 77 of file MOD_grease_pencil_outline.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 70 of file MOD_grease_pencil_shrinkwrap.cc.
References BKE_shrinkwrap_free_tree(), and blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 50 of file MOD_grease_pencil_simplify.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 59 of file MOD_grease_pencil_smooth.cc.
References blender::modifier::greasepencil::free_influence_data(), and GreasePencilSmoothModifierData::influence.
|
static |
Definition at line 45 of file MOD_grease_pencil_subdiv.cc.
References blender::modifier::greasepencil::free_influence_data(), and GreasePencilSubdivModifierData::influence.
|
static |
Definition at line 65 of file MOD_grease_pencil_texture.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 57 of file MOD_grease_pencil_thickness.cc.
References blender::modifier::greasepencil::free_influence_data(), and GreasePencilThickModifierData::influence.
|
static |
Definition at line 79 of file MOD_grease_pencil_time.cc.
References blender::modifier::greasepencil::free_influence_data(), and MEM_SAFE_FREE.
|
static |
Definition at line 90 of file MOD_grease_pencil_tint.cc.
References blender::modifier::greasepencil::free_influence_data(), and MEM_SAFE_FREE.
|
static |
Definition at line 63 of file MOD_grease_pencil_weight_angle.cc.
References blender::modifier::greasepencil::free_influence_data(), and GreasePencilWeightAngleModifierData::influence.
|
static |
Definition at line 61 of file MOD_grease_pencil_weight_proximity.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 108 of file MOD_lineart.cc.
References GreasePencilLineartModifierData::runtime.
|
static |
Definition at line 2748 of file MOD_nodes.cc.
References NodesModifierData::bake_directory, NodesModifierData::bakes, NodesModifierData::bakes_num, IDP_FreeProperty_ex(), MEM_SAFE_FREE, nodes_modifier_packed_bake_free(), NodesModifierData::panels, NodesModifierSettings::properties, NodesModifierData::runtime, and NodesModifierData::settings.
|
static |
Definition at line 128 of file MOD_grease_pencil_multiply.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), blender::index_mask::IndexMask::complement(), blender::bke::greasepencil::Drawing::curve_plane_normals(), GreasePencilMultiModifierData::distance, duplicate_strokes(), GreasePencilMultiModifierData::duplications, blender::bke::CurvesGeometry::evaluated_tangents(), GreasePencilMultiModifierData::fading_center, GreasePencilMultiModifierData::fading_opacity, GreasePencilMultiModifierData::fading_thickness, GreasePencilMultiModifierData::flag, blender::modifier::greasepencil::get_filtered_stroke_mask(), GreasePencilMultiModifierData::influence, blender::index_mask::IndexMask::is_empty(), blender::math::length(), MOD_GREASE_PENCIL_MULTIPLY_ENABLE_FADING, ModifierEvalContext::object, GreasePencilMultiModifierData::offset, blender::threading::parallel_for(), blender::bke::Point, blender::bke::CurvesGeometry::positions_for_write(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::math::to_scale().
Referenced by modify_geometry_set().
|
static |
Definition at line 772 of file MOD_lineart.cc.
References BKE_object_material_index_get(), BLI_assert, ModifierEvalContext::depsgraph, Object::dtx, float, is_first_lineart(), MOD_lineart_chain_clear_picked_flag(), MOD_lineart_clear_cache(), MOD_lineart_compute_feature_lines_v3(), MOD_lineart_destroy_render_data_v3(), MOD_lineart_gpencil_generate_v3(), MOD_LINEART_USE_CACHE, OB_DRAW_IN_FRONT, ModifierEvalContext::object, GreasePencil::runtime, and GreasePencilLineartModifierData::shared_cache.
Referenced by modify_geometry_set().
|
static |
Definition at line 90 of file MOD_grease_pencil_array.cc.
References GreasePencilArrayModifierData::flag, blender::math::from_location(), blender::MatBase< float, 4, 4 >::identity(), MOD_GREASE_PENCIL_ARRAY_USE_OFFSET, GreasePencilArrayModifierData::object, and GreasePencilArrayModifierData::offset.
Referenced by create_array_copies().
|
static |
Definition at line 963 of file MOD_nodes.cc.
References BLI_assert, blender::BakeFrameIndices::current, blender::binary_search::find_predicate_begin(), blender::BakeFrameIndices::next, and blender::BakeFrameIndices::prev.
Referenced by blender::NodesModifierSimulationParams::init_simulation_info().
|
static |
Definition at line 125 of file MOD_grease_pencil_tint.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a.
Referenced by modify_fill_color(), and modify_stroke_color().
|
static |
Definition at line 521 of file MOD_grease_pencil_build.cc.
References BLI_assert_unreachable, blender::math::clamp(), fade(), get_factor_from_draw_speed(), MOD_GREASE_PENCIL_BUILD_TIMEMODE_DRAWSPEED, MOD_GREASE_PENCIL_BUILD_TIMEMODE_FRAMES, and MOD_GREASE_PENCIL_BUILD_TIMEMODE_PERCENTAGE.
Referenced by build_drawing().
Definition at line 219 of file BLI_hash.hh.
References v.
Referenced by BKE_modifiers_persistent_uid_init(), blender::compositor::NodeOperation::generate_hash(), get_default_hash(), get_default_hash(), get_default_hash(), blender::animrig::BoneColor::hash(), blender::animrig::PropIdentifier::hash(), blender::bke::AttributeFieldInput::hash(), blender::bke::bake::BakeDataBlockID::hash(), blender::bke::GeometrySet::hash(), blender::bke::InstanceReference::hash(), blender::bke::NamedLayerSelectionFieldInput::hash(), blender::bke::NodeGizmoID::hash(), blender::bke::outliner::treehash::TreeStoreElemKey::hash(), blender::bke::ZoneRelation::hash(), blender::CPPType::hash(), blender::deg::light_linking::internal::LightSet::hash(), blender::draw::pbvh::ViewportRequest::hash(), blender::ed::asset::index::AssetLibraryIndex::hash(), blender::ed::view3d::geometry_nodes_gizmos::GeoNodesObjectGizmoID::hash(), blender::fn::FieldNode::hash(), blender::fn::GFieldBase< NodePtr >::hash(), blender::fn::multi_function::CustomMF_Constant< T >::hash(), blender::fn::multi_function::DataType::hash(), blender::fn::multi_function::MultiFunction::hash(), blender::gpu::VKGraphicsInfo::hash(), blender::ImplicitSharingPtr< T, IsStrong >::hash(), blender::io::ply::uv_vertex_key::hash(), blender::memory_cache::tests::GenericIntKey::hash(), blender::nodes::DNode::hash(), blender::nodes::DSocket::hash(), blender::nodes::geo_eval_log::NodeWarning::hash(), blender::nodes::node_geo_accumulate_field_cc::AccumulateFieldInput::hash(), blender::nodes::node_geo_accumulate_field_cc::TotalFieldInput::hash(), blender::nodes::node_geo_blur_attribute_cc::BlurAttributeFieldInput::hash(), blender::nodes::node_geo_curve_endpoint_selection_cc::EndpointFieldInput::hash(), blender::nodes::node_geo_curve_handle_type_selection_cc::HandleTypeFieldInput::hash(), blender::nodes::node_geo_edge_paths_to_selection_cc::PathToEdgeSelectionFieldInput::hash(), blender::nodes::node_geo_index_of_nearest_cc::HasNeighborFieldInput::hash(), blender::nodes::node_geo_index_of_nearest_cc::IndexOfNearestFieldInput::hash(), blender::nodes::node_geo_input_curve_handles_cc::HandlePositionFieldInput::hash(), blender::nodes::node_geo_input_shortest_edge_paths_cc::ShortestEdgePathsCostFieldInput::hash(), blender::nodes::node_geo_input_shortest_edge_paths_cc::ShortestEdgePathsNextVertFieldInput::hash(), blender::nodes::node_geo_material_selection_cc::MaterialSelectionFieldInput::hash(), blender::nodes::node_geo_mesh_topology_offset_corner_in_face_cc::OffsetCornerInFaceFieldInput::hash(), blender::nodes::NodeInContext::hash(), blender::nodes::SocketInContext::hash(), blender::nodes::value_elem::GroupInputElem::hash(), blender::nodes::value_elem::MatrixElem::hash(), blender::nodes::value_elem::PrimitiveValueElem::hash(), blender::nodes::value_elem::RotationElem::hash(), blender::nodes::value_elem::SocketElem::hash(), blender::nodes::value_elem::ValueNodeElem::hash(), blender::nodes::value_elem::VectorElem::hash(), blender::realtime_compositor::BokehKernelKey::hash(), blender::realtime_compositor::CachedImageKey::hash(), blender::realtime_compositor::CachedMaskKey::hash(), blender::realtime_compositor::CachedShaderKey::hash(), blender::realtime_compositor::CachedTextureKey::hash(), blender::realtime_compositor::DericheGaussianCoefficientsKey::hash(), blender::realtime_compositor::DistortionGridKey::hash(), blender::realtime_compositor::FogGlowKernelKey::hash(), blender::realtime_compositor::KeyingScreenKey::hash(), blender::realtime_compositor::MorphologicalDistanceFeatherWeightsKey::hash(), blender::realtime_compositor::OCIOColorSpaceConversionShaderKey::hash(), blender::realtime_compositor::SymmetricBlurWeightsKey::hash(), blender::realtime_compositor::SymmetricSeparableBlurWeightsKey::hash(), blender::realtime_compositor::TexturePoolKey::hash(), blender::realtime_compositor::VanVlietGaussianCoefficientsKey::hash(), blender::seq::ThumbnailCache::Request::hash(), blender::Span< T >::hash(), blender::SubFrame::hash(), GlyphCacheKey::hash(), LibWeakRefKey::hash(), PaintTileKey::hash(), blender::ImplicitSharingPtr< T, IsStrong >::hash_as(), blender::cpp_type_util::hash_cb(), blender::compositor::NodeOperation::hash_param(), blender::compositor::NodeOperation::hash_params(), blender::compositor::NodeOperation::hash_params(), blender::DefaultHash< AssetLibraryReference >::operator()(), blender::DefaultHash< blender::Set< const BMVert * > >::operator()(), blender::DefaultHash< draw::pbvh::AttributeRequest >::operator()(), blender::DefaultHash< gpu::VKComputeInfo >::operator()(), blender::DefaultHash< SpreadsheetColumnID >::operator()(), blender::DefaultHash< std::pair< T1, T2 > >::operator()(), blender::DefaultHash< std::reference_wrapper< T > >::operator()(), blender::ed::object::bake_simulation::PathStringHash::operator()(), blender::PointerHashes< T >::operator()(), blender::ed::greasepencil::select_random_exec(), ui_popup_menu_hash(), and ui_popup_string_hash().
Definition at line 224 of file BLI_hash.hh.
References get_default_hash(), and v2.
Definition at line 232 of file BLI_hash.hh.
References get_default_hash(), and v2.
Definition at line 241 of file BLI_hash.hh.
References get_default_hash(), and v2.
|
static |
Definition at line 111 of file MOD_grease_pencil_weight_proximity.cc.
References blender::math::distance(), blender::math::max(), pos, and blender::math::transform_point().
|
static |
Definition at line 362 of file MOD_grease_pencil_envelope.cc.
References GreasePencilEnvelopeModifierData::mat_nr, blender::EnvelopeInfo::material_index, MOD_GREASE_PENCIL_ENVELOPE_DEFORM, MOD_GREASE_PENCIL_ENVELOPE_FILLS, MOD_GREASE_PENCIL_ENVELOPE_SEGMENTS, GreasePencilEnvelopeModifierData::mode, ModifierEvalContext::object, blender::EnvelopeInfo::points_per_curve, blender::EnvelopeInfo::skip, GreasePencilEnvelopeModifierData::skip, blender::EnvelopeInfo::spread, GreasePencilEnvelopeModifierData::spread, blender::EnvelopeInfo::strength, GreasePencilEnvelopeModifierData::strength, blender::EnvelopeInfo::thickness, GreasePencilEnvelopeModifierData::thickness, and Object::totcol.
Referenced by modify_drawing().
|
static |
Definition at line 482 of file MOD_grease_pencil_build.cc.
References blender::math::clamp(), blender::bke::Curve, curve, blender::math::max(), blender::math::min(), and blender::bke::Point.
Referenced by get_build_factor().
|
static |
Definition at line 188 of file MOD_grease_pencil_offset.cc.
References float, max_ii(), GreasePencilOffsetModifierData::stroke_start_offset, and GreasePencilOffsetModifierData::stroke_step.
Referenced by modify_stroke_by_index(), modify_stroke_by_layer(), and modify_stroke_by_material().
|
static |
Definition at line 128 of file MOD_grease_pencil_texture.cc.
References cross(), blender::MatBase< T, NumCol, NumRow, Alignment >::identity(), blender::MatBase< float, 3, 4 >::identity(), int, normalize(), and blender::math::transpose().
Referenced by write_fill_transforms().
|
static |
Definition at line 81 of file MOD_grease_pencil_mirror.cc.
References blender::math::from_scale(), blender::math::invert(), and GreasePencilMirrorModifierData::object.
Referenced by create_mirror_copies().
|
static |
Definition at line 1904 of file MOD_nodes.cc.
References BKE_libblock_find_session_uid(), BKE_modifiers_findby_name(), BLI_assert, ED_screen_animation_playing(), eModifierType_Nodes, get_modifier_data(), ID_OB, and ModifierData::type.
Referenced by attribute_search_exec_fn(), attribute_search_update_fn(), and get_modifier_data().
|
static |
Definition at line 113 of file MOD_grease_pencil_dash.cc.
References blender::IndexRange::after(), blender::PatternInfo::cyclic, GreasePencilDashModifierSegment::dash, GreasePencilDashModifierData::dash_offset, GreasePencilDashModifierSegment::flag, floored_modulo(), GreasePencilDashModifierSegment::gap, blender::PatternInfo::length, GreasePencilDashModifierSegment::mat_nr, blender::PatternInfo::material, MOD_GREASE_PENCIL_DASH_USE_CYCLIC, blender::PatternInfo::offset, blender::PatternInfo::opacity, GreasePencilDashModifierSegment::opacity, blender::PatternInfo::radius, GreasePencilDashModifierSegment::radius, blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), and blender::PatternInfo::segments.
Referenced by modify_geometry_set().
|
static |
Definition at line 117 of file MOD_grease_pencil_array.cc.
References BLI_halton_3d(), BLI_hash_int_01(), BLI_hash_string(), GreasePencilArrayModifierData::flag, blender::math::from_loc_rot_scale(), Object::id, blender::math::mod(), MOD_GREASE_PENCIL_ARRAY_UNIFORM_RANDOM_SCALE, GreasePencilArrayModifierData::modifier, ID::name, ModifierData::name, GreasePencilArrayModifierData::rnd_offset, GreasePencilArrayModifierData::rnd_rot, GreasePencilArrayModifierData::rnd_scale, GreasePencilArrayModifierData::seed, seed, and blender::math::sin().
Referenced by create_array_copies().
|
static |
Definition at line 1928 of file MOD_nodes.cc.
References get_root_tree_log(), NodesModifierData::modifier, ModifierData::name, and NodesModifierData::runtime.
Referenced by attribute_search_update_fn(), draw_named_attributes_panel(), draw_warnings(), and get_root_tree_log().
|
static |
Definition at line 14 of file blenlib/intern/cpp_types.cc.
Referenced by blender::VectorCPPType::get_from_self().
|
static |
Definition at line 20 of file blenlib/intern/cpp_types.cc.
Referenced by blender::VectorCPPType::get_from_value().
|
static |
Definition at line 2306 of file MOD_nodes.cc.
References has_output_attribute(), NodesModifierData::node_group, SOCK_CUSTOM, and blender::bke::bNodeSocketType::type.
Referenced by has_output_attribute(), and panel_draw().
Definition at line 166 of file BLI_hash.hh.
Referenced by blender::DefaultHash< std::string >::operator()(), blender::DefaultHash< std::string_view >::operator()(), blender::DefaultHash< StringRef >::operator()(), and blender::DefaultHash< StringRefNull >::operator()().
|
static |
Definition at line 109 of file MOD_grease_pencil_hook.cc.
References ATTR_FALLTHROUGH, BKE_curvemapping_evaluateF(), BLI_assert, MOD_GREASE_PENCIL_HOOK_Falloff_Const, MOD_GREASE_PENCIL_HOOK_Falloff_Curve, MOD_GREASE_PENCIL_HOOK_Falloff_InvSquare, MOD_GREASE_PENCIL_HOOK_Falloff_Linear, MOD_GREASE_PENCIL_HOOK_Falloff_Root, MOD_GREASE_PENCIL_HOOK_Falloff_Sharp, MOD_GREASE_PENCIL_HOOK_Falloff_Smooth, MOD_GREASE_PENCIL_HOOK_Falloff_Sphere, and blender::math::sqrt().
Referenced by deform_drawing().
| int blender::incircle | ( | const double2 & | a, |
| const double2 & | b, | ||
| const double2 & | c, | ||
| const double2 & | d ) |
Definition at line 2478 of file math_boolean.cc.
References b, blender::robust_pred::incircle(), and sgn().
Referenced by filtered_incircle< double >().
| int blender::incircle_fast | ( | const double2 & | a, |
| const double2 & | b, | ||
| const double2 & | c, | ||
| const double2 & | d ) |
Definition at line 2483 of file math_boolean.cc.
References b, blender::robust_pred::incirclefast(), and sgn().
|
constexpr |
Definition at line 310 of file BLI_string_ref.hh.
References blender::StringRefBase::not_found.
Referenced by blender::StringRefBase::find(), blender::StringRefBase::find(), blender::StringRefBase::find_first_not_of(), blender::StringRefBase::find_first_not_of(), blender::StringRefBase::find_first_of(), blender::StringRefBase::find_first_of(), blender::StringRefBase::find_last_not_of(), blender::StringRefBase::find_last_not_of(), blender::StringRefBase::find_last_of(), blender::StringRefBase::find_last_of(), blender::StringRefBase::rfind(), and blender::StringRefBase::rfind().
|
static |
Definition at line 52 of file MOD_grease_pencil_armature.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
Referenced by modifier_apply_threaded(), modifier_init_handle(), render_effect_execute_init_handle(), and seq_render_effect_execute_threaded().
|
static |
Definition at line 46 of file MOD_grease_pencil_array.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 46 of file MOD_grease_pencil_build.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 49 of file MOD_grease_pencil_color.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 42 of file MOD_grease_pencil_dash.cc.
References BLI_assert, DATA_, DNA_struct_default_alloc, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, MEMCPY_STRUCT_AFTER, GreasePencilDashModifierSegment::name, and STRNCPY_UTF8.
|
static |
Definition at line 43 of file MOD_grease_pencil_envelope.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 43 of file MOD_grease_pencil_hook.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 39 of file MOD_grease_pencil_lattice.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 43 of file MOD_grease_pencil_length.cc.
References BLI_assert, DNA_struct_default_get, GreasePencilLengthModifierData::influence, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 37 of file MOD_grease_pencil_mirror.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 53 of file MOD_grease_pencil_multiply.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 35 of file MOD_grease_pencil_noise.cc.
References BLI_assert, DNA_struct_default_get, GreasePencilNoiseModifierData::influence, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 41 of file MOD_grease_pencil_offset.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 39 of file MOD_grease_pencil_opacity.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 56 of file MOD_grease_pencil_outline.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 49 of file MOD_grease_pencil_shrinkwrap.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 40 of file MOD_grease_pencil_simplify.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 38 of file MOD_grease_pencil_smooth.cc.
References BLI_assert, DNA_struct_default_get, GreasePencilSmoothModifierData::influence, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 35 of file MOD_grease_pencil_subdiv.cc.
References BLI_assert, DNA_struct_default_get, GreasePencilSubdivModifierData::influence, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 44 of file MOD_grease_pencil_texture.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 37 of file MOD_grease_pencil_thickness.cc.
References BLI_assert, DNA_struct_default_get, GreasePencilThickModifierData::influence, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 49 of file MOD_grease_pencil_time.cc.
References BLI_assert, DATA_, DNA_struct_default_alloc, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, MEMCPY_STRUCT_AFTER, and STRNCPY_UTF8.
|
static |
Definition at line 50 of file MOD_grease_pencil_tint.cc.
References BKE_colorband_add(), BKE_colorband_init(), BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, MEMCPY_STRUCT_AFTER, and CBData::r.
|
static |
Definition at line 41 of file MOD_grease_pencil_weight_angle.cc.
References BLI_assert, DNA_struct_default_get, GreasePencilWeightAngleModifierData::influence, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 41 of file MOD_grease_pencil_weight_proximity.cc.
References BLI_assert, DNA_struct_default_get, blender::modifier::greasepencil::init_influence_data(), MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 78 of file MOD_lineart.cc.
References BLI_assert, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 110 of file MOD_nodes.cc.
References BLI_assert, DNA_struct_default_get, ModifierData::layout_panel_open_flag, MEMCMP_STRUCT_AFTER_IS_ZERO, MEMCPY_STRUCT_AFTER, NodesModifierData::modifier, NODES_MODIFIER_PANEL_WARNINGS, and NodesModifierData::runtime.
| void blender::initialize_pointer_pair | ( | Src1 && | src1, |
| Src2 && | src2, | ||
| Dst1 * | dst1, | ||
| Dst2 * | dst2 ) |
Definition at line 30 of file BLI_map_slots.hh.
Referenced by blender::SimpleMapSlot< Key, Value >::SimpleMapSlot(), and blender::SimpleMapSlot< Key, Value >::SimpleMapSlot().
Definition at line 50 of file BLI_memory_utils.hh.
Referenced by blender::fn::multi_function::ProcedureBuilder::add_call(), blender::MutableSpan< T >::copy_from(), blender::nodes::node_geo_curves_to_grease_pencil_cc::curve_instances_to_grease_pencil_layers(), blender::nodes::node_geo_curves_to_grease_pencil_cc::curves_to_grease_pencil_with_one_layer(), blender::ed::spreadsheet::InstancesTreeViewItem::on_activate(), and blender::VMutableArrayImpl< T >::set_all().
Definition at line 88 of file BLI_memory_utils.hh.
Referenced by blender::Array< T, InlineBufferCapacity, Allocator >::fill(), blender::MutableSpan< T >::fill(), blender::Vector< T, InlineBufferCapacity, Allocator >::fill(), blender::VArrayImpl_For_Single< T >::materialize_compressed(), blender::bits::MutableBitSpan::reset_all(), and blender::bits::MutableBitSpan::set_all().
Definition at line 66 of file BLI_memory_utils.hh.
Referenced by initialized_relocate_n(), and blender::cpp_type_util::move_assign_cb().
Definition at line 76 of file BLI_memory_utils.hh.
References destruct_n(), and initialized_move_n().
|
static |
Definition at line 241 of file MOD_grease_pencil_time.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_overwrite(), blender::FrameRange::efra, blender::Span< T >::index_range(), and blender::FrameRange::sfra.
Referenced by fill_scene_range_chain(), fill_scene_range_fixed(), fill_scene_range_forward(), and fill_scene_range_ping_pong().
|
static |
Definition at line 262 of file MOD_grease_pencil_time.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_overwrite(), blender::FrameRange::efra, blender::Span< T >::index_range(), blender::FrameRange::sfra, and blender::Span< T >::size().
Referenced by fill_scene_range_chain(), fill_scene_range_ping_pong(), and fill_scene_range_reverse().
| int blender::insphere | ( | const double3 & | a, |
| const double3 & | b, | ||
| const double3 & | c, | ||
| const double3 & | d, | ||
| const double3 & | e ) |
Definition at line 2498 of file math_boolean.cc.
References b, e, blender::robust_pred::insphere(), and sgn().
| int blender::insphere_fast | ( | const double3 & | a, |
| const double3 & | b, | ||
| const double3 & | c, | ||
| const double3 & | d, | ||
| const double3 & | e ) |
Definition at line 2504 of file math_boolean.cc.
References b, e, blender::robust_pred::inspherefast(), and sgn().
|
static |
Definition at line 2247 of file MOD_nodes.cc.
References interace_panel_has_socket(), NODE_INTERFACE_PANEL, and NODE_INTERFACE_SOCKET.
Referenced by draw_interface_panel_content(), and interace_panel_has_socket().
Definition at line 528 of file MOD_lineart.cc.
References col, IFACE_, Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_struct_find_property(), UI_ITEM_NONE, UI_ITEM_R_TOGGLE, uiItemFullR(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutRowWithHeading(), uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 86 of file MOD_grease_pencil_armature.cc.
References OB_ARMATURE, GreasePencilArmatureModifierData::object, and Object::type.
|
static |
Definition at line 85 of file MOD_grease_pencil_dash.cc.
|
static |
Definition at line 69 of file MOD_grease_pencil_hook.cc.
|
static |
Definition at line 86 of file MOD_grease_pencil_lattice.cc.
References OB_LATTICE, GreasePencilLatticeModifierData::object, and Object::type.
|
static |
Definition at line 84 of file MOD_grease_pencil_multiply.cc.
|
static |
Definition at line 89 of file MOD_grease_pencil_shrinkwrap.cc.
References OB_MESH.
|
static |
Definition at line 105 of file MOD_grease_pencil_tint.cc.
References MOD_GREASE_PENCIL_TINT_GRADIENT, and GreasePencilTintModifierData::object.
|
static |
Definition at line 71 of file MOD_grease_pencil_weight_angle.cc.
References GreasePencilWeightAngleModifierData::target_vgname.
|
static |
Definition at line 68 of file MOD_grease_pencil_weight_proximity.cc.
|
static |
Definition at line 118 of file MOD_lineart.cc.
References GreasePencilLineartModifierData::flags, LINEART_SOURCE_COLLECTION, LINEART_SOURCE_OBJECT, MOD_LINEART_IS_BAKED, GreasePencilLineartModifierData::source_collection, GreasePencilLineartModifierData::source_object, GreasePencilLineartModifierData::source_type, GreasePencilLineartModifierData::target_layer, and GreasePencilLineartModifierData::target_material.
|
static |
Definition at line 287 of file MOD_nodes.cc.
References NodesModifierData::node_group.
|
static |
Definition at line 43 of file MOD_lineart.cc.
References eModifierType_GreasePencilLineart, GreasePencilLineartModifierData::modifier, ModifierData::prev, and ModifierData::type.
Referenced by chaining_panel_draw(), edge_types_panel_draw(), face_mark_panel_draw(), face_mark_panel_draw_header(), generate_strokes(), options_light_reference_draw(), options_panel_draw(), panel_draw(), and vgroup_panel_draw().
|
static |
Definition at line 58 of file MOD_lineart.cc.
References eModifierMode_Realtime, eModifierMode_Render, eModifierType_GreasePencilLineart, ModifierData::mode, GreasePencilLineartModifierData::modifier, ModifierData::next, and ModifierData::type.
Referenced by modify_geometry_set().
Convert a ListBase to a Vector.
Definition at line 118 of file BLI_listbase_wrapper.hh.
References vector.
Convert a ListBase to a Vector.
Definition at line 105 of file BLI_listbase_wrapper.hh.
References vector.
Referenced by ED_curve_updateAnimPaths(), blender::animrig::legacy::fcurves_for_action_slot_templated(), and nlastrip_evaluate_controls().
|
static |
Definition at line 298 of file MOD_nodes.cc.
References DEG_is_active(), ModifierEvalContext::depsgraph, ModifierEvalContext::flag, logging_enabled(), and MOD_APPLY_ORCO.
Referenced by logging_enabled(), and modifyGeometry().
Definition at line 501 of file MOD_lineart.cc.
References anything_showing_through(), col, IFACE_, Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_struct_find_property(), UI_ITEM_NONE, UI_ITEM_R_TOGGLE, uiItemFullR(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutRowWithHeading(), uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
Definition at line 486 of file MOD_lineart.cc.
References anything_showing_through(), IFACE_, Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), UI_ITEM_NONE, uiItemR(), uiLayoutSetActive(), and uiLayoutSetEnabled().
Referenced by panel_register().
|
static |
Definition at line 248 of file MOD_grease_pencil_texture.cc.
References GreasePencilTextureModifierData::alignment_rotation, GreasePencilTextureModifierData::fill_offset, GreasePencilTextureModifierData::fill_rotation, GreasePencilTextureModifierData::fill_scale, GreasePencilTextureModifierData::fit_method, blender::modifier::greasepencil::get_filtered_stroke_mask(), GreasePencilTextureModifierData::influence, MOD_GREASE_PENCIL_TEXTURE_FILL, MOD_GREASE_PENCIL_TEXTURE_FIT_STROKE, MOD_GREASE_PENCIL_TEXTURE_STROKE, MOD_GREASE_PENCIL_TEXTURE_STROKE_AND_FILL, GreasePencilTextureModifierData::mode, ModifierEvalContext::object, blender::bke::greasepencil::Drawing::strokes(), GreasePencilTextureModifierData::uv_offset, GreasePencilTextureModifierData::uv_scale, write_fill_transforms(), and write_stroke_transforms().
|
static |
Definition at line 107 of file MOD_grease_pencil_armature.cc.
References ARM_DEF_INVERT_VGROUP, BKE_armature_deform_coords_with_curves(), blender::modifier::greasepencil::ensure_no_bezier_curves(), blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_filtered_stroke_mask(), GREASE_PENCIL_INFLUENCE_INVERT_VERTEX_GROUP, blender::Span< T >::is_empty(), ModifierEvalContext::object, blender::Span< T >::slice(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_positions_changed().
Referenced by modify_geometry_set().
|
static |
Definition at line 342 of file MOD_grease_pencil_tint.cc.
References BLI_assert_unreachable, blender::modifier::greasepencil::get_filtered_stroke_mask(), MOD_GREASE_PENCIL_COLOR_BOTH, MOD_GREASE_PENCIL_COLOR_FILL, MOD_GREASE_PENCIL_COLOR_HARDNESS, MOD_GREASE_PENCIL_COLOR_STROKE, modify_fill_color(), modify_opacity(), modify_stroke_color(), ModifierEvalContext::object, blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::vertex_colors_for_write().
|
static |
Definition at line 173 of file MOD_grease_pencil_opacity.cc.
References blender::modifier::greasepencil::get_filtered_stroke_mask(), MOD_GREASE_PENCIL_COLOR_BOTH, MOD_GREASE_PENCIL_COLOR_FILL, MOD_GREASE_PENCIL_COLOR_HARDNESS, MOD_GREASE_PENCIL_COLOR_STROKE, modify_fill_color(), modify_softness(), modify_stroke_color(), and ModifierEvalContext::object.
|
static |
Definition at line 98 of file MOD_grease_pencil_lattice.cc.
References BKE_lattice_deform_data_eval_co(), blender::modifier::greasepencil::ensure_no_bezier_curves(), blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_filtered_stroke_mask(), blender::modifier::greasepencil::get_influence_vertex_weights(), ModifierEvalContext::object, blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_positions_changed().
|
static |
Definition at line 221 of file MOD_grease_pencil_array.cc.
References copy(), create_array_copies(), CurvesGeometry::curve_num, blender::bke::curves_copy_curve_selection(), blender::modifier::greasepencil::get_filtered_stroke_mask(), GreasePencilArrayModifierData::influence, ModifierEvalContext::object, blender::index_mask::IndexMask::size(), blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_topology_changed().
Referenced by modify_geometry_set().
|
static |
Definition at line 326 of file MOD_grease_pencil_dash.cc.
References create_dashes(), CurvesGeometry::curve_num, blender::modifier::greasepencil::ensure_no_bezier_curves(), blender::modifier::greasepencil::get_filtered_stroke_mask(), GreasePencilDashModifierData::influence, ModifierEvalContext::object, blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_topology_changed().
|
static |
Definition at line 627 of file MOD_grease_pencil_envelope.cc.
References create_envelope_strokes(), deform_drawing_as_envelope(), blender::modifier::greasepencil::ensure_no_bezier_curves(), get_envelope_info(), blender::modifier::greasepencil::get_filtered_stroke_mask(), GreasePencilEnvelopeModifierData::influence, MOD_GREASE_PENCIL_ENVELOPE_DEFORM, MOD_GREASE_PENCIL_ENVELOPE_FILLS, MOD_GREASE_PENCIL_ENVELOPE_SEGMENTS, GreasePencilEnvelopeModifierData::mode, ModifierEvalContext::object, and blender::bke::greasepencil::Drawing::strokes().
|
static |
Definition at line 139 of file MOD_grease_pencil_mirror.cc.
References create_mirror_copies(), CurvesGeometry::curve_num, blender::bke::curves_copy_curve_selection(), GreasePencilMirrorModifierData::flag, blender::modifier::greasepencil::get_filtered_stroke_mask(), GreasePencilMirrorModifierData::influence, MOD_GREASE_PENCIL_MIRROR_AXIS_X, MOD_GREASE_PENCIL_MIRROR_AXIS_Y, MOD_GREASE_PENCIL_MIRROR_AXIS_Z, ModifierEvalContext::object, blender::index_mask::IndexMask::size(), blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_topology_changed().
|
static |
Definition at line 176 of file MOD_grease_pencil_outline.cc.
References BKE_object_material_index_get(), blender::ed::greasepencil::create_curves_outline(), CurvesGeometry::curve_num, blender::modifier::greasepencil::ensure_no_bezier_curves(), find_closest_point(), GreasePencilOutlineModifierData::flag, blender::VArray< T >::ForSingle(), blender::modifier::greasepencil::get_filtered_stroke_mask(), GreasePencilOutlineModifierData::influence, blender::bke::greasepencil::LEGACY_RADIUS_CONVERSION_FACTOR, blender::math::length(), Object::loc, M_SQRT1_3, blender::math::max(), MOD_GREASE_PENCIL_OUTLINE_KEEP_SHAPE, GreasePencilOutlineModifierData::object, ModifierEvalContext::object, GreasePencilOutlineModifierData::outline_material, reorder_cyclic_curve_points(), blender::geometry::resample_to_length(), GreasePencilOutlineModifierData::sample_length, blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), GreasePencilOutlineModifierData::subdiv, blender::bke::greasepencil::Drawing::tag_topology_changed(), GreasePencilOutlineModifierData::thickness, and blender::math::transform_direction().
|
static |
Definition at line 140 of file MOD_grease_pencil_shrinkwrap.cc.
References GreasePencilShrinkwrapModifierData::aux_target, BKE_object_defgroup_name_index(), GreasePencilShrinkwrapModifierData::cache_data, blender::modifier::greasepencil::ensure_no_bezier_curves(), GreasePencilModifierInfluenceData::flag, blender::index_mask::IndexMask::foreach_index(), blender::VArray< T >::ForSingle(), blender::modifier::greasepencil::get_filtered_stroke_mask(), GREASE_PENCIL_INFLUENCE_INVERT_VERTEX_GROUP, GreasePencilShrinkwrapModifierData::influence, blender::Span< T >::is_empty(), GreasePencilShrinkwrapModifierData::keep_dist, ModifierEvalContext::object, params, GreasePencilShrinkwrapModifierData::proj_axis, GreasePencilShrinkwrapModifierData::proj_limit, GreasePencilShrinkwrapModifierData::shrink_mode, GreasePencilShrinkwrapModifierData::shrink_opts, GreasePencilShrinkwrapModifierData::shrink_type, shrinkwrapParams_deform(), blender::MutableSpan< T >::slice(), blender::Span< T >::slice(), blender::geometry::smooth_curve_attribute(), GreasePencilShrinkwrapModifierData::smooth_factor, GreasePencilShrinkwrapModifierData::smooth_step, blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), GreasePencilShrinkwrapModifierData::subsurf_levels, blender::bke::greasepencil::Drawing::tag_positions_changed(), GreasePencilShrinkwrapModifierData::target, and GreasePencilModifierInfluenceData::vertex_group_name.
|
static |
Definition at line 293 of file MOD_grease_pencil_offset.cc.
References BLI_assert_unreachable, blender::modifier::greasepencil::get_filtered_stroke_mask(), MOD_GREASE_PENCIL_OFFSET_LAYER, MOD_GREASE_PENCIL_OFFSET_MATERIAL, MOD_GREASE_PENCIL_OFFSET_RANDOM, MOD_GREASE_PENCIL_OFFSET_STROKE, modify_stroke_by_index(), modify_stroke_by_material(), modify_stroke_random(), ModifierEvalContext::object, and blender::bke::greasepencil::Drawing::strokes_for_write().
|
static |
Definition at line 159 of file MOD_grease_pencil_color.cc.
References BLI_assert_unreachable, blender::modifier::greasepencil::get_filtered_stroke_mask(), MOD_GREASE_PENCIL_COLOR_BOTH, MOD_GREASE_PENCIL_COLOR_FILL, MOD_GREASE_PENCIL_COLOR_HARDNESS, MOD_GREASE_PENCIL_COLOR_STROKE, modify_fill_color(), modify_stroke_color(), ModifierEvalContext::object, blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::vertex_colors_for_write().
|
static |
Definition at line 320 of file MOD_grease_pencil_offset.cc.
References BLI_assert_unreachable, blender::modifier::greasepencil::get_filtered_stroke_mask(), MOD_GREASE_PENCIL_OFFSET_LAYER, MOD_GREASE_PENCIL_OFFSET_MATERIAL, MOD_GREASE_PENCIL_OFFSET_RANDOM, MOD_GREASE_PENCIL_OFFSET_STROKE, modify_stroke_by_layer(), ModifierEvalContext::object, and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by modify_geometry_set().
|
static |
Definition at line 122 of file MOD_grease_pencil_opacity.cc.
References GreasePencilOpacityModifierData::color_factor, blender::bke::Curve, blender::bke::SpanAttributeWriter< T >::finish(), GreasePencilModifierInfluenceData::flag, GreasePencilOpacityModifierData::flag, blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), GREASE_PENCIL_INFLUENCE_INVERT_VERTEX_GROUP, GreasePencilOpacityModifierData::influence, blender::offset_indices::OffsetIndices< T >::is_empty(), MOD_GREASE_PENCIL_OPACITY_USE_WEIGHT_AS_FACTOR, and blender::bke::SpanAttributeWriter< T >::span.
|
static |
Definition at line 137 of file MOD_grease_pencil_color.cc.
References apply_color_factor(), BKE_object_material_get(), blender::bke::Curve, blender::bke::greasepencil::Drawing::fill_colors_for_write(), MaterialGPencilStyle::fill_rgba, blender::index_mask::IndexMask::foreach_index(), Material::gp_style, GreasePencilColorModifierData::hsv, and blender::bke::greasepencil::Drawing::strokes().
Referenced by modify_curves(), modify_curves(), and modify_drawing().
|
static |
Definition at line 240 of file MOD_grease_pencil_tint.cc.
References apply_gradient_tint(), apply_uniform_tint(), blender::bke::CurvesGeometry::attributes_for_write(), BKE_object_material_get(), blender::bke::Curve, GreasePencilTintModifierData::factor, blender::bke::greasepencil::Drawing::fill_colors_for_write(), MaterialGPencilStyle::fill_rgba, GreasePencilModifierInfluenceData::flag, GreasePencilTintModifierData::flag, blender::index_mask::IndexMask::foreach_index(), get_base_color(), blender::modifier::greasepencil::get_influence_vertex_weights(), Material::gp_style, GREASE_PENCIL_INFLUENCE_INVERT_VERTEX_GROUP, GreasePencilTintModifierData::influence, blender::offset_indices::OffsetIndices< T >::is_empty(), MOD_GREASE_PENCIL_TINT_GRADIENT, MOD_GREASE_PENCIL_TINT_UNIFORM, MOD_GREASE_PENCIL_TINT_USE_WEIGHT_AS_FACTOR, GreasePencilTintModifierData::object, pos, blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), and GreasePencilTintModifierData::tint_mode.
|
static |
Definition at line 150 of file MOD_grease_pencil_armature.cc.
References blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), modify_curves(), blender::threading::parallel_for_each(), and GreasePencil::runtime.
Referenced by modify_mesh().
|
static |
Definition at line 253 of file MOD_grease_pencil_array.cc.
References blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), modify_drawing(), blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 187 of file MOD_grease_pencil_color.cc.
References blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), modify_drawing(), blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 345 of file MOD_grease_pencil_dash.cc.
References blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), get_pattern_info(), blender::bke::GeometrySet::has_grease_pencil(), modify_drawing(), blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 653 of file MOD_grease_pencil_envelope.cc.
References blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), modify_drawing(), blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 247 of file MOD_grease_pencil_hook.cc.
References deform_drawing(), blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), GreasePencilHookModifierData::influence, ModifierEvalContext::object, blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 129 of file MOD_grease_pencil_lattice.cc.
References BKE_lattice_deform_data_create(), BKE_lattice_deform_data_destroy(), BLI_assert, blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), modify_curves(), OB_LATTICE, ModifierEvalContext::object, blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 175 of file MOD_grease_pencil_mirror.cc.
References blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), modify_drawing(), blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 214 of file MOD_grease_pencil_multiply.cc.
References generate_curves(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), and GreasePencil::runtime.
|
static |
Definition at line 235 of file MOD_grease_pencil_noise.cc.
References deform_drawing(), blender::modifier::greasepencil::FrameDrawingInfo::drawing, blender::modifier::greasepencil::get_drawing_infos_by_frame(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), ModifierEvalContext::object, blender::threading::parallel_for_each(), GreasePencil::runtime, and blender::modifier::greasepencil::FrameDrawingInfo::start_frame_number.
|
static |
Definition at line 345 of file MOD_grease_pencil_offset.cc.
References blender::modifier::greasepencil::get_drawing_infos_by_layer(), blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), MOD_GREASE_PENCIL_OFFSET_LAYER, modify_drawing(), modify_drawing_by_layer(), blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 200 of file MOD_grease_pencil_opacity.cc.
References blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), modify_curves(), blender::threading::parallel_for_each(), GreasePencil::runtime, and blender::bke::greasepencil::Drawing::strokes_for_write().
|
static |
Definition at line 234 of file MOD_grease_pencil_outline.cc.
References DEG_get_evaluated_scene(), ModifierEvalContext::depsgraph, blender::modifier::greasepencil::get_drawing_infos_by_layer(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), modify_drawing(), ModifierEvalContext::object, blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 215 of file MOD_grease_pencil_shrinkwrap.cc.
References BLI_assert, ensure_shrinkwrap_cache_data(), blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), modify_drawing(), ModifierEvalContext::object, blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 166 of file MOD_grease_pencil_simplify.cc.
References blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), ModifierEvalContext::object, blender::threading::parallel_for_each(), GreasePencil::runtime, and simplify_drawing().
|
static |
Definition at line 188 of file MOD_grease_pencil_smooth.cc.
References deform_drawing(), blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), GreasePencilSmoothModifierData::influence, ModifierEvalContext::object, blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 121 of file MOD_grease_pencil_subdiv.cc.
References blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), GreasePencilSubdivModifierData::influence, GreasePencilSubdivModifierData::level, ModifierEvalContext::object, GreasePencil::runtime, and subdivide_drawing().
|
static |
Definition at line 275 of file MOD_grease_pencil_texture.cc.
References blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), modify_curves(), blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 153 of file MOD_grease_pencil_thickness.cc.
References deform_drawing(), blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), GreasePencilThickModifierData::influence, ModifierEvalContext::object, blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 486 of file MOD_grease_pencil_time.cc.
References DEG_get_evaluated_scene(), ModifierEvalContext::depsgraph, fill_scene_timeline(), blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), and blender::bke::GeometrySet::has_grease_pencil().
|
static |
Definition at line 373 of file MOD_grease_pencil_tint.cc.
References blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), modify_curves(), blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 201 of file MOD_grease_pencil_weight_angle.cc.
References blender::modifier::greasepencil::get_drawings_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), GreasePencilWeightAngleModifierData::influence, ModifierEvalContext::object, blender::threading::parallel_for_each(), GreasePencil::runtime, target_vertex_group_available(), GreasePencilWeightAngleModifierData::target_vgname, GreasePencil::vertex_group_names, and write_weights_for_drawing().
|
static |
Definition at line 215 of file MOD_grease_pencil_weight_proximity.cc.
References blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), GreasePencilWeightProximityModifierData::influence, ModifierEvalContext::object, GreasePencil::runtime, target_vertex_group_available(), GreasePencilWeightProximityModifierData::target_vgname, GreasePencil::vertex_group_names, and write_weights_for_drawing().
|
static |
Definition at line 851 of file MOD_lineart.cc.
References BLI_assert, DEG_id_tag_update(), ModifierEvalContext::flag, generate_strokes(), blender::ed::greasepencil::get_first_lineart_modifier(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::ed::greasepencil::get_lineart_modifier_limits(), blender::bke::GeometrySet::has_grease_pencil(), GreasePencil::id, ID_RECALC_GEOMETRY, is_last_line_art(), LineartCache::LimitInfo, MOD_APPLY_RENDER, MOD_lineart_clear_cache(), MOD_lineart_init_cache(), ModifierEvalContext::object, blender::ed::greasepencil::set_lineart_modifier_limits(), and GreasePencilLineartModifierData::shared_cache.
|
static |
Definition at line 1888 of file MOD_nodes.cc.
References modifyGeometry().
|
static |
Definition at line 655 of file MOD_grease_pencil_build.cc.
References BLI_assert, build_drawing(), DEG_get_evaluated_scene(), ModifierEvalContext::depsgraph, blender::math::distance(), blender::modifier::greasepencil::LayerDrawingInfo::drawing, float, blender::modifier::greasepencil::get_drawing_infos_by_layer(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), blender::modifier::greasepencil::LayerDrawingInfo::layer_index, blender::math::min(), MOD_GREASE_PENCIL_BUILD_RESTRICT_TIME, ModifierEvalContext::object, blender::threading::parallel_for_each(), blender::math::round(), and GreasePencil::runtime.
|
static |
|
static |
Definition at line 1874 of file MOD_nodes.cc.
References BKE_mesh_new_nomain(), blender::bke::GeometrySet::get_component_for_write(), and modifyGeometry().
|
static |
Definition at line 317 of file MOD_grease_pencil_tint.cc.
References GreasePencilTintModifierData::factor, blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), blender::bke::Point, and blender::bke::SpanAttributeWriter< T >::span.
Referenced by modify_curves().
|
static |
Definition at line 157 of file MOD_grease_pencil_opacity.cc.
References blender::bke::Curve, blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), GreasePencilOpacityModifierData::hardness_factor, and blender::bke::SpanAttributeWriter< T >::span.
Referenced by modify_curves().
|
static |
Offset proportional to stroke index.
Definition at line 198 of file MOD_grease_pencil_offset.cc.
References apply_stroke_transform(), blender::index_mask::IndexMask::foreach_index(), get_factor_from_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), GreasePencilOffsetModifierData::influence, and blender::bke::Point.
Referenced by modify_drawing().
|
static |
Offset proportional to layer index.
Definition at line 262 of file MOD_grease_pencil_offset.cc.
References apply_stroke_transform(), blender::index_mask::IndexMask::foreach_index(), get_factor_from_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), GreasePencilOffsetModifierData::influence, and blender::bke::Point.
Referenced by modify_drawing_by_layer().
|
static |
Offset proportional to material index.
Definition at line 227 of file MOD_grease_pencil_offset.cc.
References apply_stroke_transform(), BKE_object_material_len_p(), blender::bke::Curve, blender::index_mask::IndexMask::foreach_index(), get_factor_from_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), GreasePencilOffsetModifierData::influence, and blender::bke::Point.
Referenced by modify_drawing().
|
static |
Definition at line 72 of file MOD_grease_pencil_opacity.cc.
References BKE_curvemapping_evaluateF(), GreasePencilOpacityModifierData::color_factor, GreasePencilModifierInfluenceData::custom_curve, blender::bke::SpanAttributeWriter< T >::finish(), GreasePencilModifierInfluenceData::flag, GreasePencilOpacityModifierData::flag, float, blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), GREASE_PENCIL_INFLUENCE_INVERT_VERTEX_GROUP, GREASE_PENCIL_INFLUENCE_USE_CUSTOM_CURVE, GreasePencilOpacityModifierData::influence, MOD_GREASE_PENCIL_OPACITY_USE_UNIFORM_OPACITY, MOD_GREASE_PENCIL_OPACITY_USE_WEIGHT_AS_FACTOR, blender::bke::Point, blender::offset_indices::OffsetIndices< T >::size(), and blender::bke::SpanAttributeWriter< T >::span.
|
static |
Definition at line 101 of file MOD_grease_pencil_color.cc.
References apply_color_factor(), BKE_curvemapping_evaluateF(), BKE_object_material_get(), blender::bke::Curve, GreasePencilModifierInfluenceData::custom_curve, GreasePencilModifierInfluenceData::flag, float, blender::index_mask::IndexMask::foreach_index(), Material::gp_style, GREASE_PENCIL_INFLUENCE_USE_CUSTOM_CURVE, GreasePencilColorModifierData::hsv, GreasePencilColorModifierData::influence, and MaterialGPencilStyle::stroke_rgba.
Referenced by modify_curves(), modify_curves(), and modify_drawing().
|
static |
Definition at line 163 of file MOD_grease_pencil_tint.cc.
References apply_gradient_tint(), apply_uniform_tint(), BKE_object_material_get(), blender::bke::Curve, GreasePencilTintModifierData::factor, GreasePencilModifierInfluenceData::flag, GreasePencilTintModifierData::flag, blender::index_mask::IndexMask::foreach_index(), get_base_color(), blender::modifier::greasepencil::get_influence_vertex_weights(), Material::gp_style, GREASE_PENCIL_INFLUENCE_INVERT_VERTEX_GROUP, GreasePencilTintModifierData::influence, MOD_GREASE_PENCIL_TINT_GRADIENT, MOD_GREASE_PENCIL_TINT_UNIFORM, MOD_GREASE_PENCIL_TINT_USE_WEIGHT_AS_FACTOR, GreasePencilTintModifierData::object, MaterialGPencilStyle::stroke_rgba, and GreasePencilTintModifierData::tint_mode.
|
static |
Randomized offset per stroke.
Definition at line 125 of file MOD_grease_pencil_offset.cc.
References apply_stroke_transform(), BLI_halton_3d(), BLI_hash_int_01(), BLI_hash_string(), GreasePencilOffsetModifierData::flag, fmodf, blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), Object::id, GreasePencilOffsetModifierData::influence, MOD_GREASE_PENCIL_OFFSET_UNIFORM_RANDOM_SCALE, GreasePencilOffsetModifierData::modifier, ID::name, ModifierData::name, blender::bke::Point, GreasePencilOffsetModifierData::seed, and seed.
Referenced by modify_drawing().
|
static |
Definition at line 1761 of file MOD_nodes.cc.
References add_data_block_items_writeback(), blender::nodes::GeoNodesCallData::bake_params, BKE_modifier_get_original(), BKE_modifier_set_error(), CD_ORIGINDEX, CD_SET_DEFAULT, check_property_socket_sync(), blender::bke::GeometrySet::clear(), CustomData_add_layer(), CustomData_has_layer(), DEG_is_active(), blender::nodes::GeoNodesModifierData::depsgraph, ModifierEvalContext::depsgraph, blender::nodes::GeoNodesCallData::eval_log, find_side_effect_nodes(), find_socket_log_contexts(), ModifierEvalContext::flag, blender::bke::GeometrySet::get_mesh(), blender::bke::GeometrySet::get_mesh_for_write(), bNodeSocket::idname, blender::Span< T >::is_empty(), logging_enabled(), MOD_APPLY_TO_ORIGINAL, NodesModifierData::modifier, blender::nodes::GeoNodesCallData::modifier_data, modifyGeometry(), ModifierData::name, NodesModifierData::node_group, ModifierEvalContext::object, NodesModifierSettings::properties, NodesModifierData::runtime, NodesModifierData::settings, blender::nodes::GeoNodesCallData::side_effect_nodes, blender::nodes::GeoNodesCallData::simulation_params, blender::nodes::GeoNodesCallData::socket_log_contexts, STREQ, and tree.
Referenced by modify_geometry_set(), modify_mesh(), and modifyGeometry().
|
noexcept |
This can be used by containers to implement an exception-safe move-assignment-operator. It assumes that the container has an exception-safe move-constructor and a noexcept constructor tagged with the NoExceptConstructor tag.
Definition at line 347 of file BLI_memory_utils.hh.
References move_assign_container().
Referenced by move_assign_container(), blender::Array< T, InlineBufferCapacity, Allocator >::operator=(), blender::bits::BitGroupVector< InlineBufferCapacity, Allocator >::operator=(), blender::bits::BitVector< InlineBufferCapacity, Allocator >::operator=(), blender::GArray< Allocator >::operator=(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::operator=(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::operator=(), blender::Stack< T, InlineBufferCapacity, Allocator >::operator=(), blender::Vector< T, InlineBufferCapacity, Allocator >::operator=(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::operator=().
| void blender::nodes_modifier_data_block_destruct | ( | NodesModifierDataBlock * | data_block, |
| const bool | do_id_user ) |
Definition at line 1625 of file MOD_nodes.cc.
References NodesModifierDataBlock::id, NodesModifierDataBlock::id_name, id_us_min(), NodesModifierDataBlock::lib_name, and MEM_SAFE_FREE.
| void blender::nodes_modifier_packed_bake_free | ( | NodesModifierPackedBake * | packed_bake | ) |
Definition at line 2732 of file MOD_nodes.cc.
References BKE_packedfile_free(), NodesModifierPackedBake::blob_files, NodesModifierPackedBake::blob_files_num, MEM_SAFE_FREE, NodesModifierPackedBake::meta_files, NodesModifierPackedBake::meta_files_num, and nodes_modifier_packed_bake_free().
Referenced by free_data(), nodes_modifier_packed_bake_free(), blender::ed::object::bake_simulation::try_delete_bake(), and blender::bke::bake::unpack_geometry_nodes_bake().
|
static |
Definition at line 83 of file MOD_grease_pencil_noise.cc.
References BLI_hash_int_01(), BLI_hash_int_2d(), len, and seed.
Definition at line 92 of file MOD_grease_pencil_length.cc.
References BLI_hash_int_01(), BLI_hash_int_2d(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), len, and seed.
Referenced by deform_drawing(), and deform_drawing().
Definition at line 442 of file MOD_lineart.cc.
References col, IFACE_, Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_NONE, uiItemL(), uiItemR(), uiLayoutColumn(), uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
Definition at line 604 of file BLI_string_ref.hh.
References b.
| MatBase< T, B_NumCol, A_NumRow > blender::operator* | ( | const MatBase< T, A_NumCol, A_NumRow > & | a, |
| const MatBase< T, B_NumCol, B_NumRow > & | b ) |
Definition at line 918 of file BLI_math_matrix_types.hh.
References b.
| MatBase< T, B_NumCol, A_NumRow > blender::operator* | ( | const MatBase< T, A_NumCol, A_NumRow > & | a, |
| const MatView< T, B_NumCol, B_NumRow, B_SrcNumCol, B_SrcNumRow, B_SrcStartCol, B_SrcStartRow, B_SrcAlignment > & | b ) |
Definition at line 991 of file BLI_math_matrix_types.hh.
References b.
| MatBase< T, B_NumCol, A_NumRow > blender::operator* | ( | const MatView< T, A_NumCol, A_NumRow, A_SrcNumCol, A_SrcNumRow, A_SrcStartCol, A_SrcStartRow, A_SrcAlignment > & | a, |
| const MatBase< T, B_NumCol, B_NumRow > & | b ) |
Definition at line 968 of file BLI_math_matrix_types.hh.
References b.
| MatBase< T, B_NumCol, A_NumRow > blender::operator* | ( | const MatView< T, A_NumCol, A_NumRow, A_SrcNumCol, A_SrcNumRow, A_SrcStartCol, A_SrcStartRow, A_SrcAlignment > & | a, |
| const MatView< T, B_NumCol, B_NumRow, B_SrcNumCol, B_SrcNumRow, B_SrcStartCol, B_SrcStartRow, B_SrcAlignment > & | b ) |
Definition at line 939 of file BLI_math_matrix_types.hh.
References b.
Adding two #StringRefs will allocate an std::string. This is not efficient, but convenient in most cases.
Definition at line 587 of file BLI_string_ref.hh.
References b.
Definition at line 195 of file uuid.cc.
References bUUID::clock_seq_hi_and_reserved, bUUID::clock_seq_low, bUUID::node, bUUID::time_hi_and_version, bUUID::time_low, and bUUID::time_mid.
Definition at line 609 of file BLI_string_ref.hh.
References b.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const ColorRGBA< ChannelStorageType, Space, Alpha > & | c ) |
Definition at line 46 of file BLI_color.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, and Space.
| template std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const ColorRGBA< float, eSpace::SceneLinear, eAlpha::Premultiplied > & | c ) |
| template std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const ColorRGBA< float, eSpace::SceneLinear, eAlpha::Straight > & | c ) |
| template std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const ColorRGBA< uint8_t, eSpace::SceneLinearByteEncoded, eAlpha::Premultiplied > & | c ) |
| template std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const ColorRGBA< uint8_t, eSpace::SceneLinearByteEncoded, eAlpha::Straight > & | c ) |
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const ComputeContext & | compute_context ) |
Definition at line 50 of file compute_context.cc.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const ComputeContextHash & | hash ) |
Definition at line 26 of file compute_context.cc.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const eAlpha & | space ) |
Definition at line 11 of file BLI_color.cc.
References Premultiplied, and Straight.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const eSpace & | space ) |
Definition at line 26 of file BLI_color.cc.
References SceneLinear, SceneLinearByteEncoded, and Theme.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const OrderedEdge & | e ) |
Definition at line 9 of file ordered_edge.cc.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| IndexRange | range ) |
Definition at line 42 of file index_range.cc.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| StringRef | ref ) |
Definition at line 11 of file string_ref.cc.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| StringRefNull | ref ) |
Definition at line 17 of file string_ref.cc.
References blender::StringRefBase::data(), and blender::StringRefBase::size().
Definition at line 619 of file BLI_string_ref.hh.
References b.
Definition at line 185 of file uuid.cc.
References BLI_uuid_equal().
Definition at line 599 of file BLI_string_ref.hh.
References b.
Definition at line 614 of file BLI_string_ref.hh.
References b.
Definition at line 624 of file BLI_string_ref.hh.
References b.
Definition at line 364 of file MOD_lineart.cc.
References col, PointerRNA::data, IFACE_, is_first_lineart(), Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_pointer_get(), RPT_, UI_ITEM_NONE, uiItemL(), uiItemR(), uiLayoutColumn(), uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
Definition at line 396 of file MOD_lineart.cc.
References col, PointerRNA::data, IFACE_, is_first_lineart(), Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_NONE, uiItemL(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutRowWithHeading(), uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
orient2d gives the exact result, using multi-precision arithmetic when result is close to zero. orient3d_fast just uses double arithmetic, so may be wrong if the answer is very close to zero. Similarly, for incircle and incircle_fast.
Definition at line 2468 of file math_boolean.cc.
References b, blender::robust_pred::orient2d(), and sgn().
Referenced by filtered_orient2d< double >().
Definition at line 2473 of file math_boolean.cc.
References b, blender::robust_pred::orient2dfast(), and sgn().
| int blender::orient3d | ( | const double3 & | a, |
| const double3 & | b, | ||
| const double3 & | c, | ||
| const double3 & | d ) |
orient3d gives the exact result, using multi-precision arithmetic when result is close to zero. orient3d_fast just uses double arithmetic, so may be wrong if the answer is very close to zero. Similarly, for insphere and insphere_fast.
Definition at line 2488 of file math_boolean.cc.
References b, blender::robust_pred::orient3d(), and sgn().
| int blender::orient3d_fast | ( | const double3 & | a, |
| const double3 & | b, | ||
| const double3 & | c, | ||
| const double3 & | d ) |
Definition at line 2493 of file math_boolean.cc.
References b, blender::robust_pred::orient3dfast(), and sgn().
Definition at line 232 of file MOD_lineart.cc.
References col, PointerRNA::data, IFACE_, is_first_lineart(), Panel::layout, LINEART_SOURCE_COLLECTION, LINEART_SOURCE_OBJECT, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_enum_get(), RNA_pointer_get(), UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiItemPointerR(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Definition at line 171 of file MOD_grease_pencil_armature.cc.
References col, blender::modifier::greasepencil::draw_vertex_group_settings(), IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, UI_ITEM_NONE, uiItemR(), uiLayoutColumnWithHeading(), and uiLayoutSetPropSep().
Referenced by panel_register(), panel_register(), panel_register(), and panel_register().
Definition at line 277 of file MOD_grease_pencil_array.cc.
References col, blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), UI_ITEM_NONE, uiItemR(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 712 of file MOD_grease_pencil_build.cc.
References col, blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, MOD_GREASE_PENCIL_BUILD_MODE_ADDITIVE, MOD_GREASE_PENCIL_BUILD_MODE_CONCURRENT, MOD_GREASE_PENCIL_BUILD_MODE_SEQUENTIAL, MOD_GREASE_PENCIL_BUILD_TIMEMODE_DRAWSPEED, MOD_GREASE_PENCIL_BUILD_TIMEMODE_FRAMES, MOD_GREASE_PENCIL_BUILD_TIMEMODE_PERCENTAGE, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_enum_get(), RNA_enum_set(), UI_ITEM_NONE, uiItemPointerR(), uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 208 of file MOD_grease_pencil_color.cc.
References blender::modifier::greasepencil::draw_custom_curve_settings(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiItemR(), uiLayoutPanelProp(), and uiLayoutSetPropSep().
Definition at line 371 of file MOD_grease_pencil_dash.cc.
References col, PointerRNA::data, blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), PointerRNA::owner_id, ptr, RNA_pointer_create(), UI_ITEM_NONE, UI_TEMPLATE_LIST_FLAG_NONE, uiItemEnumO_string(), uiItemO(), uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutRow(), uiLayoutSetPropSep(), and uiTemplateList().
Definition at line 677 of file MOD_grease_pencil_envelope.cc.
References blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), IFACE_, Panel::layout, MOD_GREASE_PENCIL_ENVELOPE_DEFORM, MOD_GREASE_PENCIL_ENVELOPE_FILLS, MOD_GREASE_PENCIL_ENVELOPE_SEGMENTS, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_enum_get(), UI_ITEM_NONE, uiItemR(), uiLayoutPanelProp(), and uiLayoutSetPropSep().
Definition at line 272 of file MOD_grease_pencil_hook.cc.
References col, blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), eWarp_Falloff_Curve, eWarp_Falloff_None, IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), OB_ARMATURE, ptr, RNA_enum_get(), RNA_pointer_get(), RNA_pointer_is_null(), UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiItemPointerR(), uiItemR(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutRow(), uiLayoutSetActive(), uiLayoutSetPropSep(), and uiTemplateCurveMapping().
Definition at line 154 of file MOD_grease_pencil_lattice.cc.
References blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiItemR(), uiLayoutPanelProp(), and uiLayoutSetPropSep().
Definition at line 273 of file MOD_grease_pencil_length.cc.
References col, GP_LENGTH_RELATIVE, IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_enum_get(), UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiItemR(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 199 of file MOD_grease_pencil_mirror.cc.
References blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, UI_ITEM_NONE, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_TOGGLE, uiItemR(), uiLayoutPanelProp(), uiLayoutRowWithHeading(), and uiLayoutSetPropSep().
Definition at line 235 of file MOD_grease_pencil_multiply.cc.
References col, IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_int_get(), UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiItemR(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 271 of file MOD_grease_pencil_noise.cc.
References col, blender::modifier::greasepencil::draw_custom_curve_settings(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), GP_NOISE_RANDOM_KEYFRAME, IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_enum_get(), UI_ITEM_NONE, uiItemR(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 380 of file MOD_grease_pencil_offset.cc.
References BKE_panel_layout_panel_state_ensure(), col, blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), IFACE_, Panel::layout, MOD_GREASE_PENCIL_OFFSET_LAYER, MOD_GREASE_PENCIL_OFFSET_MATERIAL, MOD_GREASE_PENCIL_OFFSET_RANDOM, MOD_GREASE_PENCIL_OFFSET_STROKE, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_enum_get(), RNA_pointer_create(), UI_ITEM_NONE, uiItemR(), uiLayoutColumn(), uiLayoutPanelProp(), and uiLayoutSetPropSep().
Definition at line 221 of file MOD_grease_pencil_opacity.cc.
References blender::modifier::greasepencil::draw_custom_curve_settings(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), IFACE_, Panel::layout, MOD_GREASE_PENCIL_COLOR_HARDNESS, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_enum_get(), UI_ITEM_NONE, uiItemR(), uiLayoutPanelProp(), uiLayoutRow(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 269 of file MOD_grease_pencil_outline.cc.
References CTX_data_scene(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RPT_, UI_ITEM_NONE, uiItemL(), uiItemR(), uiLayoutPanelProp(), and uiLayoutSetPropSep().
Definition at line 246 of file MOD_grease_pencil_shrinkwrap.cc.
References col, blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), ELEM, IFACE_, Panel::layout, MOD_SHRINKWRAP_NEAREST_SURFACE, MOD_SHRINKWRAP_PROJECT, MOD_SHRINKWRAP_TARGET_PROJECT, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_enum_get(), UI_ITEM_NONE, UI_ITEM_R_EXPAND, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_TOGGLE, uiItemR(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutRowWithHeading(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 197 of file MOD_grease_pencil_simplify.cc.
References blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, MOD_GREASE_PENCIL_SIMPLIFY_ADAPTIVE, MOD_GREASE_PENCIL_SIMPLIFY_FIXED, MOD_GREASE_PENCIL_SIMPLIFY_MERGE, MOD_GREASE_PENCIL_SIMPLIFY_SAMPLE, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_enum_get(), UI_ITEM_NONE, uiItemR(), uiLayoutPanelProp(), and uiLayoutSetPropSep().
Definition at line 211 of file MOD_grease_pencil_smooth.cc.
References col, blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), UI_ITEM_NONE, UI_ITEM_R_TOGGLE, uiItemR(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutRow(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 152 of file MOD_grease_pencil_subdiv.cc.
References IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, UI_ITEM_NONE, uiItemR(), uiLayoutPanelProp(), and uiLayoutSetPropSep().
Definition at line 299 of file MOD_grease_pencil_texture.cc.
References col, PointerRNA::data, blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), ELEM, IFACE_, Panel::layout, MOD_GREASE_PENCIL_TEXTURE_FILL, MOD_GREASE_PENCIL_TEXTURE_STROKE, MOD_GREASE_PENCIL_TEXTURE_STROKE_AND_FILL, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, UI_ITEM_NONE, uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutPanelProp(), and uiLayoutSetPropSep().
Definition at line 176 of file MOD_grease_pencil_thickness.cc.
References blender::modifier::greasepencil::draw_custom_curve_settings(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), UI_ITEM_NONE, uiItemR(), uiLayoutPanelProp(), uiLayoutRow(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 520 of file MOD_grease_pencil_time.cc.
References PanelLayout::body, col, PointerRNA::data, blender::modifier::greasepencil::draw_layer_filter_settings(), ELEM, PanelLayout::header, IFACE_, Panel::layout, MOD_GREASE_PENCIL_TIME_MODE_CHAIN, MOD_GREASE_PENCIL_TIME_MODE_FIX, modifier_panel_end(), modifier_panel_get_property_pointers(), PointerRNA::owner_id, ptr, RNA_boolean_get(), RNA_enum_get(), RNA_pointer_create(), UI_ITEM_NONE, UI_TEMPLATE_LIST_FLAG_NONE, uiItemEnumO_string(), uiItemO(), uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutRow(), uiLayoutSetActive(), uiLayoutSetPropSep(), and uiTemplateList().
Definition at line 394 of file MOD_grease_pencil_tint.cc.
References col, blender::modifier::greasepencil::draw_custom_curve_settings(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), IFACE_, Panel::layout, MOD_GREASE_PENCIL_TINT_GRADIENT, MOD_GREASE_PENCIL_TINT_UNIFORM, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_enum_get(), UI_ITEM_NONE, UI_ITEM_R_EXPAND, uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutRow(), uiLayoutSetActive(), uiLayoutSetPropSep(), and uiTemplateColorRamp().
Definition at line 231 of file MOD_grease_pencil_weight_angle.cc.
References blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::modifier::greasepencil::draw_vertex_group_settings(), IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_string_length(), UI_ITEM_NONE, uiItemPointerR(), uiItemR(), uiLayoutPanelProp(), uiLayoutRow(), uiLayoutSetActive(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Definition at line 245 of file MOD_grease_pencil_weight_proximity.cc.
References IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), ptr, RNA_string_length(), UI_ITEM_NONE, uiItemPointerR(), uiItemR(), uiLayoutColumn(), uiLayoutPanelProp(), uiLayoutRow(), uiLayoutSetActive(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Definition at line 2473 of file MOD_nodes.cc.
References PointerRNA::data, draw_interface_panel_content(), draw_manage_panel(), draw_output_attributes_panel(), draw_warnings(), NodesModifierData::flag, has_output_attribute(), IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), NodesModifierData::node_group, NODES_MODIFIER_HIDE_DATABLOCK_SELECTOR, NodesModifierSettings::properties, ptr, bNodeTreeInterface::root_panel, NodesModifierData::settings, bNodeTree::tree_interface, uiLayoutPanelProp(), uiLayoutSetPropDecorate(), uiLayoutSetPropSep(), and uiTemplateID().
|
static |
Definition at line 190 of file MOD_grease_pencil_armature.cc.
References eModifierType_GreasePencilArmature, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 343 of file MOD_grease_pencil_array.cc.
References eModifierType_GreasePencilArray, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 812 of file MOD_grease_pencil_build.cc.
References eModifierType_GreasePencilBuild, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 234 of file MOD_grease_pencil_color.cc.
References eModifierType_GreasePencilColor, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 457 of file MOD_grease_pencil_dash.cc.
References uiListType::draw_item, eModifierType_GreasePencilDash, uiListType::idname, MEM_callocN, modifier_panel_register(), panel_draw(), segment_list_item_draw(), STRNCPY, and WM_uilisttype_add().
|
static |
Definition at line 715 of file MOD_grease_pencil_envelope.cc.
References eModifierType_GreasePencilEnvelope, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 324 of file MOD_grease_pencil_hook.cc.
References eModifierType_GreasePencilHook, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 177 of file MOD_grease_pencil_lattice.cc.
References eModifierType_GreasePencilLattice, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 337 of file MOD_grease_pencil_length.cc.
References eModifierType_GreasePencilLength, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 226 of file MOD_grease_pencil_mirror.cc.
References eModifierType_GreasePencilMirror, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 275 of file MOD_grease_pencil_multiply.cc.
References eModifierType_GreasePencilMultiply, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 318 of file MOD_grease_pencil_noise.cc.
References eModifierType_GreasePencilNoise, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 443 of file MOD_grease_pencil_offset.cc.
References eModifierType_GreasePencilOffset, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 267 of file MOD_grease_pencil_opacity.cc.
References eModifierType_GreasePencilOpacity, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 300 of file MOD_grease_pencil_outline.cc.
References eModifierType_GreasePencilOutline, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 312 of file MOD_grease_pencil_shrinkwrap.cc.
References eModifierType_GreasePencilShrinkwrap, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 233 of file MOD_grease_pencil_simplify.cc.
References eModifierType_GreasePencilSimplify, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 246 of file MOD_grease_pencil_smooth.cc.
References eModifierType_GreasePencilSmooth, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 173 of file MOD_grease_pencil_subdiv.cc.
References eModifierType_GreasePencilSubdiv, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 343 of file MOD_grease_pencil_texture.cc.
References eModifierType_GreasePencilTexture, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 210 of file MOD_grease_pencil_thickness.cc.
References eModifierType_GreasePencilThickness, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 639 of file MOD_grease_pencil_time.cc.
References uiListType::draw_item, eModifierType_GreasePencilTime, uiListType::idname, MEM_callocN, modifier_panel_register(), panel_draw(), segment_list_item_draw(), STRNCPY, and WM_uilisttype_add().
|
static |
Definition at line 441 of file MOD_grease_pencil_tint.cc.
References eModifierType_GreasePencilTint, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 268 of file MOD_grease_pencil_weight_angle.cc.
References eModifierType_GreasePencilWeightAngle, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 282 of file MOD_grease_pencil_weight_proximity.cc.
References eModifierType_GreasePencilWeightProximity, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 736 of file MOD_lineart.cc.
References bake_panel_draw(), chaining_panel_draw(), composition_panel_draw(), edge_types_panel_draw(), eModifierType_GreasePencilLineart, face_mark_panel_draw(), face_mark_panel_draw_header(), intersection_panel_draw(), material_mask_panel_draw(), material_mask_panel_draw_header(), modifier_panel_register(), modifier_subpanel_register(), occlusion_panel_draw(), options_light_reference_draw(), options_panel_draw(), panel_draw(), and vgroup_panel_draw().
|
static |
Definition at line 2514 of file MOD_nodes.cc.
References eModifierType_Nodes, modifier_panel_register(), and panel_draw().
| void blender::parallel_sort | ( | RandomAccessIterator | begin, |
| RandomAccessIterator | end ) |
Definition at line 23 of file BLI_sort.hh.
Referenced by BKE_mesh_validate_arrays(), blender::io::obj::OBJMesh::calc_face_order(), blender::AtomicDisjointSet::calc_reduced_ids(), blender::nodes::node_geo_scale_elements_cc::from_indices_large_groups(), blender::io::obj::geometry_to_blender_objects(), blender::nodes::node_geo_sort_elements_cc::identifiers_to_indices(), lineart_sort_adjacent_items(), blender::index_mask::ParallelSegmentsCollector::reduce(), reorder_strokes(), blender::io::usd::USDStageReader::sort_readers(), and sort_readers().
| void blender::parallel_sort | ( | RandomAccessIterator | begin, |
| RandomAccessIterator | end, | ||
| const Compare & | comp ) |
Definition at line 28 of file BLI_sort.hh.
|
static |
Definition at line 104 of file MOD_grease_pencil_build.cc.
References curve, len, blender::math::max(), MOD_GREASE_PENCIL_BUILD_TIMEALIGN_END, MOD_GREASE_PENCIL_BUILD_TIMEALIGN_START, MOD_GREASE_PENCIL_BUILD_TRANSITION_GROW, result, select(), and blender::offset_indices::OffsetIndices< T >::size().
Referenced by build_concurrent().
|
static |
Definition at line 284 of file MOD_grease_pencil_build.cc.
References blender::bke::CurvesGeometry::curves_num(), MOD_GREASE_PENCIL_BUILD_TRANSITION_GROW, MOD_GREASE_PENCIL_BUILD_TRANSITION_VANISH, select(), blender::offset_indices::OffsetIndices< T >::size(), blender::offset_indices::sum_group_sizes(), and blender::offset_indices::OffsetIndices< T >::total_size().
Referenced by build_sequential().
| void blender::register_cpp_types | ( | ) |
Initialize and register basic cpp types.
Referenced by BKE_cpp_types_init().
|
static |
Definition at line 332 of file MOD_nodes.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::bke::bake::ModifierCache::bake_cache_by_id, NodesModifierData::bakes, NodesModifierData::bakes_num, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), lock, blender::bke::bake::ModifierCache::mutex, remove_outdated_bake_caches(), NodesModifierData::runtime, and blender::bke::bake::ModifierCache::simulation_cache_by_id.
Referenced by remove_outdated_bake_caches(), and update_bakes_from_node_group().
|
static |
Rearrange curve buffers by moving points from the start to the back of each stroke.
| curve_offsets | Offset of each curve, indicating the point that becomes the new start. |
Definition at line 113 of file MOD_grease_pencil_outline.cc.
References blender::bke::CurvesGeometry::attributes(), blender::bke::CurvesGeometry::attributes_for_write(), BLI_assert, blender::bke::CurvesGeometry::curves_num(), blender::array_utils::fill_index_range(), blender::index_mask::IndexMask::foreach_index(), blender::bke::gather_attributes(), indices, blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_num(), blender::offset_indices::OffsetIndices< T >::size(), blender::Span< T >::size(), blender::MutableSpan< T >::take_back(), and blender::MutableSpan< T >::take_front().
Referenced by modify_drawing().
|
static |
Definition at line 445 of file MOD_grease_pencil_build.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), b, blender::Array< T, InlineBufferCapacity, Allocator >::begin(), blender::math::distance(), blender::Array< T, InlineBufferCapacity, Allocator >::end(), blender::math::max(), parallel_sort(), blender::geometry::reorder_curves_geometry(), and select().
Referenced by build_drawing().
|
static |
Definition at line 2778 of file MOD_nodes.cc.
References CD_MASK_MDEFORMVERT, CD_MASK_PROP_ALL, and CustomData_MeshMasks::vmask.
Definition at line 118 of file MOD_grease_pencil_texture.cc.
References blender::math::cos(), and blender::math::sin().
Referenced by write_fill_transforms().
|
static |
Definition at line 442 of file MOD_grease_pencil_dash.cc.
References UI_ITEM_R_NO_BG, uiItemR(), and uiLayoutRow().
Referenced by panel_register().
|
static |
Definition at line 624 of file MOD_grease_pencil_time.cc.
References UI_ITEM_R_NO_BG, uiItemR(), and uiLayoutRow().
Definition at line 2463 of file math_boolean.cc.
Referenced by incircle(), incircle_fast(), insphere(), insphere_fast(), orient2d(), orient2d_fast(), orient3d(), and orient3d_fast().
|
static |
Definition at line 99 of file MOD_grease_pencil_simplify.cc.
References blender::bke::curves_copy_point_selection(), blender::ed::greasepencil::curves_merge_by_distance(), GreasePencilSimplifyModifierData::distance, blender::modifier::greasepencil::ensure_no_bezier_curves(), GreasePencilSimplifyModifierData::factor, blender::index_mask::IndexMask::from_predicate(), blender::modifier::greasepencil::get_filtered_stroke_mask(), GreasePencilSimplifyModifierData::influence, blender::index_mask::IndexMask::is_empty(), GreasePencilSimplifyModifierData::length, MOD_GREASE_PENCIL_SIMPLIFY_ADAPTIVE, MOD_GREASE_PENCIL_SIMPLIFY_FIXED, MOD_GREASE_PENCIL_SIMPLIFY_MERGE, MOD_GREASE_PENCIL_SIMPLIFY_SAMPLE, GreasePencilSimplifyModifierData::mode, blender::bke::CurvesGeometry::remove_points(), blender::geometry::resample_to_length(), blender::geometry::simplify_curve_attribute(), simplify_fixed(), blender::index_mask::IndexMask::size(), GreasePencilSimplifyModifierData::step, blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_topology_changed().
Referenced by modify_geometry_set().
|
static |
Definition at line 81 of file MOD_grease_pencil_simplify.cc.
References blender::index_mask::IndexMask::from_predicate(), and blender::math::pow().
Referenced by simplify_drawing().
| AlignedIndexRanges blender::split_index_range_by_alignment | ( | const IndexRange | range, |
| const int64_t | alignment ) |
Split a range into three parts so that the boundaries of the middle part are aligned to some power of two.
This can be used when an algorithm can be optimized on aligned indices/memory. The algorithm then needs a slow path for the beginning and end, and a fast path for the aligned elements.
Definition at line 12 of file index_range.cc.
References blender::AlignedIndexRanges::aligned, BLI_assert, mask(), blender::IndexRange::one_after_last(), blender::AlignedIndexRanges::prefix, range, and blender::AlignedIndexRanges::suffix.
Referenced by blender::bits::bits_to_index_ranges(), blender::bits::MutableBitSpan::reset_all(), blender::bits::MutableBitSpan::set_all(), and blender::tests::TEST().
|
static |
Definition at line 79 of file MOD_grease_pencil_subdiv.cc.
References blender::bke::CurvesGeometry::curves_range(), blender::modifier::greasepencil::ensure_no_bezier_curves(), blender::VArray< T >::ForSingle(), blender::modifier::greasepencil::get_filtered_stroke_mask(), GreasePencilSubdivModifierData::influence, GreasePencilSubdivModifierData::level, MOD_GREASE_PENCIL_SUBDIV_CATMULL, blender::threading::parallel_for(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_num(), blender::bke::CurvesGeometry::positions_for_write(), blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::geometry::subdivide_curves(), and GreasePencilSubdivModifierData::type.
Referenced by modify_geometry_set().
|
static |
Definition at line 101 of file MOD_grease_pencil_length.cc.
References blender::math::ceil(), blender::math::floor(), blender::math::fract(), and blender::math::interpolate().
Referenced by deform_drawing().
|
static |
Definition at line 115 of file MOD_grease_pencil_weight_angle.cc.
References BKE_defgroup_name_index().
Referenced by modify_geometry_set().
|
static |
Definition at line 142 of file MOD_grease_pencil_weight_proximity.cc.
References BKE_defgroup_name_index().
Referenced by modify_geometry_set().
| blender::TEST | ( | BLI_string_utils | , |
| BLI_uniquename_cb | ) |
Definition at line 21 of file BLI_string_utils_test.cc.
References BLI_uniquename_cb(), EXPECT_EQ(), and unique_check_func().
| blender::TEST_F | ( | TrackingTest | , |
| BKE_tracking_marker_get | ) |
Definition at line 34 of file tracking_test.cc.
References BKE_tracking_marker_get(), BKE_tracking_track_free(), EXPECT_EQ(), MovieTrackingMarker::framenr, and MovieTrackingTrack::markers.
| blender::TEST_F | ( | TrackingTest | , |
| BKE_tracking_marker_get_exact | ) |
Definition at line 90 of file tracking_test.cc.
References BKE_tracking_marker_get_exact(), BKE_tracking_track_free(), EXPECT_EQ(), and MovieTrackingMarker::framenr.
| blender::TEST_F | ( | TrackingTest | , |
| BKE_tracking_marker_get_interpolated | ) |
Definition at line 111 of file tracking_test.cc.
References BKE_tracking_marker_get_interpolated(), BKE_tracking_track_free(), EXPECT_EQ(), MovieTrackingMarker::flag, MovieTrackingMarker::framenr, MARKER_DISABLED, MARKER_TRACKED, and MovieTrackingMarker::pos.
|
inlineconstexpr |
Definition at line 55 of file BLI_hash_tables.hh.
References ceil_division_by_fraction().
Referenced by blender::LoadFactor::compute_total_slots().
| blender::TRIVIAL_DEFAULT_INT_HASH | ( | int16_t | ) |
| blender::TRIVIAL_DEFAULT_INT_HASH | ( | int32_t | ) |
| blender::TRIVIAL_DEFAULT_INT_HASH | ( | int64_t | ) |
| blender::TRIVIAL_DEFAULT_INT_HASH | ( | int8_t | ) |
We cannot make any assumptions about the distribution of keys, so use a trivial hash function by default. The default probing strategy is designed to take all bits of the hash into account to avoid worst case behavior when the lower bits are all zero. Special hash functions can be implemented when more knowledge about a specific key distribution is available.
| blender::TRIVIAL_DEFAULT_INT_HASH | ( | uint16_t | ) |
| blender::TRIVIAL_DEFAULT_INT_HASH | ( | uint32_t | ) |
| blender::TRIVIAL_DEFAULT_INT_HASH | ( | uint64_t | ) |
| blender::TRIVIAL_DEFAULT_INT_HASH | ( | uint8_t | ) |
|
static |
Setup side effects nodes so that the given node in the given compute context will be executed. To make sure that it is executed, all parent group nodes and zones have to be set to have side effects as well.
Definition at line 485 of file MOD_nodes.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), blender::Vector< T, InlineBufferCapacity, Allocator >::end(), blender::nodes::ensure_geometry_nodes_lazy_function_graph(), blender::bke::bNodeTreeZones::get_zone_by_node(), blender::ComputeContext::hash(), blender::ComputeContextHash::hash(), bNode::id, bNode::identifier, blender::nodes::GeoNodesSideEffectNodes::iterations_by_iteration_zone, NodesModifierData::modifier, ModifierData::name, NodesModifierData::node_group, blender::nodes::GeoNodesSideEffectNodes::nodes_by_context, blender::bke::bNodeTreeZone::output_node, blender::ComputeContext::parent(), and blender::bke::bNodeTreeZone::parent_zone.
Referenced by find_side_effect_nodes_for_active_gizmos(), find_side_effect_nodes_for_nested_node(), and find_side_effect_nodes_for_viewer_path().
|
static |
Definition at line 1030 of file MOD_nodes.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIteratorRange< SubIterator >::begin(), blender::bke::bake::NodeBakeCache::blob_sharing, blender::bke::bake::NodeBakeCache::blobs_dir, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIteratorRange< SubIterator >::end(), blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), blender::bke::bake::file_name_to_frame(), blender::bke::bake::find_sorted_meta_files(), blender::bke::bake::NodeBakeCache::frames, blender::bke::bake::get_node_bake_path(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::keys(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::bke::bake::NodeBakeCache::memory_blob_reader, and blender::bke::bake::NodeBakeCache::reset().
Referenced by blender::NodesModifierSimulationParams::init_simulation_info().
| void blender::uninitialized_convert_n | ( | const From * | src, |
| int64_t | n, | ||
| To * | dst ) |
Definition at line 61 of file BLI_memory_utils.hh.
Definition at line 55 of file BLI_memory_utils.hh.
Referenced by blender::bits::BitVector< InlineBufferCapacity, Allocator >::BitVector(), blender::bits::BitVector< InlineBufferCapacity, Allocator >::BitVector(), blender::LinearAllocator< Allocator >::construct_array_copy(), blender::cpp_type_util::copy_construct_cb(), blender::geometry::execute_realize_grease_pencil_tasks(), blender::Vector< T, InlineBufferCapacity, Allocator >::extend_unchecked(), blender::bke::ntree_copy_data(), blender::bke::bake::pack_bake_from_disk(), blender::Stack< T, InlineBufferCapacity, Allocator >::push_multiple(), blender::ed::space_node::update_nested_node_refs_after_moving_nodes_into_group(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::VectorSet().
Definition at line 93 of file BLI_memory_utils.hh.
Referenced by blender::Vector< T, InlineBufferCapacity, Allocator >::append_n_times(), blender::fn::multi_function::build::detail::execute_materialized(), blender::VArrayImpl_For_Single< T >::materialize_compressed_to_uninitialized(), and blender::Vector< T, InlineBufferCapacity, Allocator >::resize().
Definition at line 71 of file BLI_memory_utils.hh.
Referenced by blender::cpp_type_util::move_construct_cb(), blender::animrig::shrink_array(), shrink_array(), blender::animrig::shrink_array_and_remove(), blender::animrig::shrink_array_and_swap_remove(), and uninitialized_relocate_n().
Definition at line 82 of file BLI_memory_utils.hh.
References destruct_n(), and uninitialized_move_n().
Referenced by blender::Array< T, InlineBufferCapacity, Allocator >::Array(), blender::animrig::grow_array(), grow_array(), blender::animrig::grow_array_and_insert(), blender::Stack< T, InlineBufferCapacity, Allocator >::Stack(), and blender::Vector< T, InlineBufferCapacity, Allocator >::Vector().
|
static |
Definition at line 15 of file BLI_string_utils_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::contains().
Referenced by TEST().
| void blender::unroll | ( | Fn | fn | ) |
Variadic templates are used to unroll loops manually. This helps GCC avoid branching during math operations and makes the code generation more explicit and predictable. Unrolling should always be worth it because the vector size is expected to be small.
Definition at line 21 of file BLI_unroll.hh.
References unroll_impl().
Referenced by blender::math::from_scale(), blender::fixed_width_int::generic_add(), blender::fixed_width_int::generic_sub(), blender::math::interpolate_linear(), blender::fixed_width_int::is_zero(), blender::fixed_width_int::is_zero(), blender::math::normalize(), blender::math::normalize(), blender::math::normalize_and_get_size(), blender::math::normalize_and_get_size(), blender::math::rotate(), blender::math::scale(), blender::math::translate(), and blender::math::transpose().
| void blender::unroll_impl | ( | Fn | fn, |
| std::index_sequence< I... > | ) |
|
static |
Definition at line 354 of file MOD_nodes.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), NodesModifierBake::bake_mode, NodesModifierData::bakes, NodesModifierData::bakes_num, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), NodesModifierBake::directory, ELEM, NodesModifierBake::frame_end, NodesModifierBake::frame_start, NodesModifierBake::id, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), MEM_SAFE_FREE, NodesModifierData::node_group, NODES_MODIFIER_BAKE_MODE_STILL, remove_outdated_bake_caches(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and update_bakes_from_node_group().
Referenced by update_bakes_from_node_group().
|
static |
Definition at line 74 of file MOD_grease_pencil_offset.cc.
References DEG_add_object_relation(), DEG_OB_COMP_TRANSFORM, ModifierUpdateDepsgraphContext::node, and ModifierUpdateDepsgraphContext::object.
|
static |
Definition at line 97 of file MOD_grease_pencil_armature.cc.
References DEG_add_object_relation(), DEG_OB_COMP_EVAL_POSE, DEG_OB_COMP_TRANSFORM, ModifierUpdateDepsgraphContext::node, and ModifierUpdateDepsgraphContext::object.
|
static |
Definition at line 80 of file MOD_grease_pencil_array.cc.
References DEG_add_depends_on_transform_relation(), DEG_add_object_relation(), DEG_OB_COMP_TRANSFORM, and ModifierUpdateDepsgraphContext::node.
|
static |
Definition at line 80 of file MOD_grease_pencil_build.cc.
References DEG_add_object_relation(), DEG_OB_COMP_TRANSFORM, ModifierUpdateDepsgraphContext::node, and ModifierUpdateDepsgraphContext::object.
|
static |
Definition at line 76 of file MOD_grease_pencil_hook.cc.
References DEG_add_object_relation(), DEG_OB_COMP_TRANSFORM, ModifierUpdateDepsgraphContext::node, and ModifierUpdateDepsgraphContext::object.
|
static |
Definition at line 74 of file MOD_grease_pencil_lattice.cc.
References DEG_add_depends_on_transform_relation(), DEG_add_object_relation(), DEG_OB_COMP_GEOMETRY, DEG_OB_COMP_TRANSFORM, and ModifierUpdateDepsgraphContext::node.
|
static |
Definition at line 71 of file MOD_grease_pencil_mirror.cc.
References DEG_add_depends_on_transform_relation(), DEG_add_object_relation(), DEG_OB_COMP_TRANSFORM, and ModifierUpdateDepsgraphContext::node.
|
static |
Definition at line 91 of file MOD_grease_pencil_outline.cc.
References Scene::camera, DEG_add_object_relation(), DEG_OB_COMP_PARAMETERS, DEG_OB_COMP_TRANSFORM, ModifierUpdateDepsgraphContext::node, ModifierUpdateDepsgraphContext::object, and ModifierUpdateDepsgraphContext::scene.
|
static |
Definition at line 107 of file MOD_grease_pencil_shrinkwrap.cc.
References BKE_shrinkwrap_needs_normals(), CD_MASK_CUSTOMLOOPNORMAL, DAG_EVAL_NEED_SHRINKWRAP_BOUNDARY, DEG_add_customdata_mask(), DEG_add_depends_on_transform_relation(), DEG_add_object_relation(), DEG_add_special_eval_flag(), DEG_OB_COMP_GEOMETRY, DEG_OB_COMP_TRANSFORM, CustomData_MeshMasks::lmask, MOD_SHRINKWRAP_TARGET_PROJECT, and ModifierUpdateDepsgraphContext::node.
|
static |
Definition at line 114 of file MOD_grease_pencil_tint.cc.
References DEG_add_object_relation(), DEG_OB_COMP_TRANSFORM, ModifierUpdateDepsgraphContext::node, and ModifierUpdateDepsgraphContext::object.
|
static |
Definition at line 85 of file MOD_grease_pencil_weight_proximity.cc.
References DEG_add_depends_on_transform_relation(), DEG_add_object_relation(), DEG_OB_COMP_TRANSFORM, and ModifierUpdateDepsgraphContext::node.
|
static |
Definition at line 173 of file MOD_lineart.cc.
References add_this_collection(), GreasePencilLineartModifierData::calculation_flags, Scene::camera, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear(), DAG_EVAL_VIEWPORT, DEG_add_object_relation(), DEG_OB_COMP_PARAMETERS, DEG_OB_COMP_TRANSFORM, GreasePencilLineartModifierData::light_contour_object, Scene::master_collection, MOD_LINEART_USE_CUSTOM_CAMERA, ModifierUpdateDepsgraphContext::node, ModifierUpdateDepsgraphContext::object, LineartModifierRuntime::object_dependencies, GreasePencilLineartModifierData::runtime, ModifierUpdateDepsgraphContext::scene, and GreasePencilLineartModifierData::source_camera.
|
static |
Definition at line 159 of file MOD_nodes.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), add_collection_relation(), add_object_relation(), NodesModifierData::bakes, NodesModifierData::bakes_num, Object::data, DEG_add_depends_on_transform_relation(), DEG_add_generic_id_relation(), DEG_add_node_tree_output_relation(), DEG_add_scene_camera_relation(), DEG_add_scene_relation(), DEG_OB_COMP_TRANSFORM, DEG_SCENE_COMP_PARAMETERS, find_used_ids_from_settings(), GS, Object::id, ID_GR, ID_IM, ID_OB, ID_TE, ModifierUpdateDepsgraphContext::node, NodesModifierData::node_group, OB_CURVES, ModifierUpdateDepsgraphContext::object, ModifierUpdateDepsgraphContext::scene, NodesModifierData::settings, Curves::surface, and Object::type.
|
static |
Definition at line 22 of file atomic_disjoint_set.cc.
Referenced by blender::AtomicDisjointSet::calc_reduced_ids().
|
static |
Definition at line 309 of file MOD_nodes.cc.
References IDP_FreeProperty(), NodesModifierData::node_group, NodesModifierSettings::properties, NodesModifierData::settings, and update_id_properties_from_node_group().
Referenced by update_id_properties_from_node_group().
|
static |
Definition at line 408 of file MOD_nodes.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), bNodeTreeInterfacePanel::flag, NodesModifierPanel::flag, NodesModifierPanel::id, bNodeTreeInterfacePanel::identifier, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), bNodeTreeInterfaceItem::item_type, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), MEM_SAFE_FREE, NodesModifierData::node_group, NODE_INTERFACE_PANEL, NODE_INTERFACE_PANEL_DEFAULT_CLOSED, NODES_MODIFIER_PANEL_OPEN, NodesModifierData::panels, NodesModifierData::panels_num, SET_FLAG_FROM_TEST, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), bNodeTree::tree_interface, and update_panels_from_node_group().
Referenced by update_panels_from_node_group().
Definition at line 643 of file MOD_lineart.cc.
References col, PointerRNA::data, IFACE_, is_first_lineart(), Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_NONE, UI_ITEM_R_TOGGLE, uiItemL(), uiItemPointerR(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 163 of file MOD_grease_pencil_texture.cc.
References blender::math::atan2(), blender::math::cos(), blender::index_mask::IndexMask::foreach_index(), get_legacy_stroke_matrix(), blender::math::normalize_and_get_length(), rotate_by_angle(), blender::math::safe_rcp(), blender::bke::greasepencil::Drawing::set_texture_matrices(), blender::math::sin(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::texture_matrices(), and UNUSED_VARS.
Referenced by modify_curves().
|
static |
Definition at line 77 of file MOD_grease_pencil_texture.cc.
References blender::bke::Curve, blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), is_cyclic(), norm(), blender::bke::Point, blender::math::safe_rcp(), blender::bke::SpanAttributeWriter< T >::span, and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by modify_curves().
|
static |
Definition at line 125 of file MOD_grease_pencil_weight_angle.cc.
References angle_on_axis_v3v3_v3(), BLI_assert, blender::math::clamp(), ensure_vertex_group(), blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_filtered_stroke_mask(), blender::modifier::greasepencil::get_influence_vertex_weights(), blender::index_mask::IndexMask::is_empty(), M_PI_2, MOD_GREASE_PENCIL_WEIGHT_ANGLE_INVERT_OUTPUT, MOD_GREASE_PENCIL_WEIGHT_ANGLE_MULTIPLY_DATA, MOD_GREASE_PENCIL_WEIGHT_ANGLE_SPACE_LOCAL, point, rotate_normalized_v3_v3v3fl(), blender::math::sin(), blender::bke::SpanAttributeWriter< T >::span, blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::math::transform_point().
Referenced by modify_geometry_set().
|
static |
Weight==0 will remove the point from the group, assign a sufficiently small value there to prevent the visual disconnect, and keep the behavior same as the old modifier.
Definition at line 152 of file MOD_grease_pencil_weight_proximity.cc.
References BLI_assert, ensure_vertex_group(), blender::modifier::greasepencil::get_filtered_stroke_mask(), blender::modifier::greasepencil::get_influence_vertex_weights(), invert(), blender::index_mask::IndexMask::is_empty(), MOD_GREASE_PENCIL_WEIGHT_PROXIMITY_INVERT_OUTPUT, MOD_GREASE_PENCIL_WEIGHT_PROXIMITY_MULTIPLY_DATA, blender::threading::parallel_for(), blender::bke::SpanAttributeWriter< T >::span, and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by modify_geometry_set().
|
static |
Definition at line 132 of file MOD_nodes.cc.
Referenced by add_collection_relation(), and add_object_relation().
|
inlineconstexpr |
Helper variable that checks if a pointer type can be converted into another pointer type without issues. Possible issues are casting away const and casting a pointer to a child class. Adding const or casting to a parent class is fine.
Definition at line 288 of file BLI_memory_utils.hh.
|
inlineconstexpr |
Same as #std::is_same_v but allows for checking multiple types at the same time.
Definition at line 314 of file BLI_memory_utils.hh.
Referenced by blender::detail::GVArrayAnyExtraInfo::get(), blender::detail::VArrayAnyExtraInfo< T >::get(), blender::bke::curves::catmull_rom::interpolate(), blender::bke::curves::IndexRangeCyclic::next_index(), blender::bke::curves::IndexRangeCyclic::previous_index(), blender::bke::compare_meshes::sort_indices(), blender::bke::static_type_to_socket_type(), and blender::bits::to_best_bit_span().
|
inlineconstexpr |
Helper variable that checks if a Span<From> can be converted to Span<To> safely, whereby From and To are pointers. Adding const and casting to a void pointer is allowed. Casting up and down a class hierarchy generally is not allowed, because this might change the pointer under some circumstances.
Definition at line 298 of file BLI_memory_utils.hh.
Under some circumstances #std::is_trivial_v<T> is false even though we know that the type is actually trivial. Using that extra knowledge allows for some optimizations.
Definition at line 25 of file BLI_memory_utils.hh.
|
inlineconstexpr |
Definition at line 614 of file BLI_generic_virtual_array.hh.
|
inlineconstexpr |
Definition at line 655 of file BLI_generic_virtual_array.hh.
|
inlineconstexpr |
Definition at line 445 of file BLI_virtual_array.hh.
|
inlineconstexpr |
Definition at line 339 of file BLI_virtual_array.hh.
|
inlineconstexpr |
Definition at line 270 of file BLI_virtual_array.hh.
|
inlineconstexpr |
Definition at line 30 of file BLI_memory_utils.hh.
|
inlineconstexpr |
Definition at line 27 of file BLI_memory_utils.hh.
Referenced by destruct_n().
|
inlineconstexpr |
Definition at line 33 of file BLI_memory_utils.hh.
Definition at line 1013 of file BLI_virtual_array.hh.
|
staticconstexpr |
Definition at line 1014 of file BLI_virtual_array.hh.
Definition at line 1016 of file BLI_virtual_array.hh.
|
staticconstexpr |
Definition at line 1017 of file BLI_virtual_array.hh.
Definition at line 96 of file MOD_grease_pencil_envelope.cc.
Referenced by calc_min_radius_v3v3(), and calc_radius_limit().