|
Blender V4.5
|
Namespaces | |
| namespace | animrig |
| namespace | asset_system |
| namespace | bke |
| namespace | ocio |
| namespace | gpu |
| namespace | tests |
| namespace | fn |
| namespace | nodes |
| namespace | io |
| namespace | compositor |
| namespace | dot_export |
| namespace | ed |
| namespace | opensubdiv |
| namespace | detail |
| namespace | array_utils |
| namespace | binary_search |
| namespace | bits |
| namespace | bounds |
| namespace | color |
| namespace | cpp_type_util |
| namespace | csv_parse |
| namespace | meshintersect |
| namespace | threading |
| namespace | fftw |
| namespace | fixed_width_int |
| namespace | implicit_sharing |
| namespace | index_mask |
| namespace | lazy_threading |
| namespace | length_parameterize |
| namespace | linear_allocator |
| namespace | math |
| namespace | memory_cache |
| namespace | memory_counter |
| namespace | noise |
| namespace | offset_indices |
| namespace | parameter_pack_utils_static_tests |
| namespace | iterator |
| namespace | string_search |
| namespace | timeit |
| namespace | unique_sorted_indices |
| namespace | internal |
| namespace | varray_tag |
| namespace | robust_pred |
| namespace | locale |
| namespace | deg |
| namespace | draw |
| namespace | eevee |
| namespace | image_engine |
| namespace | workbench |
| namespace | editor |
| namespace | ui |
| namespace | interface |
| namespace | geometry |
| namespace | imbuf |
| namespace | dna |
| namespace | modifier |
| namespace | render |
| namespace | seq |
| namespace | wm |
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> |
| using | BVHTree_RayCastCallback_CPP |
| using | BVHTree_RangeQuery_CPP = FunctionRef<void(int index, const float3float3 &co, float dist_sq)> |
| 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 | uchar2 = blender::VecBase<uint8_t, 2> |
| 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>> |
| using | Mutex = std::mutex |
| 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, int64_t InlineBufferCapacity = 4, typename ProbingStrategy = DefaultProbingStrategy, typename Hash = DefaultHash<Key>, typename IsEqual = DefaultEquality<Key>, typename Slot = typename DefaultVectorSetSlot<Key>::type> | |
| using | RawVectorSet |
| template<typename T, typename GetIDFn, int64_t InlineBufferCapacity = 4> | |
| using | CustomIDVectorSet |
| using | FramesMapKeyT |
| using | FramesMapKeyT |
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 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 () |
| bool | operator== (const CPPType &a, const CPPType &b) |
| bool | operator!= (const CPPType &a, const CPPType &b) |
| 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, typename... Args> | |
| uint64_t | get_default_hash (const T &v, const Args &...args) |
| AlignedIndexRanges | split_index_range_by_alignment (const IndexRange range, const int64_t alignment) |
| void | BLI_bvhtree_ray_cast_all_cpp (const BVHTree &tree, const float3float3 co, const float3float3 dir, float radius, float hit_dist, BVHTree_RayCastCallback_CPP fn) |
| void | BLI_bvhtree_range_query_cpp (const BVHTree &tree, const float3float3 co, float radius, BVHTree_RangeQuery_CPP fn) |
| 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) |
| bool | operator== (const SessionUID &lhs, const SessionUID &rhs) |
| 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) |
| bool | operator== (bUUID uuid1, bUUID uuid2) |
| bool | operator!= (bUUID uuid1, bUUID uuid2) |
| bool | operator< (bUUID uuid1, bUUID uuid2) |
| 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) |
| TEST (BLI_string_utils, BLI_string_replace) | |
| 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 ImplicitSharingPtrAndData | save_shared_attribute (const bke::GAttributeReader &attribute) |
| static void | modify_curves (ModifierData &md, const ModifierEvalContext &ctx, Drawing &drawing, bke::GreasePencilDrawingEditHints *edit_hints) |
| 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, const float frame_duration) |
| static float | get_build_factor (const GreasePencilBuildTimeMode time_mode, const int current_frame, const int start_frame, const int frame_duration, 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 int frame_duration, 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 float3float3 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 float3float3 | calculate_plane (const float3float3 ¢er, const float3float3 &prev, const float3float3 &next) |
| static std::optional< float3float3 > | find_plane_intersection (const float3float3 &plane_point, const float3float3 &plane_normal, const float3float3 &from, const float3float3 &to) |
| static float | calc_min_radius_v3v3 (const float3float3 &p1, const float3float3 &p2, const float3float3 &dir) |
| static float | calc_radius_limit (const Span< float3float3 > positions, const bool is_cyclic, const int spread, const int point, const float3float3 &direction) |
| static bool | find_envelope (const Span< float3float3 > positions, const bool is_cyclic, const int spread, const int point, float3float3 &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, int &r_original_curve_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 float3float3 &loc_factor, const float3float3 &rot_factor, const float3float3 &scale_factor, const MutableSpan< float3float3 > 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< float3float3 > positions, const float3float3 &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 float2float2 | rotate_by_angle (const float2float2 &p, const float angle) |
| static void | get_legacy_stroke_matrix (const Span< float3float3 > positions, float3x4 &stroke_to_layer, float4x3 &layer_to_stroke) |
| static void | write_fill_transforms (bke::greasepencil::Drawing &drawing, const IndexMask &curves_mask, const float2float2 &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 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 float3float3 &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 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 (float3float3 target_pos, const float4x4 &obmat, float3float3 pos, const float dist_min, const float dist_max) |
| 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_dependencies_from_settings (const NodesModifierSettings &settings, nodes::GeometryNodesEvalDependencies &deps) |
| static void | add_collection_relation (const ModifierUpdateDepsgraphContext *ctx, Collection &collection) |
| static void | add_object_relation (const ModifierUpdateDepsgraphContext *ctx, Object &object, const nodes::GeometryNodesEvalDependencies::ObjectDependencyInfo &info) |
| static void | update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx) |
| 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 ModifierEvalContext &ctx, 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 ModifierEvalContext &ctx, 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, const nodes::PropertiesVectorSet &properties, 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) |
| 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) |
| void | nodes_modifier_bake_destruct (NodesModifierBake *bake, const bool do_id_user) |
| 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 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 22 of file BLI_math_vector_types.hh.
| using blender::BVHTree_RangeQuery_CPP = FunctionRef<void(int index, const float3float3 &co, float dist_sq)> |
Definition at line 336 of file BLI_kdopbvh.hh.
Definition at line 313 of file BLI_kdopbvh.hh.
| using blender::char2 = blender::VecBase<int8_t, 2> |
Definition at line 593 of file BLI_math_vector_types.hh.
| using blender::char3 = blender::VecBase<int8_t, 3> |
Definition at line 594 of file BLI_math_vector_types.hh.
| using blender::char4 = blender::VecBase<int8_t, 4> |
Definition at line 595 of file BLI_math_vector_types.hh.
Definition at line 343 of file BLI_color.hh.
Definition at line 342 of file BLI_color.hh.
Definition at line 345 of file BLI_color.hh.
Definition at line 344 of file BLI_color.hh.
| using blender::ColorTheme4b = ColorTheme4<uint8_t> |
Definition at line 291 of file BLI_color.hh.
| using blender::ColorTheme4f = ColorTheme4<float> |
Definition at line 292 of file BLI_color.hh.
| using blender::ConstListBaseWrapper = ListBaseWrapperTemplate<const ListBase, const T> |
Definition at line 100 of file BLI_listbase_wrapper.hh.
Used for a set where the key itself isn't used for the hash or equality but some part of the key instead. For example the string identifiers of node types.
#GetIDFn should have an implementation that returns a hashable and equality comparable type, i.e. StringRef operator()(const bNode *value) { return value->idname; }.
Definition at line 1139 of file BLI_vector_set.hh.
Having a specified default is convenient.
Definition at line 198 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 112 of file BLI_memory_utils.hh.
| using blender::double2 = VecBase<double, 2> |
Definition at line 622 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 623 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 624 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 617 of file BLI_math_vector_types.hh.
| using blender::float2 = VecBase<float, 2> |
Definition at line 618 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 619 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 620 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.
Definition at line 384 of file BKE_grease_pencil.hh.
Definition at line 384 of file BKE_grease_pencil.hh.
| using blender::int2 = VecBase<int32_t, 2> |
Definition at line 601 of file BLI_math_vector_types.hh.
| using blender::int3 = VecBase<int32_t, 3> |
Definition at line 602 of file BLI_math_vector_types.hh.
| using blender::int4 = VecBase<int32_t, 4> |
Definition at line 603 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 337 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 118 of file BLI_parameter_pack_utils.hh.
Utility to create a ValueSequence that has the same value at every index.
Definition at line 110 of file BLI_parameter_pack_utils.hh.
| using blender::Mutex = std::mutex |
Use std::mutex as a fallback when compiling without TBB.
Definition at line 47 of file BLI_mutex.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 1368 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 945 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 1152 of file BLI_vector.hh.
| using blender::RawVectorSet |
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 1098 of file BLI_vector_set.hh.
| using blender::short2 = blender::VecBase<int16_t, 2> |
Definition at line 609 of file BLI_math_vector_types.hh.
| using blender::short3 = blender::VecBase<int16_t, 3> |
Definition at line 610 of file BLI_math_vector_types.hh.
| using blender::short4 = blender::VecBase<int16_t, 4> |
Definition at line 611 of file BLI_math_vector_types.hh.
| using blender::uchar2 = blender::VecBase<uint8_t, 2> |
Definition at line 597 of file BLI_math_vector_types.hh.
| using blender::uchar3 = blender::VecBase<uint8_t, 3> |
Definition at line 598 of file BLI_math_vector_types.hh.
| using blender::uchar4 = blender::VecBase<uint8_t, 4> |
Definition at line 599 of file BLI_math_vector_types.hh.
| using blender::uint2 = VecBase<uint32_t, 2> |
Definition at line 605 of file BLI_math_vector_types.hh.
| using blender::uint3 = VecBase<uint32_t, 3> |
Definition at line 606 of file BLI_math_vector_types.hh.
| using blender::uint4 = VecBase<uint32_t, 4> |
Definition at line 607 of file BLI_math_vector_types.hh.
| using blender::ushort2 = VecBase<uint16_t, 2> |
Definition at line 613 of file BLI_math_vector_types.hh.
| using blender::ushort3 = blender::VecBase<uint16_t, 3> |
Definition at line 614 of file BLI_math_vector_types.hh.
| using blender::ushort4 = blender::VecBase<uint16_t, 4> |
Definition at line 615 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.
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:
| Enumerator | |
|---|---|
| Straight | Color and alpha are unassociated. |
| Premultiplied | Color and alpha are associated. |
Definition at line 71 of file BLI_color.hh.
|
strong |
Enumeration containing internal spaces.
Definition at line 80 of file BLI_color.hh.
|
static |
Definition at line 130 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 1690 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 1649 of file MOD_nodes.cc.
References BLI_strdup(), i, NodesModifierDataBlock::id, blender::bke::bake::BakeDataBlockID::id_name, NodesModifierDataBlock::id_name, NodesModifierDataBlock::id_type, blender::Span< T >::index_range(), 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 137 of file MOD_nodes.cc.
References add_collection_relation(), add_object_relation(), blender::nodes::GeometryNodesEvalDependencies::ObjectDependencyInfo::camera_parameters, DEG_add_customdata_mask(), DEG_add_object_relation(), DEG_OB_COMP_GEOMETRY, DEG_OB_COMP_PARAMETERS, DEG_OB_COMP_TRANSFORM, DEG_object_has_geometry_component(), dependency_data_mask, blender::nodes::GeometryNodesEvalDependencies::ObjectDependencyInfo::geometry, Object::id, ModifierUpdateDepsgraphContext::node, OB_CAMERA, OB_EMPTY, ModifierUpdateDepsgraphContext::object, and blender::nodes::GeometryNodesEvalDependencies::ObjectDependencyInfo::transform.
Referenced by add_object_relation(), and update_depsgraph().
|
static |
Definition at line 130 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, Collection::lineart_usage, 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 452 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 77 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 143 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(), i, 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 133 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 372 of file BLI_memory_utils.hh.
References assign_if_different(), and T.
Referenced by assign_if_different(), blender::eevee::LightModule::begin_sync(), blender::eevee::VolumeModule::end_sync(), blender::image_engine::TextureInfo::ensure_gpu_texture(), blender::draw::command::ShaderBind::execute(), blender::draw::command::StateSet::execute(), blender::draw::command::RecordingState::front_facing_set(), blender::eevee::Camera::init(), blender::eevee::Film::init(), blender::eevee::Instance::init(), blender::eevee::ShadowModule::init(), blender::eevee::VolumeProbeModule::init(), blender::workbench::Instance::init(), blender::workbench::SceneState::init(), blender::eevee::ShadowModule::set_view(), blender::gpu::VKDevice::submission_runner(), blender::eevee::Light::sync(), blender::eevee::LookdevWorld::sync(), blender::eevee::World::sync(), 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(), blender::gpu::render_graph::vk_pipeline_viewport_set_commands(), blender::gpu::render_graph::vk_vertex_buffer_bindings_build_commands(), and blender::draw::TextureRef::wrap().
Definition at line 652 of file MOD_lineart.cc.
References col, uiLayout::column(), IFACE_, Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_boolean_get(), RNA_boolean_set(), TIP_, UI_ITEM_R_TOGGLE, uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 873 of file MOD_lineart.cc.
References GreasePencilLineartModifierData::runtime.
|
static |
Definition at line 298 of file MOD_grease_pencil_armature.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 342 of file MOD_grease_pencil_array.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 93 of file MOD_grease_pencil_build.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 242 of file MOD_grease_pencil_color.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 502 of file MOD_grease_pencil_dash.cc.
References BLO_read_struct_array, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 730 of file MOD_grease_pencil_envelope.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 100 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 83 of file MOD_grease_pencil_length.cc.
References GreasePencilLengthModifierData::influence, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 241 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.
References blender::modifier::greasepencil::read_influence_data().
|
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 461 of file MOD_grease_pencil_offset.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 285 of file MOD_grease_pencil_opacity.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 312 of file MOD_grease_pencil_outline.cc.
References blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 318 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 359 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 657 of file MOD_grease_pencil_time.cc.
References BLO_read_struct_array, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 476 of file MOD_grease_pencil_tint.cc.
References BLO_read_struct, and blender::modifier::greasepencil::read_influence_data().
|
static |
Definition at line 93 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 2047 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 290 of file MOD_grease_pencil_armature.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 334 of file MOD_grease_pencil_array.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 85 of file MOD_grease_pencil_build.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 234 of file MOD_grease_pencil_color.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 491 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 722 of file MOD_grease_pencil_envelope.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 92 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 74 of file MOD_grease_pencil_length.cc.
References BLO_write_struct, GreasePencilLengthModifierData::influence, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 233 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, and blender::modifier::greasepencil::write_influence_data().
|
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 453 of file MOD_grease_pencil_offset.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 277 of file MOD_grease_pencil_opacity.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 304 of file MOD_grease_pencil_outline.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 310 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 351 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 646 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 465 of file MOD_grease_pencil_tint.cc.
References BLO_write_struct, and blender::modifier::greasepencil::write_influence_data().
|
static |
Definition at line 84 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 866 of file MOD_lineart.cc.
References BLO_write_struct.
|
static |
Definition at line 1968 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.
|
inline |
Definition at line 338 of file BLI_kdopbvh.hh.
References BLI_bvhtree_range_query(), and tree.
Referenced by blender::ed::sculpt_paint::AddOperationExecutor::sample_spherical(), and blender::ed::sculpt_paint::DensityAddOperationExecutor::sample_spherical_with_symmetry().
|
inline |
Definition at line 316 of file BLI_kdopbvh.hh.
References BLI_bvhtree_ray_cast_all(), and tree.
Referenced by blender::ed::sculpt_paint::SlideOperationExecutor::find_closest_ray_hit().
| BLI_INLINE ColorSceneLinear4f< eAlpha::Straight > blender::BLI_color_convert_to_scene_linear | ( | const ColorTheme4b & | theme4b | ) |
Definition at line 316 of file BLI_color.hh.
References BLI_INLINE, and srgb_to_linearrgb_uchar4().
| BLI_INLINE ColorSceneLinear4f< eAlpha::Straight > blender::BLI_color_convert_to_scene_linear | ( | const ColorTheme4f & | theme4f | ) |
Definition at line 308 of file BLI_color.hh.
References BLI_INLINE, and 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 333 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 294 of file BLI_color.hh.
References BLI_INLINE, and rgba_float_to_uchar().
Referenced by blender::tests::TEST(), blender::tests::TEST(), and blender::ColorTheme4< uint8_t >::to_4b().
| BLI_INLINE ColorTheme4f blender::BLI_color_convert_to_theme4f | ( | const ColorSceneLinear4f< eAlpha::Straight > & | scene_linear | ) |
Definition at line 325 of file BLI_color.hh.
References linearrgb_to_srgb_v4().
| BLI_INLINE ColorTheme4f blender::BLI_color_convert_to_theme4f | ( | const ColorTheme4< uint8_t > & | theme4b | ) |
Definition at line 301 of file BLI_color.hh.
References BLI_INLINE, and rgba_uchar_to_float().
Referenced by blender::tests::TEST(), blender::tests::TEST(), and blender::ColorTheme4< uint8_t >::to_4f().
|
static |
Definition at line 1120 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, BM_ITER_MESH_INDEX, BMEdge::head, BMHeader::hflag, and i.
Referenced by BM_mesh_bm_to_me_compact().
|
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 1148 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(), BMFace::head, BMHeader::hflag, i, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), CustomData::layers, BMFace::len, BMFace::mat_nr, MAX_CUSTOMDATA_LAYER_NAME, BMLoop::next, CustomDataLayer::offset, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by BM_mesh_bm_to_me_compact().
|
static |
Definition at line 1297 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(), Mesh::edge_data, Mesh::edges_num, if(), blender::MutableSpan< T >::index_range(), blender::MutableSpan< T >::is_empty(), and blender::threading::parallel_for().
Referenced by BM_mesh_bm_to_me_compact(), and bm_to_mesh_edges().
|
static |
Definition at line 1350 of file bmesh_mesh_convert.cc.
References BKE_mesh_face_offsets_ensure_alloc(), bm, bm_to_mesh_copy_info_calc(), bm_to_mesh_faces(), Mesh::face_data, if(), blender::Span< T >::index_range(), blender::MutableSpan< T >::is_empty(), and blender::threading::parallel_for().
Referenced by BM_mesh_bm_to_me_compact(), and bm_to_mesh_faces().
|
static |
Definition at line 1390 of file bmesh_mesh_convert.cc.
References bm, bm_to_mesh_copy_info_calc(), bm_to_mesh_loops(), CD_CONSTRUCT, CD_PROP_INT32, Mesh::corner_data, Mesh::corners_num, CustomData_add_layer_named(), CustomData_free_layer_named(), blender::MutableSpan< T >::index_range(), and blender::threading::parallel_for().
Referenced by BM_mesh_bm_to_me_compact(), and bm_to_mesh_loops().
|
static |
Definition at line 1256 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(), if(), blender::MutableSpan< T >::index_range(), blender::MutableSpan< T >::is_empty(), blender::threading::parallel_for(), Mesh::vert_data, and Mesh::verts_num.
Referenced by BM_mesh_bm_to_me_compact().
|
static |
Definition at line 1102 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, BMHeader::hflag, and i.
Referenced by BM_mesh_bm_to_me_compact().
|
static |
Definition at line 1245 of file bmesh_mesh_convert.cc.
References CustomData_data_copy_value(), and POINTER_OFFSET.
|
static |
Definition at line 169 of file MOD_grease_pencil_build.cc.
References blender::offset_indices::accumulate_counts_to_offsets(), blender::bke::CurvesGeometry::attributes(), blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::Curve, blender::bke::CurvesGeometry::curves_range(), blender::bke::SpanAttributeWriter< T >::finish(), blender::IndexRange::first(), blender::bke::MutableAttributeAccessor::lookup_for_write_span(), 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::CurvesGeometry::points_by_curve(), blender::bke::greasepencil::Drawing::radii_for_write(), blender::IndexRange::size(), blender::bke::SpanAttributeWriter< T >::span, and blender::bke::CurvesGeometry::update_curve_types().
Referenced by build_drawing().
|
static |
Definition at line 576 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::IndexMask::from_bools(), get_build_factor(), blender::modifier::greasepencil::get_filtered_stroke_mask(), GreasePencilBuildModifierData::influence, blender::bke::CurvesGeometry::is_empty(), 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, blender::index_mask::IndexMask::to_bools(), and GreasePencilBuildModifierData::transition.
Referenced by modify_geometry_set().
|
static |
Definition at line 325 of file MOD_grease_pencil_build.cc.
References abs, blender::bke::CurvesGeometry::attributes(), blender::bke::CurvesGeometry::attributes_for_write(), BLI_assert, blender::index_mask::IndexMask::complement(), blender::bke::Curve, blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::bke::SpanAttributeWriter< T >::finish(), blender::IndexRange::first(), blender::index_mask::IndexMask::foreach_index(), i, blender::IndexRange::last(), blender::bke::MutableAttributeAccessor::lookup_for_write_span(), MOD_GREASE_PENCIL_BUILD_TRANSITION_VANISH, blender::bke::CurvesGeometry::offsets_for_write(), blender::bke::greasepencil::Drawing::opacities_for_write(), blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), 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 111 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 147 of file MOD_grease_pencil_envelope.cc.
References BLI_assert, calc_min_radius_v3v3(), is_cyclic(), blender::math::is_zero(), result, blender::Span< T >::size(), and unlimited_radius.
Referenced by find_envelope().
|
inlinestatic |
Definition at line 74 of file MOD_grease_pencil_envelope.cc.
References next, blender::math::normalize(), and v2.
Referenced by find_envelope().
|
static |
Definition at line 215 of file MOD_grease_pencil_time.cc.
References blender::FrameRange::duration(), blender::FrameRange::efra, blender::math::floor(), blender::TimeMapping::local_frame_after_scene_frame(), blender::TimeMapping::local_frame_before_scene_frame(), blender::FrameRange::sfra, and blender::TimeMapping::use_loop().
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:
Examples for devirtualizers: BasicDevirtualizer, VArrayDevirtualizer.
Definition at line 54 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().
|
constexpr |
Definition at line 26 of file BLI_hash_tables.hh.
References BLI_assert, x, 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().
|
constexpr |
Definition at line 40 of file BLI_hash_tables.hh.
References ceil_division(), and x.
Referenced by total_slot_amount_for_usable_slots().
Definition at line 579 of file MOD_lineart.cc.
References col, uiLayout::column(), IFACE_, is_first_lineart(), uiLayout::label(), Panel::layout, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 903 of file MOD_nodes.cc.
References BKE_modifier_set_error(), ELEM, i, blender::nodes::id_property_type_matches_socket(), bNodeTreeInterfaceSocket::identifier, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key_default_as(), bNodeTreeInterfaceSocket::name, NodesModifierData::node_group, bNodeTree::runtime, SOCK_BUNDLE, SOCK_CLOSURE, SOCK_CUSTOM, SOCK_GEOMETRY, SOCK_MATRIX, and blender::bke::bNodeSocketType::type.
Referenced by modifyGeometry().
Definition at line 681 of file MOD_lineart.cc.
References col, uiLayout::column(), IFACE_, uiLayout::label(), Panel::layout, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_NONE, UI_ITEM_R_SLIDER, 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 329 of file BLI_memory_utils.hh.
References copy_assign_container().
Referenced by copy_assign_container(), blender::Array< Slot, LoadFactor::compute_total_slots(InlineBufferCapacity, LOAD_FACTOR), Allocator >::operator=(), blender::bits::BitGroupVector< InlineBufferCapacity, Allocator >::operator=(), blender::bits::BitVector< InlineBufferCapacity, Allocator >::operator=(), blender::GArray< Allocator >::operator=(), blender::Map< PropIdentifier, AnimatedProperty >::operator=(), blender::Set< std::string >::operator=(), blender::Stack< T, InlineBufferCapacity, RawAllocator >< RawVector< FunctionRef< void()>, 0 >, 0 >::operator=(), blender::Vector< SubdivCCGCoord, 256 >::operator=(), and blender::VectorSet< int, 0, DefaultProbingStrategy, DefaultHash< int >, DefaultEquality< int >, SimpleVectorSetSlot< int, LocalVertMapIndexT >, GuardedAllocator >::operator=().
|
static |
Definition at line 56 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 54 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 60 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 51 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 51 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 49 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 58 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 65 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 55 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 62 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 75 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 50 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 86 of file MOD_lineart.cc.
References BKE_modifier_copydata_generic(), flag, and GreasePencilLineartModifierData::runtime.
|
static |
Definition at line 2110 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, i, NodesModifierDataBlock::id_name, IDP_CopyProperty_ex(), LIB_ID_COPY_SET_COPIED_ON_WRITE, NodesModifierDataBlock::lib_name, MEM_dupallocN(), 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 52 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 51 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(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), 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 205 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(), i, blender::IndexRange::last(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::bke::AttributeAccessor::lookup_or_default(), 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 426 of file MOD_grease_pencil_envelope.cc.
References BLI_assert, blender::math::clamp(), i, blender::IndexRange::size(), and blender::MutableSpan< T >::size().
Referenced by create_envelope_strokes_for_curve().
|
static |
Definition at line 500 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(), Span< T >::drop_back(), blender::array_utils::fill_index_range(), blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), blender::VArray< T >::ForSingle(), blender::bke::gather_attributes(), i, 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::IndexRange::size(), 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 451 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 101 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 389 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 383 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 44 of file BLI_memory_utils.hh.
Referenced by blender::Array< Slot, LoadFactor::compute_total_slots(InlineBufferCapacity, LOAD_FACTOR), Allocator >::reinitialize(), and blender::Vector< SubdivCCGCoord, 256 >::resize().
|
constexpr |
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 319 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, GreasePencilModifierInfluenceData::flag, GreasePencilNoiseModifierData::flag, 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, i, Object::id, blender::IndexRange::index_range(), GreasePencilNoiseModifierData::influence, blender::math::interpolate(), blender::bke::CurvesGeometry::is_empty(), blender::index_mask::IndexMask::is_empty(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), 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, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions_for_write(), blender::bke::greasepencil::Drawing::radii_for_write(), GreasePencilNoiseModifierData::seed, seed, blender::IndexRange::size(), GreasePencilNoiseModifierData::step, blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_positions_changed().
|
static |
Definition at line 150 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(), hook_falloff(), blender::MatBase< float, 3, 3 >::identity(), blender::offset_indices::OffsetIndices< T >::index_range(), blender::math::interpolate(), blender::bke::CurvesGeometry::is_empty(), blender::index_mask::IndexMask::is_empty(), MOD_GREASE_PENCIL_HOOK_UNIFORM_SPACE, blender::bke::CurvesGeometry::points_by_curve(), bPoseChannel::pose_mat, blender::bke::CurvesGeometry::positions_for_write(), 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(), and modify_geometry_set().
|
static |
Definition at line 88 of file MOD_grease_pencil_smooth.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::CurvesGeometry::cyclic(), blender::modifier::greasepencil::ensure_no_bezier_curves(), blender::VArray< T >::ForContainer(), blender::VArray< T >::ForSingle(), blender::modifier::greasepencil::get_filtered_stroke_mask(), blender::modifier::greasepencil::get_influence_vertex_weights(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::bke::CurvesGeometry::is_empty(), blender::index_mask::IndexMask::is_empty(), 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::threading::parallel_for(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_num(), blender::VArrayCommon< T >::size(), GreasePencilSmoothModifierData::step, and blender::bke::greasepencil::Drawing::strokes_for_write().
|
static |
Definition at line 86 of file MOD_grease_pencil_thickness.cc.
References BKE_curvemapping_evaluateF(), 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, GREASE_PENCIL_INFLUENCE_USE_CUSTOM_CURVE, i, blender::IndexRange::index_range(), blender::math::interpolate(), blender::bke::CurvesGeometry::is_empty(), blender::index_mask::IndexMask::is_empty(), blender::math::max(), MOD_GREASE_PENCIL_THICK_NORMALIZE, MOD_GREASE_PENCIL_THICK_WEIGHT_FACTOR, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::greasepencil::Drawing::radii_for_write(), blender::math::safe_divide(), blender::IndexRange::size(), and blender::bke::greasepencil::Drawing::strokes_for_write().
|
static |
Definition at line 104 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(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), GreasePencilLengthModifierData::end_fac, blender::bke::CurvesGeometry::ensure_evaluated_lengths(), 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::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, i, Object::id, GreasePencilLengthModifierData::influence, blender::bke::CurvesGeometry::is_empty(), 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, blender::bke::CurvesGeometry::remove_curves(), GreasePencilLengthModifierData::seed, seed, GreasePencilLengthModifierData::segment_influence, sin, GreasePencilLengthModifierData::start_fac, GreasePencilLengthModifierData::step, blender::bke::greasepencil::Drawing::strokes_for_write(), table_sample(), and blender::geometry::trim_curves().
|
static |
Definition at line 296 of file MOD_grease_pencil_envelope.cc.
References blender::math::abs(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::MutableSpan< T >::as_span(), blender::bke::CurvesGeometry::attributes(), blender::bke::Curve, find_envelope(), blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), i, blender::IndexRange::index_range(), GreasePencilEnvelopeModifierData::influence, blender::math::interpolate(), blender::bke::AttributeAccessor::lookup_or_default(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions_for_write(), blender::bke::greasepencil::Drawing::radii_for_write(), blender::IndexRange::size(), GreasePencilEnvelopeModifierData::spread, blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_positions_changed(), blender::bke::CurvesGeometry::tag_radii_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 235 of file MOD_nodes.cc.
References NodesModifierData::bakes, NodesModifierData::bakes_num, blender::nodes::gather_geometry_nodes_eval_dependencies_recursive(), ID_MISSING, NodesModifierData::node_group, NODES_MODIFIER_BAKE_MODE_ANIMATION, blender::nodes::GeometryNodesEvalDependencies::time_dependent, and tree.
Definition at line 35 of file BLI_memory_utils.hh.
References is_trivially_destructible_extended_v, ptr, and T.
Referenced by blender::Vector< SubdivCCGCoord, 256 >::clear(), blender::VectorSet< int, 0, DefaultProbingStrategy, DefaultHash< int >, DefaultEquality< int >, SimpleVectorSetSlot< int, LocalVertMapIndexT >, GuardedAllocator >::clear_and_keep_capacity(), blender::Vector< SubdivCCGCoord, 256 >::clear_and_shrink(), blender::fn::multi_function::build::detail::execute_materialized(), initialized_relocate_n(), blender::Vector< SubdivCCGCoord, 256 >::insert(), blender::Array< Slot, LoadFactor::compute_total_slots(InlineBufferCapacity, LOAD_FACTOR), Allocator >::reinitialize(), blender::Vector< SubdivCCGCoord, 256 >::remove(), blender::Vector< SubdivCCGCoord, 256 >::remove_if(), blender::Vector< SubdivCCGCoord, 256 >::resize(), blender::Vector< SubdivCCGCoord, 256 >::resize(), uninitialized_relocate_n(), blender::Array< Slot, LoadFactor::compute_total_slots(InlineBufferCapacity, LOAD_FACTOR), Allocator >::~Array(), blender::Vector< SubdivCCGCoord, 256 >::~Vector(), and blender::VectorSet< int, 0, DefaultProbingStrategy, DefaultHash< int >, DefaultEquality< int >, SimpleVectorSetSlot< int, LocalVertMapIndexT >, GuardedAllocator >::~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 1275 of file BLI_virtual_array.hh.
References call_with_devirtualized_parameters(), and devirtualize_varray().
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(), devirtualize_varray(), 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 1293 of file BLI_virtual_array.hh.
References call_with_devirtualized_parameters(), and devirtualize_varray2().
Referenced by blender::bke::copy_with_checked_indices(), blender::nodes::node_geo_sample_index_cc::copy_with_clamped_indices(), devirtualize_varray2(), and blender::nodes::node_geo_curve_endpoint_selection_cc::EndpointFieldInput::get_varray_for_context().
|
static |
Definition at line 88 of file MOD_grease_pencil_multiply.cc.
References count, blender::bke::curves_copy_curve_selection(), blender::bke::curves_new_nomain(), blender::bke::CurvesGeometry::curves_num(), blender::bke::GeometrySet::from_curves(), blender::bke::GeometrySet::from_instances(), Curves::geometry, blender::bke::GeometrySet::get_curves_for_write(), i, blender::MatBase< float, 4, 4 >::identity(), options, blender::bke::CurvesGeometry::points_num(), and blender::geometry::realize_instances().
Referenced by generate_curves().
Definition at line 269 of file MOD_lineart.cc.
References BLT_I18NCONTEXT_ID_GPENCIL, col, uiLayout::column(), CTX_IFACE_, PointerRNA::data, IFACE_, is_first_lineart(), uiLayout::label(), Panel::layout, LINEART_SILHOUETTE_FILTER_NONE, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_enum_get(), RNA_pointer_get(), uiLayout::row(), UI_ITEM_NONE, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_SLIDER, uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 1041 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 188 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(), ModifierEvalContext::depsgraph, GreasePencilShrinkwrapModifierData::shrink_mode, GreasePencilShrinkwrapModifierData::shrink_type, and GreasePencilShrinkwrapModifierData::target.
Referenced by modify_geometry_set().
Definition at line 551 of file MOD_lineart.cc.
References is_first_lineart(), uiLayout::label(), Panel::layout, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_NONE, uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
Definition at line 531 of file MOD_lineart.cc.
References IFACE_, is_first_lineart(), uiLayout::label(), Panel::layout, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), UI_ITEM_NONE, and uiLayoutSetEnabled().
Referenced by panel_register().
|
static |
Definition at line 368 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 290 of file MOD_grease_pencil_time.cc.
References blender::FrameRange::efra, find_key_range(), insert_keys_forward(), blender::TimeMapping::local_frame_after_scene_frame(), blender::TimeMapping::local_frame_before_scene_frame(), blender::FrameRange::sfra, and blender::Span< T >::slice().
Referenced by fill_scene_timeline().
|
static |
Definition at line 305 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 341 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 323 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 446 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 157 of file MOD_grease_pencil_outline.cc.
References blender::math::distance_squared(), blender::IndexRange::drop_front(), blender::Span< T >::first(), i, blender::Span< T >::index_range(), and blender::Span< T >::is_empty().
Referenced by modify_drawing().
|
static |
Definition at line 147 of file MOD_grease_pencil_dash.cc.
References i, blender::PatternInfo::length, blender::PatternInfo::segments, and blender::IndexRange::start().
Referenced by foreach_dash().
|
static |
Definition at line 113 of file MOD_nodes.cc.
References IDP_foreach_property(), IDP_TYPE_FILTER_ID, and NodesModifierSettings::properties.
Referenced by update_depsgraph().
|
static |
Find a suitable center and radius to enclose the envelope around a point.
Definition at line 210 of file MOD_grease_pencil_envelope.cc.
References blender::math::abs(), calc_radius_limit(), calculate_plane(), blender::IndexRange::contains(), blender::math::distance(), blender::math::dot(), find_plane_intersection(), blender::IndexRange::first(), blender::Span< T >::index_range(), blender::math::interpolate(), is_cyclic(), blender::math::is_zero(), blender::IndexRange::last(), blender::math::length(), blender::math::normalize(), pos, and blender::IndexRange::size().
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 134 of file MOD_grease_pencil_time.cc.
References blender::FrameRange::efra, i, blender::Span< T >::index_range(), result, and blender::FrameRange::sfra.
Referenced by fill_scene_range_fixed(), fill_scene_range_forward(), fill_scene_range_ping_pong(), and fill_scene_range_reverse().
|
inlinestatic |
Definition at line 81 of file MOD_grease_pencil_envelope.cc.
References blender::math::interpolate(), and line_plane_factor_v3().
Referenced by find_envelope().
|
static |
Definition at line 833 of file MOD_nodes.cc.
References bScreen::areabase, 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, SpaceSpreadsheet::geometry_id, LISTBASE_FOREACH, SPACE_SPREADSHEET, SPACE_VIEW3D, SpaceLink::spacetype, SpreadsheetTableIDGeometry::viewer_path, View3D::viewer_path, WorkSpace::viewer_path, and Main::wm.
Referenced by modifyGeometry().
|
static |
Definition at line 801 of file MOD_nodes.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_modifier_get_original(), DEG_get_original(), 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 781 of file MOD_nodes.cc.
References 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 733 of file MOD_nodes.cc.
References blender::bke::ComputeContextCache::for_group_node(), blender::bke::ComputeContextCache::for_modifier(), blender::bke::bNodeTreeZones::get_zone_by_node(), bNode::id, bNestedNodePath::id_in_node, bNode::identifier, NodesModifierData::node_group, bNestedNodePath::node_id, bNestedNodeRef::path, tree, and try_add_side_effect_node().
Referenced by find_side_effect_nodes_for_baking().
|
static |
Definition at line 702 of file MOD_nodes.cc.
References blender::ed::viewer_path::compute_context_for_viewer_path_elem(), DEG_get_original(), blender::bke::ComputeContextCache::for_modifier(), NodesModifierData::modifier, ModifierEvalContext::object, blender::ed::viewer_path::parse_geometry_nodes_viewer(), ModifierData::persistent_uid, and try_add_side_effect_node().
Referenced by find_side_effect_nodes().
|
static |
Definition at line 866 of file MOD_nodes.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), bScreen::areabase, BKE_workspace_active_screen_get(), DEG_get_bmain(), ModifierEvalContext::depsgraph, SpaceNode::edittree, ListBase::first, blender::nodes::geo_eval_log::GeoNodesLog::get_context_hash_by_zone_for_node_editor(), hash, LISTBASE_FOREACH, blender::ed::space_node::node_editor_is_for_geometry_nodes_modifier(), NTREE_GEOMETRY, ModifierEvalContext::object, SPACE_NODE, SpaceLink::spacetype, bNodeTree::type, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values(), and Main::wm.
Referenced by modifyGeometry().
|
constexpr |
Definition at line 33 of file BLI_hash_tables.hh.
References BLI_assert, x, and y.
|
constexpr |
Definition at line 47 of file BLI_hash_tables.hh.
References x.
Referenced by blender::LoadFactor::compute_total_and_usable_slots().
|
static |
Definition at line 100 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 168 of file MOD_grease_pencil_dash.cc.
References BLI_assert, blender::PatternInfo::cyclic, find_dash_segment(), i, blender::IndexRange::is_empty(), 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 73 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 69 of file MOD_grease_pencil_build.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and IDWALK_CB_NOP.
|
static |
Definition at line 71 of file MOD_grease_pencil_color.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 82 of file MOD_grease_pencil_dash.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 68 of file MOD_grease_pencil_envelope.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 83 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 68 of file MOD_grease_pencil_length.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 66 of file MOD_grease_pencil_mirror.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and IDWALK_CB_NOP.
|
static |
Definition at line 73 of file MOD_grease_pencil_multiply.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 265 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 82 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 158 of file MOD_grease_pencil_subdiv.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and GreasePencilSubdivModifierData::influence.
|
static |
Definition at line 72 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 84 of file MOD_grease_pencil_time.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link().
|
static |
Definition at line 99 of file MOD_grease_pencil_tint.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and IDWALK_CB_NOP.
|
static |
Definition at line 76 of file MOD_grease_pencil_weight_angle.cc.
References blender::modifier::greasepencil::foreach_influence_ID_link(), and GreasePencilWeightAngleModifierData::influence.
|
static |
|
static |
Definition at line 206 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 255 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 272 of file MOD_nodes.cc.
References Object::id, ptr, RNA_pointer_create_discrete(), and RNA_struct_find_property().
|
inline |
Support using the fmt library with StringRef and implicitly also StringRefNull.
Definition at line 659 of file BLI_string_ref.hh.
References str.
|
static |
Definition at line 67 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 63 of file MOD_grease_pencil_build.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 65 of file MOD_grease_pencil_color.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 74 of file MOD_grease_pencil_dash.cc.
References blender::modifier::greasepencil::free_influence_data(), and MEM_SAFE_FREE.
|
static |
Definition at line 62 of file MOD_grease_pencil_envelope.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 60 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 62 of file MOD_grease_pencil_length.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 60 of file MOD_grease_pencil_mirror.cc.
References blender::modifier::greasepencil::free_influence_data().
|
static |
Definition at line 67 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 76 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 66 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 76 of file MOD_grease_pencil_time.cc.
References blender::modifier::greasepencil::free_influence_data(), and MEM_SAFE_FREE.
|
static |
Definition at line 91 of file MOD_grease_pencil_tint.cc.
References blender::modifier::greasepencil::free_influence_data(), and MEM_SAFE_FREE.
|
static |
Definition at line 61 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 100 of file MOD_lineart.cc.
References GreasePencilLineartModifierData::runtime.
|
static |
Definition at line 2211 of file MOD_nodes.cc.
References NodesModifierData::bake_directory, NodesModifierData::bakes, NodesModifierData::bakes_num, IDP_FreeProperty_ex(), MEM_SAFE_FREE, nodes_modifier_bake_destruct(), NodesModifierData::panels, NodesModifierSettings::properties, NodesModifierData::runtime, and NodesModifierData::settings.
|
static |
Definition at line 125 of file MOD_grease_pencil_multiply.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::bke::CurvesGeometry::attributes_for_write(), blender::index_mask::IndexMask::complement(), blender::math::cross(), blender::bke::greasepencil::Drawing::curve_plane_normals(), blender::bke::CurvesGeometry::curves_range(), distance(), GreasePencilMultiModifierData::distance, duplicate_strokes(), GreasePencilMultiModifierData::duplications, blender::bke::CurvesGeometry::evaluated_tangents(), fabsf, GreasePencilMultiModifierData::fading_center, GreasePencilMultiModifierData::fading_opacity, GreasePencilMultiModifierData::fading_thickness, GreasePencilMultiModifierData::flag, blender::modifier::greasepencil::get_filtered_stroke_mask(), i, blender::MutableSpan< T >::index_range(), GreasePencilMultiModifierData::influence, blender::index_mask::IndexMask::is_empty(), blender::math::length(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::bke::attribute_math::mix2(), MOD_GREASE_PENCIL_MULTIPLY_ENABLE_FADING, normals, ModifierEvalContext::object, GreasePencilMultiModifierData::offset, blender::threading::parallel_for(), blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions_for_write(), blender::MutableSpan< T >::slice(), blender::bke::SpanAttributeWriter< T >::span, blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::math::to_scale().
Referenced by modify_geometry_set().
|
static |
Definition at line 746 of file MOD_lineart.cc.
References TreeNode::as_layer(), BKE_object_material_index_get(), BLI_assert, ModifierEvalContext::depsgraph, Object::dtx, is_first_lineart(), TreeNode::is_layer(), 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 1013 of file MOD_nodes.cc.
References BLI_assert, blender::BakeFrameIndices::current, blender::binary_search::first_if(), blender::BakeFrameIndices::next, and blender::BakeFrameIndices::prev.
Referenced by blender::NodesModifierSimulationParams::init_simulation_info().
|
static |
Definition at line 126 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 537 of file MOD_grease_pencil_build.cc.
References blender::bke::CurvesGeometry::attributes(), BLI_assert_unreachable, blender::math::clamp(), blender::bke::AttributeAccessor::contains(), fade(), get_factor_from_draw_speed(), length(), blender::math::min(), MOD_GREASE_PENCIL_BUILD_TIMEMODE_DRAWSPEED, MOD_GREASE_PENCIL_BUILD_TIMEMODE_FRAMES, MOD_GREASE_PENCIL_BUILD_TIMEMODE_PERCENTAGE, and blender::math::round().
Referenced by build_drawing().
|
inline |
Definition at line 233 of file BLI_hash.hh.
References blender::detail::get_default_hash_array(), T, and v.
Referenced by BKE_modifiers_persistent_uid_init(), BKE_tracking_camera_distortion_hash(), BKE_viewer_path_elem_hash(), BKE_viewer_path_hash(), blender::animrig::Channelbag::fcurve_create_many(), 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::NodeLinkKey::hash(), blender::bke::NormalFieldInput::hash(), blender::bke::outliner::treehash::TreeStoreElemKey::hash(), blender::bke::ZoneRelation::hash(), blender::compositor::BokehKernelKey::hash(), blender::compositor::CachedImageKey::hash(), blender::compositor::CachedMaskKey::hash(), blender::compositor::CachedShaderKey::hash(), blender::compositor::CachedTextureKey::hash(), blender::compositor::DericheGaussianCoefficientsKey::hash(), blender::compositor::DistortionGridKey::hash(), blender::compositor::FogGlowKernelKey::hash(), blender::compositor::ImageCoordinatesKey::hash(), blender::compositor::KeyingScreenKey::hash(), blender::compositor::MorphologicalDistanceFeatherWeightsKey::hash(), blender::compositor::OCIOColorSpaceConversionShaderKey::hash(), blender::compositor::SymmetricBlurWeightsKey::hash(), blender::compositor::SymmetricSeparableBlurWeightsKey::hash(), blender::compositor::VanVlietGaussianCoefficientsKey::hash(), blender::CPPType::hash(), blender::deg::ComponentNode::OperationIDKey::hash(), blender::deg::IDNode::ComponentIDKey::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::GenericStringKey::hash(), blender::ImplicitSharingPtr< GeometryComponent >::hash(), blender::io::ObjectIdentifier::hash(), blender::io::ply::uv_vertex_key::hash(), blender::locale::MessageKey::hash(), blender::locale::MessageKeyRef::hash(), blender::memory_cache::LoadFileKey::hash(), blender::memory_cache::tests::GenericIntKey::hash(), blender::nodes::DNode::hash(), blender::nodes::DSocket::hash(), blender::nodes::geo_eval_log::NodeWarning::hash(), blender::nodes::materialx::NodeGraph::NodeKey::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_field_average_cc::FieldAverageInput::hash(), blender::nodes::node_geo_field_min_and_max_cc::FieldMinMaxInput::hash(), blender::nodes::node_geo_field_variance_cc::FieldVarianceInput::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_instance_bounds_cc::InstanceBoundsField::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::seq::FinalImageCache::Key::hash(), blender::seq::ThumbnailCache::Request::hash(), blender::Span< T >::hash(), blender::SubFrame::hash(), GlyphCacheKey::hash(), LibWeakRefKey::hash(), PaintTileKey::hash(), RNAPath::hash(), Uniqueness_Key::hash(), blender::ImplicitSharingPtr< GeometryComponent >::hash_as(), blender::cpp_type_util::hash_cb(), id_name_final_build(), blender::eevee::ObjectKey::ObjectKey(), blender::CustomIDHash< T, GetIDFn >::operator()(), blender::CustomIDHash< T, GetIDFn >::operator()(), blender::DefaultHash< AssetLibraryReference >::operator()(), blender::DefaultHash< blender::Set< const BMVert * > >::operator()(), blender::DefaultHash< draw::pbvh::AttributeRequest >::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().
|
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 360 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::abs(), blender::bke::CurvesGeometry::attributes(), blender::math::clamp(), blender::bke::Curve, blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::IndexRange::drop_front(), blender::VArrayCommon< T >::last(), blender::bke::AttributeAccessor::lookup_or_default(), blender::math::max(), blender::math::min(), blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), and blender::bke::CurvesGeometry::points_num().
Referenced by get_build_factor().
|
static |
Definition at line 188 of file MOD_grease_pencil_offset.cc.
References max_ii(), size(), step, 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 132 of file MOD_grease_pencil_texture.cc.
References cross, dot(), blender::MatBase< float, 3, 4 >::identity(), blender::MatBase< float, 4, 3 >::identity(), normalize, blender::Span< T >::size(), and blender::math::transpose().
Referenced by write_fill_transforms().
|
static |
Definition at line 83 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 116 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, i, 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, 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(), i, 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 18 of file blenlib/intern/cpp_types.cc.
Referenced by blender::VectorCPPType::get_from_self().
|
static |
Definition at line 24 of file blenlib/intern/cpp_types.cc.
Referenced by blender::VectorCPPType::get_from_value().
Definition at line 166 of file BLI_hash.hh.
Referenced by blender::ed::object::FillColorRecord::hash(), blender::DefaultHash< std::string >::operator()(), blender::DefaultHash< std::string_view >::operator()(), blender::DefaultHash< StringRef >::operator()(), and blender::DefaultHash< StringRefNull >::operator()().
|
static |
Definition at line 107 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 2477 of file math_boolean.cc.
References b, blender::robust_pred::incircle(), and sgn().
Referenced by blender::meshintersect::filtered_incircle< double >().
| int blender::incircle_fast | ( | const double2 & | a, |
| const double2 & | b, | ||
| const double2 & | c, | ||
| const double2 & | d ) |
Definition at line 2482 of file math_boolean.cc.
References b, blender::robust_pred::incirclefast(), and sgn().
|
constexpr |
Definition at line 315 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 46 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.
|
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 42 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 44 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 45 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 41 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 41 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 41 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 39 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 48 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 55 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 45 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 46 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 51 of file MOD_grease_pencil_tint.cc.
References BKE_colorband_add(), BKE_colorband_init(), BLI_assert, data, 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_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 77 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 101 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 31 of file BLI_map_slots.hh.
Referenced by blender::SimpleMapSlot< Key, Value >::SimpleMapSlot(), and blender::SimpleMapSlot< Key, Value >::SimpleMapSlot().
Definition at line 49 of file BLI_memory_utils.hh.
References T.
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 87 of file BLI_memory_utils.hh.
References T.
Referenced by blender::Array< Slot, LoadFactor::compute_total_slots(InlineBufferCapacity, LOAD_FACTOR), Allocator >::fill(), blender::MutableSpan< T >::fill(), blender::Vector< SubdivCCGCoord, 256 >::fill(), blender::VArrayImpl_For_Single< T >::materialize_compressed(), blender::bits::MutableBitSpan::reset_all(), and blender::bits::MutableBitSpan::set_all().
Definition at line 65 of file BLI_memory_utils.hh.
References T.
Referenced by initialized_relocate_n(), and blender::cpp_type_util::move_assign_cb().
Definition at line 75 of file BLI_memory_utils.hh.
References destruct_n(), initialized_move_n(), and T.
|
static |
Definition at line 238 of file MOD_grease_pencil_time.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_overwrite(), blender::FrameRange::efra, i, blender::Span< T >::index_range(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::TimeMapping::scene_frame_after_local_frame(), 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 259 of file MOD_grease_pencil_time.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_overwrite(), blender::FrameRange::efra, i, blender::Span< T >::index_range(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::TimeMapping::scene_frame_after_local_frame(), 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 2497 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 2503 of file math_boolean.cc.
References b, e, blender::robust_pred::inspherefast(), and sgn().
Definition at line 505 of file MOD_lineart.cc.
References col, uiLayout::column(), i, IFACE_, Panel::layout, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_struct_find_property(), UI_ITEM_NONE, UI_ITEM_R_TOGGLE, uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 80 of file MOD_grease_pencil_armature.cc.
References OB_ARMATURE, GreasePencilArmatureModifierData::object, and Object::type.
|
static |
Definition at line 88 of file MOD_grease_pencil_dash.cc.
|
static |
Definition at line 67 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 79 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 106 of file MOD_grease_pencil_tint.cc.
References MOD_GREASE_PENCIL_TINT_GRADIENT.
|
static |
Definition at line 69 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 109 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 279 of file MOD_nodes.cc.
References NodesModifierData::node_group.
|
static |
Definition at line 42 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 57 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 T.
Convert a ListBase to a Vector.
Definition at line 105 of file BLI_listbase_wrapper.hh.
References T.
Referenced by animviz_calc_motionpaths(), ED_curve_updateAnimPaths(), blender::animrig::legacy::fcurves_for_action_slot_templated(), and nlastrip_evaluate_controls().
|
static |
Definition at line 290 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 478 of file MOD_lineart.cc.
References anything_showing_through(), col, uiLayout::column(), i, IFACE_, Panel::layout, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_struct_find_property(), UI_ITEM_NONE, UI_ITEM_R_TOGGLE, uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
Definition at line 463 of file MOD_lineart.cc.
References anything_showing_through(), IFACE_, Panel::layout, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), UI_ITEM_NONE, uiLayoutSetActive(), and uiLayoutSetEnabled().
Referenced by panel_register().
|
static |
Definition at line 252 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 361 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 113 of file MOD_grease_pencil_armature.cc.
References ARM_DEF_INVERT_VGROUP, blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::bke::CurvesGeometry::attributes(), BKE_armature_deform_coords_with_curves(), CD_PROP_FLOAT3, blender::ImplicitSharingPtrAndData::data, blender::bke::GreasePencilDrawingEditHints::deform_mats, blender::bke::CurvesGeometry::deform_verts(), 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::bke::CurvesGeometry::has_curve_with_type(), blender::MatBase< float, 3, 3 >::identity(), blender::Span< T >::is_empty(), blender::bke::AttributeAccessor::lookup(), ModifierEvalContext::object, blender::bke::CurvesGeometry::offsets(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_num(), blender::bke::GreasePencilDrawingEditHints::positions(), blender::bke::CurvesGeometry::positions_for_write(), blender::bke::GreasePencilDrawingEditHints::positions_for_write(), save_shared_attribute(), blender::MutableSpan< T >::slice(), blender::Span< T >::slice(), blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_positions_changed(), and CurvesGeometry::vertex_group_names.
Referenced by modify_geometry_set().
|
static |
Definition at line 178 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::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions_for_write(), 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 333 of file MOD_grease_pencil_dash.cc.
References blender::index_mask::IndexMask::complement(), create_dashes(), CurvesGeometry::curve_num, blender::bke::curves_copy_curve_selection(), blender::bke::curves_new_nomain(), blender::bke::CurvesGeometry::curves_range(), blender::modifier::greasepencil::ensure_no_bezier_curves(), blender::bke::GeometrySet::from_curves(), Curves::geometry, blender::bke::GeometrySet::get_curves_for_write(), blender::modifier::greasepencil::get_filtered_stroke_mask(), blender::bke::GeometrySet::has_curves(), GreasePencilDashModifierData::influence, blender::geometry::join_geometries(), 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 629 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 141 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 175 of file MOD_grease_pencil_outline.cc.
References BKE_object_material_index_get(), blender::ed::greasepencil::create_curves_outline(), CurvesGeometry::curve_num, blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::modifier::greasepencil::ensure_no_bezier_curves(), find_closest_point(), GreasePencilOutlineModifierData::flag, blender::VArray< T >::ForSingle(), blender::modifier::greasepencil::get_filtered_stroke_mask(), i, 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, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), 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 133 of file MOD_grease_pencil_shrinkwrap.cc.
References GreasePencilShrinkwrapModifierData::aux_target, BKE_object_defgroup_name_index(), GreasePencilShrinkwrapModifierData::cache_data, blender::bke::CurvesGeometry::cyclic(), blender::bke::CurvesGeometry::deform_verts(), 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, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_num(), blender::bke::CurvesGeometry::positions_for_write(), 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::ensure_no_bezier_curves(), 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, blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_positions_changed().
|
static |
Definition at line 154 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 324 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 125 of file MOD_grease_pencil_opacity.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), GreasePencilOpacityModifierData::color_factor, blender::bke::Curve, blender::bke::CurvesGeometry::curves_num(), blender::bke::SpanAttributeWriter< T >::finish(), blender::IndexRange::first(), GreasePencilOpacityModifierData::flag, blender::index_mask::IndexMask::foreach_index(), blender::VArray< T >::ForSingle(), blender::modifier::greasepencil::get_influence_vertex_weights(), GreasePencilOpacityModifierData::influence, blender::IndexRange::is_empty(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), MOD_GREASE_PENCIL_OPACITY_USE_WEIGHT_AS_FACTOR, blender::bke::CurvesGeometry::points_by_curve(), and blender::bke::SpanAttributeWriter< T >::span.
|
static |
Definition at line 132 of file MOD_grease_pencil_color.cc.
References apply_color_factor(), blender::bke::CurvesGeometry::attributes(), 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, blender::bke::AttributeAccessor::lookup_or_default(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by modify_curves(), modify_curves(), and modify_drawing().
|
static |
Definition at line 249 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, MaterialGPencilStyle::fill_style, blender::IndexRange::first(), GreasePencilTintModifierData::flag, blender::index_mask::IndexMask::foreach_index(), get_base_color(), blender::modifier::greasepencil::get_influence_vertex_weights(), GP_MATERIAL_FILL_STYLE_GRADIENT, Material::gp_style, GreasePencilTintModifierData::influence, blender::math::interpolate(), blender::IndexRange::is_empty(), blender::bke::AttributeAccessor::lookup_or_default(), MaterialGPencilStyle::mix_rgba, MOD_GREASE_PENCIL_TINT_GRADIENT, MOD_GREASE_PENCIL_TINT_UNIFORM, MOD_GREASE_PENCIL_TINT_USE_WEIGHT_AS_FACTOR, GreasePencilTintModifierData::object, blender::bke::CurvesGeometry::points_by_curve(), pos, blender::bke::CurvesGeometry::positions(), blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), and GreasePencilTintModifierData::tint_mode.
|
static |
Definition at line 224 of file MOD_grease_pencil_armature.cc.
References blender::bke::GeometrySet::get_component_for_write(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometryComponentEditData::grease_pencil_edit_hints_, blender::bke::GeometrySet::has_component(), blender::bke::GeometrySet::has_grease_pencil(), blender::MutableSpan< T >::is_empty(), modify_curves(), blender::threading::parallel_for_each(), blender::bke::GeometryComponentEditData::remember_deformed_positions_if_necessary(), 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 182 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 369 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 655 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 237 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 177 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 218 of file MOD_grease_pencil_multiply.cc.
References generate_curves(), 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(), blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 236 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 349 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 205 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 233 of file MOD_grease_pencil_outline.cc.
References Scene::camera, 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(), GreasePencil::runtime, and blender::bke::greasepencil::Layer::to_world_space().
|
static |
Definition at line 208 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 206 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 134 of file MOD_grease_pencil_subdiv.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(), GreasePencilSubdivModifierData::influence, GreasePencilSubdivModifierData::level, ModifierEvalContext::object, blender::threading::parallel_for_each(), GreasePencil::runtime, and subdivide_drawing().
|
static |
Definition at line 279 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 152 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 483 of file MOD_grease_pencil_time.cc.
References RenderData::cfra, DEG_get_evaluated_scene(), ModifierEvalContext::depsgraph, fill_scene_timeline(), blender::index_mask::IndexMask::foreach_index(), blender::bke::greasepencil::Layer::frames(), blender::bke::greasepencil::Layer::frames_for_write(), blender::modifier::greasepencil::get_filtered_layer_mask(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::has_grease_pencil(), Scene::r, blender::bke::greasepencil::Layer::sorted_keys(), and blender::bke::greasepencil::Layer::tag_frames_map_keys_changed().
|
static |
Definition at line 392 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 192 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 216 of file MOD_grease_pencil_weight_proximity.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(), GreasePencilWeightProximityModifierData::influence, ModifierEvalContext::object, blender::threading::parallel_for_each(), GreasePencil::runtime, target_vertex_group_available(), GreasePencilWeightProximityModifierData::target_vgname, GreasePencil::vertex_group_names, and write_weights_for_drawing().
|
static |
Definition at line 830 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 1948 of file MOD_nodes.cc.
References modifyGeometry().
|
static |
Definition at line 679 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, RenderData::frs_sec, RenderData::frs_sec_base, 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, MOD_GREASE_PENCIL_BUILD_RESTRICT_TIME, ModifierEvalContext::object, blender::threading::parallel_for_each(), Scene::r, GreasePencil::runtime, blender::bke::greasepencil::Layer::sorted_keys(), blender::bke::greasepencil::Layer::sorted_keys_index_at(), and blender::bke::greasepencil::Layer::start_frame_at().
|
static |
Definition at line 247 of file MOD_grease_pencil_length.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(), GreasePencilLengthModifierData::influence, ModifierEvalContext::object, blender::threading::parallel_for_each(), and GreasePencil::runtime.
|
static |
Definition at line 1927 of file MOD_nodes.cc.
References BKE_mesh_new_nomain(), blender::bke::Editable, blender::bke::MeshComponent::ensure_owns_direct_data(), blender::bke::GeometrySet::from_mesh(), blender::bke::MeshComponent::get(), blender::bke::GeometrySet::get_component_for_write(), modifyGeometry(), and blender::bke::MeshComponent::release().
|
static |
Definition at line 333 of file MOD_grease_pencil_tint.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), GreasePencilTintModifierData::factor, blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), and blender::bke::SpanAttributeWriter< T >::span.
Referenced by modify_curves().
|
static |
Definition at line 162 of file MOD_grease_pencil_opacity.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::Curve, blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), GreasePencilOpacityModifierData::hardness_factor, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), 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::bke::CurvesGeometry::attributes_for_write(), blender::bke::CurvesGeometry::curves_num(), blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), get_factor_from_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), GreasePencilOffsetModifierData::influence, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions_for_write(), and blender::bke::SpanAttributeWriter< T >::span.
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::bke::CurvesGeometry::attributes_for_write(), blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), get_factor_from_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), GreasePencilOffsetModifierData::influence, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions_for_write(), and blender::bke::SpanAttributeWriter< T >::span.
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(), blender::bke::CurvesGeometry::attributes_for_write(), BKE_object_material_len_p(), blender::bke::Curve, blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), get_factor_from_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), GreasePencilOffsetModifierData::influence, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::bke::AttributeAccessor::lookup_or_default(), blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions_for_write(), and blender::bke::SpanAttributeWriter< T >::span.
Referenced by modify_drawing().
|
static |
Definition at line 72 of file MOD_grease_pencil_opacity.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), BKE_curvemapping_evaluateF(), GreasePencilOpacityModifierData::color_factor, GreasePencilModifierInfluenceData::custom_curve, blender::bke::SpanAttributeWriter< T >::finish(), blender::IndexRange::first(), GreasePencilModifierInfluenceData::flag, GreasePencilOpacityModifierData::flag, blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), GREASE_PENCIL_INFLUENCE_USE_CUSTOM_CURVE, GreasePencilOpacityModifierData::influence, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), MOD_GREASE_PENCIL_OPACITY_USE_UNIFORM_OPACITY, MOD_GREASE_PENCIL_OPACITY_USE_WEIGHT_AS_FACTOR, blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), blender::IndexRange::size(), and blender::bke::SpanAttributeWriter< T >::span.
|
static |
Definition at line 96 of file MOD_grease_pencil_color.cc.
References apply_color_factor(), blender::bke::CurvesGeometry::attributes(), BKE_curvemapping_evaluateF(), BKE_object_material_get(), blender::bke::Curve, GreasePencilModifierInfluenceData::custom_curve, GreasePencilModifierInfluenceData::flag, blender::index_mask::IndexMask::foreach_index(), Material::gp_style, GREASE_PENCIL_INFLUENCE_USE_CUSTOM_CURVE, GreasePencilColorModifierData::hsv, i, blender::IndexRange::index_range(), GreasePencilColorModifierData::influence, blender::bke::AttributeAccessor::lookup_or_default(), blender::bke::CurvesGeometry::points_by_curve(), blender::IndexRange::size(), and MaterialGPencilStyle::stroke_rgba.
Referenced by modify_curves(), modify_curves(), and modify_drawing().
|
static |
Definition at line 165 of file MOD_grease_pencil_tint.cc.
References apply_gradient_tint(), apply_uniform_tint(), blender::bke::CurvesGeometry::attributes(), BKE_curvemapping_evaluateF(), BKE_object_material_get(), blender::bke::Curve, GreasePencilModifierInfluenceData::custom_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_USE_CUSTOM_CURVE, i, blender::IndexRange::index_range(), GreasePencilTintModifierData::influence, blender::bke::AttributeAccessor::lookup_or_default(), MOD_GREASE_PENCIL_TINT_GRADIENT, MOD_GREASE_PENCIL_TINT_UNIFORM, MOD_GREASE_PENCIL_TINT_USE_WEIGHT_AS_FACTOR, GreasePencilTintModifierData::object, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), blender::IndexRange::size(), 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(), blender::bke::CurvesGeometry::attributes_for_write(), BLI_halton_3d(), BLI_hash_int_01(), BLI_hash_string(), blender::bke::SpanAttributeWriter< T >::finish(), GreasePencilOffsetModifierData::flag, fmodf, blender::index_mask::IndexMask::foreach_index(), blender::modifier::greasepencil::get_influence_vertex_weights(), Object::id, GreasePencilOffsetModifierData::influence, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), MOD_GREASE_PENCIL_OFFSET_UNIFORM_RANDOM_SCALE, GreasePencilOffsetModifierData::modifier, ID::name, ModifierData::name, blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions_for_write(), GreasePencilOffsetModifierData::seed, seed, sin, and blender::bke::SpanAttributeWriter< T >::span.
Referenced by modify_drawing().
|
static |
Definition at line 1811 of file MOD_nodes.cc.
References add_data_block_items_writeback(), blender::nodes::GeoNodesCallData::bake_params, BKE_modifier_get_original(), BKE_modifier_set_error(), blender::nodes::build_properties_vector_set(), 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::ensure_geometry_nodes_lazy_function_graph(), blender::nodes::GeoNodesCallData::eval_log, blender::nodes::execute_geometry_nodes_on_geometry(), find_side_effect_nodes(), find_socket_log_contexts(), ModifierEvalContext::flag, blender::bke::GeometrySet::get_mesh(), blender::bke::GeometrySet::get_mesh_for_write(), ID_MISSING, bNodeSocket::idname, blender::Span< T >::is_empty(), logging_enabled(), MOD_APPLY_TO_ORIGINAL, NodesModifierData::modifier, blender::nodes::GeoNodesCallData::modifier_data, modifyGeometry(), NodesModifierData::node_group, ModifierEvalContext::object, NodesModifierSettings::properties, NodesModifierData::runtime, blender::nodes::GeoNodesModifierData::self_object, 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 346 of file BLI_memory_utils.hh.
References move_assign_container().
Referenced by move_assign_container(), blender::Array< Slot, LoadFactor::compute_total_slots(InlineBufferCapacity, LOAD_FACTOR), Allocator >::operator=(), blender::bits::BitGroupVector< InlineBufferCapacity, Allocator >::operator=(), blender::bits::BitVector< InlineBufferCapacity, Allocator >::operator=(), blender::GArray< Allocator >::operator=(), blender::Map< PropIdentifier, AnimatedProperty >::operator=(), blender::Set< std::string >::operator=(), blender::Stack< T, InlineBufferCapacity, RawAllocator >< RawVector< FunctionRef< void()>, 0 >, 0 >::operator=(), blender::Vector< SubdivCCGCoord, 256 >::operator=(), blender::VectorList< T, CapacityStart, CapacityMax >::operator=(), and blender::VectorSet< int, 0, DefaultProbingStrategy, DefaultHash< int >, DefaultEquality< int >, SimpleVectorSetSlot< int, LocalVertMapIndexT >, GuardedAllocator >::operator=().
| void blender::nodes_modifier_bake_destruct | ( | NodesModifierBake * | bake, |
| const bool | do_id_user ) |
Definition at line 2196 of file MOD_nodes.cc.
References MEM_SAFE_FREE, nodes_modifier_bake_destruct(), nodes_modifier_data_block_destruct(), and nodes_modifier_packed_bake_free().
Referenced by free_data(), nodes_modifier_bake_destruct(), and update_bakes_from_node_group().
| void blender::nodes_modifier_data_block_destruct | ( | NodesModifierDataBlock * | data_block, |
| const bool | do_id_user ) |
Definition at line 1675 of file MOD_nodes.cc.
References NodesModifierDataBlock::id, NodesModifierDataBlock::id_name, id_us_min(), NodesModifierDataBlock::lib_name, and MEM_SAFE_FREE.
Referenced by nodes_modifier_bake_destruct().
| void blender::nodes_modifier_packed_bake_free | ( | NodesModifierPackedBake * | packed_bake | ) |
Definition at line 2180 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 nodes_modifier_bake_destruct(), 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(), i, len, and seed.
|
static |
Definition at line 90 of file MOD_grease_pencil_length.cc.
References BLI_hash_int_01(), BLI_hash_int_2d(), i, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), len, and seed.
Referenced by deform_drawing(), and deform_drawing().
Definition at line 419 of file MOD_lineart.cc.
References col, uiLayout::column(), IFACE_, uiLayout::label(), Panel::layout, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_NONE, uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
Definition at line 459 of file BLI_cpp_type.hh.
References b.
Definition at line 625 of file BLI_string_ref.hh.
References b.
References b.
References b.
References b.
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, and blender::detail::matrix_mul_impl().
| 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, blender::detail::matrix_mul_impl(), and T.
| 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, blender::detail::matrix_mul_impl(), and T.
| 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, blender::detail::matrix_mul_impl(), and T.
Adding two #StringRefs will allocate an std::string. This is not efficient, but convenient in most cases.
Definition at line 605 of file BLI_string_ref.hh.
References b.
Lexicographic comparison of the UUIDs. Equivalent to string comparison on the formatted UUIDs.
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 630 of file BLI_string_ref.hh.
References b.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const ColorRGBA< ChannelStorageType, Space, Alpha > & | c ) |
Definition at line 50 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 51 of file compute_context.cc.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const ComputeContextHash & | hash ) |
Definition at line 27 of file compute_context.cc.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const eAlpha & | space ) |
Definition at line 15 of file BLI_color.cc.
References Premultiplied, and Straight.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const eSpace & | space ) |
Definition at line 30 of file BLI_color.cc.
References SceneLinear, SceneLinearByteEncoded, and Theme.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| const OrderedEdge & | e ) |
Definition at line 13 of file ordered_edge.cc.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| IndexRange | range ) |
Definition at line 46 of file index_range.cc.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| StringRef | ref ) |
Definition at line 16 of file string_ref.cc.
| std::ostream & blender::operator<< | ( | std::ostream & | stream, |
| StringRefNull | ref ) |
Definition at line 22 of file string_ref.cc.
References blender::StringRefBase::data(), and blender::StringRefBase::size().
Definition at line 640 of file BLI_string_ref.hh.
References b.
Definition at line 185 of file uuid.cc.
References BLI_uuid_equal().
Two types only compare equal when their pointer is equal. No two instances of CPPType for the same C++ type should be created.
Definition at line 454 of file BLI_cpp_type.hh.
References b.
Referenced by blender::render::TilesHighlight::~TilesHighlight().
|
inline |
Definition at line 40 of file BLI_session_uid.h.
References BLI_session_uid_is_equal(), and rhs.
This does not compare StringRef and std::string_view, because of ambiguous overloads. This is not a problem when #std::string_view is only used at API boundaries. To compare a StringRef and a #std::string_view, one should convert the #std::string_view to StringRef (which is very cheap). Ideally, we only use StringRef in our code to avoid this problem altogether.
NOTE: these functions are also suitable for StringRefNull comparisons, as these are implicitly converted to StringRef by the compiler.
Definition at line 620 of file BLI_string_ref.hh.
References b.
Definition at line 635 of file BLI_string_ref.hh.
References b.
Definition at line 645 of file BLI_string_ref.hh.
References b.
Definition at line 349 of file MOD_lineart.cc.
References col, uiLayout::column(), PointerRNA::data, IFACE_, is_first_lineart(), uiLayout::label(), Panel::layout, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_pointer_get(), RPT_, UI_ITEM_NONE, uiLayoutSetActive(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
Definition at line 381 of file MOD_lineart.cc.
References col, uiLayout::column(), IFACE_, is_first_lineart(), uiLayout::label(), Panel::layout, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), uiLayout::row(), TIP_, UI_ITEM_NONE, 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 2467 of file math_boolean.cc.
References b, blender::robust_pred::orient2d(), and sgn().
Referenced by blender::meshintersect::filtered_orient2d< double >().
Definition at line 2472 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 2487 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 2492 of file math_boolean.cc.
References b, blender::robust_pred::orient3dfast(), and sgn().
Definition at line 218 of file MOD_lineart.cc.
References col, uiLayout::column(), IFACE_, is_first_lineart(), Panel::layout, LINEART_SOURCE_COLLECTION, LINEART_SOURCE_OBJECT, modifier_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_enum_get(), RNA_pointer_get(), uiLayout::row(), UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiItemPointerR(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Definition at line 266 of file MOD_grease_pencil_armature.cc.
References C, col, uiLayout::column(), blender::modifier::greasepencil::draw_vertex_group_settings(), IFACE_, Panel::layout, modifier_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, UI_ITEM_NONE, and uiLayoutSetPropSep().
Referenced by panel_register().
Definition at line 277 of file MOD_grease_pencil_array.cc.
References PanelLayout::body, C, col, blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, modifier_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::panel_prop_with_bool_header(), uiLayout::prop(), ptr, RNA_boolean_get(), UI_ITEM_NONE, uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 741 of file MOD_grease_pencil_build.cc.
References active, PanelLayout::body, C, 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::panel_prop_with_bool_header(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_enum_get(), RNA_enum_set(), uiLayout::separator(), UI_ITEM_NONE, uiItemPointerR(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 203 of file MOD_grease_pencil_color.cc.
References C, 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, UI_ITEM_NONE, UI_ITEM_R_SLIDER, and uiLayoutSetPropSep().
Definition at line 395 of file MOD_grease_pencil_dash.cc.
References C, col, uiLayout::column(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, modifier_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::op(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_pointer_create_discrete(), uiLayout::row(), UI_ITEM_NONE, UI_TEMPLATE_LIST_FLAG_NONE, uiItemEnumO_string(), uiLayoutSetPropSep(), and uiTemplateList().
Definition at line 679 of file MOD_grease_pencil_envelope.cc.
References C, 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_enum_get(), UI_ITEM_NONE, and uiLayoutSetPropSep().
Definition at line 262 of file MOD_grease_pencil_hook.cc.
References C, col, uiLayout::column(), 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_error_message_draw(), modifier_panel_get_property_pointers(), OB_ARMATURE, uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_enum_get(), RNA_pointer_get(), RNA_pointer_is_null(), uiLayout::row(), UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiItemPointerR(), uiLayoutSetActive(), uiLayoutSetPropSep(), and uiTemplateCurveMapping().
Definition at line 154 of file MOD_grease_pencil_lattice.cc.
References C, 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, UI_ITEM_NONE, UI_ITEM_R_SLIDER, and uiLayoutSetPropSep().
Definition at line 271 of file MOD_grease_pencil_length.cc.
References PanelLayout::body, C, col, uiLayout::column(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), GP_LENGTH_RELATIVE, IFACE_, Panel::layout, modifier_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::panel_prop_with_bool_header(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_enum_get(), UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 201 of file MOD_grease_pencil_mirror.cc.
References C, blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, modifier_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, uiLayout::row(), UI_ITEM_NONE, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_TOGGLE, and uiLayoutSetPropSep().
Definition at line 239 of file MOD_grease_pencil_multiply.cc.
References PanelLayout::body, C, col, uiLayout::column(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, modifier_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::panel_prop_with_bool_header(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_int_get(), UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 272 of file MOD_grease_pencil_noise.cc.
References BLT_I18NCONTEXT_ID_GPENCIL, PanelLayout::body, C, col, uiLayout::column(), CTX_IFACE_, 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::panel_prop_with_bool_header(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_enum_get(), UI_ITEM_NONE, uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 384 of file MOD_grease_pencil_offset.cc.
References BKE_panel_layout_panel_state_ensure(), C, 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), ptr, RNA_enum_get(), RNA_pointer_create_discrete(), UI_ITEM_NONE, and uiLayoutSetPropSep().
Definition at line 226 of file MOD_grease_pencil_opacity.cc.
References C, 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_enum_get(), uiLayout::row(), UI_ITEM_NONE, uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 268 of file MOD_grease_pencil_outline.cc.
References C, Scene::camera, CTX_data_scene(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, uiLayout::label(), Panel::layout, modifier_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RPT_, UI_ITEM_NONE, and uiLayoutSetPropSep().
Definition at line 239 of file MOD_grease_pencil_shrinkwrap.cc.
References C, col, uiLayout::column(), 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_enum_get(), UI_ITEM_NONE, UI_ITEM_R_EXPAND, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_TOGGLE, uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 197 of file MOD_grease_pencil_simplify.cc.
References C, 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_enum_get(), UI_ITEM_NONE, and uiLayoutSetPropSep().
Definition at line 229 of file MOD_grease_pencil_smooth.cc.
References BLT_I18NCONTEXT_ID_GPENCIL, C, col, uiLayout::column(), CTX_IFACE_, 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_boolean_get(), uiLayout::row(), UI_ITEM_NONE, UI_ITEM_R_TOGGLE, uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 165 of file MOD_grease_pencil_subdiv.cc.
References C, blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), IFACE_, Panel::layout, modifier_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, UI_ITEM_NONE, and uiLayoutSetPropSep().
Definition at line 303 of file MOD_grease_pencil_texture.cc.
References C, col, uiLayout::column(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), ELEM, IFACE_, Panel::layout, MOD_GREASE_PENCIL_TEXTURE_FILL, MOD_GREASE_PENCIL_TEXTURE_STROKE, MOD_GREASE_PENCIL_TEXTURE_STROKE_AND_FILL, modifier_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, uiLayout::separator(), UI_ITEM_NONE, and uiLayoutSetPropSep().
Definition at line 175 of file MOD_grease_pencil_thickness.cc.
References C, 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_boolean_get(), uiLayout::row(), UI_ITEM_NONE, uiLayoutSetActive(), and uiLayoutSetPropSep().
Definition at line 517 of file MOD_grease_pencil_time.cc.
References PanelLayout::body, C, col, uiLayout::column(), 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::op(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_enum_get(), RNA_pointer_create_discrete(), uiLayout::row(), UI_ITEM_NONE, UI_TEMPLATE_LIST_FLAG_NONE, uiItemEnumO_string(), uiLayoutSetActive(), uiLayoutSetPropSep(), and uiTemplateList().
Definition at line 413 of file MOD_grease_pencil_tint.cc.
References C, col, uiLayout::column(), 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_enum_get(), uiLayout::row(), uiLayout::separator(), UI_ITEM_NONE, UI_ITEM_R_EXPAND, uiLayoutSetActive(), uiLayoutSetPropSep(), and uiTemplateColorRamp().
Definition at line 222 of file MOD_grease_pencil_weight_angle.cc.
References C, 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_string_length(), uiLayout::row(), UI_ITEM_NONE, uiItemPointerR(), uiLayoutSetActive(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Definition at line 246 of file MOD_grease_pencil_weight_proximity.cc.
References C, uiLayout::column(), 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_error_message_draw(), modifier_panel_get_property_pointers(), uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_string_length(), uiLayout::row(), UI_ITEM_NONE, uiItemPointerR(), uiLayoutSetActive(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Definition at line 1955 of file MOD_nodes.cc.
References C, blender::nodes::draw_geometry_nodes_modifier_ui(), Panel::layout, and modifier_panel_get_property_pointers().
|
static |
Definition at line 285 of file MOD_grease_pencil_armature.cc.
References eModifierType_GreasePencilArmature, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 329 of file MOD_grease_pencil_array.cc.
References eModifierType_GreasePencilArray, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 839 of file MOD_grease_pencil_build.cc.
References eModifierType_GreasePencilBuild, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 229 of file MOD_grease_pencil_color.cc.
References eModifierType_GreasePencilColor, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 481 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 717 of file MOD_grease_pencil_envelope.cc.
References eModifierType_GreasePencilEnvelope, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 314 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 329 of file MOD_grease_pencil_length.cc.
References eModifierType_GreasePencilLength, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 228 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 448 of file MOD_grease_pencil_offset.cc.
References eModifierType_GreasePencilOffset, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 272 of file MOD_grease_pencil_opacity.cc.
References eModifierType_GreasePencilOpacity, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 299 of file MOD_grease_pencil_outline.cc.
References eModifierType_GreasePencilOutline, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 305 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 268 of file MOD_grease_pencil_smooth.cc.
References eModifierType_GreasePencilSmooth, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 186 of file MOD_grease_pencil_subdiv.cc.
References eModifierType_GreasePencilSubdiv, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 346 of file MOD_grease_pencil_texture.cc.
References eModifierType_GreasePencilTexture, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 209 of file MOD_grease_pencil_thickness.cc.
References eModifierType_GreasePencilThickness, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 636 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 460 of file MOD_grease_pencil_tint.cc.
References eModifierType_GreasePencilTint, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 260 of file MOD_grease_pencil_weight_angle.cc.
References eModifierType_GreasePencilWeightAngle, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 284 of file MOD_grease_pencil_weight_proximity.cc.
References eModifierType_GreasePencilWeightProximity, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 710 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 1962 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.
References begin().
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.
References begin().
|
static |
Definition at line 100 of file MOD_grease_pencil_build.cc.
References blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::bke::CurvesGeometry::cyclic(), blender::bke::CurvesGeometry::ensure_evaluated_lengths(), blender::bke::CurvesGeometry::evaluated_length_total_for_curve(), len, blender::math::max(), MOD_GREASE_PENCIL_BUILD_TIMEALIGN_END, MOD_GREASE_PENCIL_BUILD_TIMEALIGN_START, MOD_GREASE_PENCIL_BUILD_TRANSITION_GROW, blender::bke::CurvesGeometry::points_by_curve(), result, select, blender::offset_indices::OffsetIndices< T >::size(), and blender::index_mask::IndexMask::to_bools().
Referenced by build_concurrent().
|
static |
Definition at line 283 of file MOD_grease_pencil_build.cc.
References blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), i, MOD_GREASE_PENCIL_BUILD_TRANSITION_GROW, MOD_GREASE_PENCIL_BUILD_TRANSITION_VANISH, blender::bke::CurvesGeometry::points_by_curve(), select, blender::offset_indices::OffsetIndices< T >::size(), blender::offset_indices::sum_group_sizes(), blender::index_mask::IndexMask::to_bools(), 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 324 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 112 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::IndexRange::size(), blender::Span< T >::size(), blender::IndexRange::start(), 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::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::math::distance(), blender::Array< T, InlineBufferCapacity, Allocator >::end(), blender::IndexRange::first(), i, blender::IndexRange::last(), blender::math::max(), parallel_sort(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), blender::geometry::reorder_curves_geometry(), and select.
Referenced by build_drawing().
|
static |
Definition at line 2230 of file MOD_nodes.cc.
References CD_MASK_MDEFORMVERT, CD_MASK_PROP_ALL, and CustomData_MeshMasks::vmask.
Definition at line 122 of file MOD_grease_pencil_texture.cc.
References angle(), blender::math::cos(), and blender::math::sin().
Referenced by write_fill_transforms().
|
static |
Definition at line 101 of file MOD_grease_pencil_armature.cc.
References blender::ImplicitSharingInfo::add_user(), blender::GSpan::data(), data, blender::GVArrayCommon::get_internal_span(), blender::GVArrayCommon::is_span(), blender::GVArrayCommon::materialize(), blender::bke::GAttributeReader::sharing_info, blender::GVArrayCommon::size(), blender::GVArrayCommon::type(), and blender::bke::GAttributeReader::varray.
Referenced by modify_curves().
|
static |
Definition at line 466 of file MOD_grease_pencil_dash.cc.
References uiLayout::prop(), uiLayout::row(), and UI_ITEM_R_NO_BG.
Referenced by panel_register().
|
static |
Definition at line 621 of file MOD_grease_pencil_time.cc.
References uiLayout::prop(), uiLayout::row(), and UI_ITEM_R_NO_BG.
|
static |
Definition at line 2462 of file math_boolean.cc.
References x.
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::IndexRange::contains(), blender::bke::curves_copy_point_selection(), blender::ed::greasepencil::curves_merge_by_distance(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::cyclic(), GreasePencilSimplifyModifierData::distance, blender::IndexRange::drop_back(), blender::IndexRange::drop_front(), blender::modifier::greasepencil::ensure_no_bezier_curves(), GreasePencilSimplifyModifierData::factor, blender::VArray< T >::ForSingle(), blender::IndexMask::from_predicate(), blender::modifier::greasepencil::get_filtered_stroke_mask(), i, 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::point_to_curve_map(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_num(), blender::bke::CurvesGeometry::points_range(), blender::bke::CurvesGeometry::positions(), 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::IndexMask::from_predicate(), i, blender::IndexRange::last(), blender::bke::CurvesGeometry::point_to_curve_map(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_range(), blender::math::pow(), blender::IndexRange::size(), blender::IndexRange::start(), and step.
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 16 of file index_range.cc.
References blender::AlignedIndexRanges::aligned, BLI_assert, mask(), blender::IndexRange::one_after_last(), blender::AlignedIndexRanges::prefix, blender::IndexRange::size(), blender::IndexRange::start(), 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::bke::CurvesGeometry::cyclic(), 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(), 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 99 of file MOD_grease_pencil_length.cc.
References blender::math::ceil(), blender::math::floor(), blender::math::fract(), blender::math::interpolate(), and x.
Referenced by deform_drawing().
|
static |
Definition at line 100 of file MOD_grease_pencil_weight_angle.cc.
References BKE_defgroup_name_index().
Referenced by modify_geometry_set().
|
static |
Definition at line 143 of file MOD_grease_pencil_weight_proximity.cc.
References BKE_defgroup_name_index().
| blender::TEST | ( | BLI_string_utils | , |
| BLI_string_replace | ) |
Definition at line 15 of file BLI_string_utils_test.cc.
References BLI_string_replace(), and EXPECT_EQ().
| blender::TEST | ( | BLI_string_utils | , |
| BLI_uniquename_cb | ) |
Definition at line 30 of file BLI_string_utils_test.cc.
References BLI_uniquename_cb(), blender::Vector< T, InlineBufferCapacity, Allocator >::contains(), and EXPECT_EQ().
| 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.
|
constexpr |
Definition at line 54 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 480 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(), DEG_get_evaluated_id(), DEG_is_evaluated(), ModifierEvalContext::depsgraph, 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, NodesModifierData::node_group, blender::nodes::GeoNodesSideEffectNodes::nodes_by_context, blender::bke::bNodeTreeZone::output_node(), blender::ComputeContext::parent(), blender::bke::bNodeTreeZone::parent_zone, and ModifierData::persistent_uid.
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 1080 of file MOD_nodes.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIteratorRange< SubIterator >::begin(), blender::bke::bake::NodeBakeCache::blob_sharing, blender::bke::bake::NodeBakeCache::blobs_dir, 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 60 of file BLI_memory_utils.hh.
Definition at line 54 of file BLI_memory_utils.hh.
References T.
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< SubdivCCGCoord, 256 >::extend_unchecked(), blender::bke::ntree_copy_data(), blender::bke::bake::pack_bake_from_disk(), blender::Stack< T, InlineBufferCapacity, RawAllocator >< RawVector< FunctionRef< void()>, 0 >, 0 >::push_multiple(), and blender::ed::space_node::update_nested_node_refs_after_moving_nodes_into_group().
Definition at line 92 of file BLI_memory_utils.hh.
References T.
Referenced by blender::Vector< SubdivCCGCoord, 256 >::append_n_times(), blender::fn::multi_function::build::detail::execute_materialized(), blender::VArrayImpl_For_Single< T >::materialize_compressed_to_uninitialized(), and blender::Vector< SubdivCCGCoord, 256 >::resize().
Definition at line 70 of file BLI_memory_utils.hh.
References T.
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 81 of file BLI_memory_utils.hh.
References destruct_n(), T, and uninitialized_move_n().
Referenced by blender::VectorSet< int, 0, DefaultProbingStrategy, DefaultHash< int >, DefaultEquality< int >, SimpleVectorSetSlot< int, LocalVertMapIndexT >, GuardedAllocator >::extract_vector(), blender::animrig::grow_array(), grow_array(), blender::animrig::grow_array_and_insert(), blender::Vector< SubdivCCGCoord, 256 >::release(), blender::Stack< T, InlineBufferCapacity, RawAllocator >< RawVector< FunctionRef< void()>, 0 >, 0 >::Stack(), and blender::VectorSet< int, 0, DefaultProbingStrategy, DefaultHash< int >, DefaultEquality< int >, SimpleVectorSetSlot< int, LocalVertMapIndexT >, GuardedAllocator >::VectorSet().
| 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 25 of file BLI_unroll.hh.
References unroll_impl().
Referenced by blender::math::adjoint(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::all(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::diagonal(), blender::math::from_scale(), blender::fixed_width_int::generic_add(), blender::fixed_width_int::generic_sub(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::hash(), blender::math::interpolate_linear(), blender::fixed_width_int::is_zero(), blender::fixed_width_int::is_zero(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::MatBase(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::MatBase(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::MatBase(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::MatBase(), blender::detail::matrix_mul_impl(), blender::math::normalize(), blender::math::normalize(), blender::math::normalize_and_get_size(), blender::math::normalize_and_get_size(), blender::MatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator MatT(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator*, blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator*, blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator*, blender::MatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator*, blender::MatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator*, blender::MatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator*, blender::MutableMatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator*, blender::MutableMatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator*, blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator*=(), blender::MutableMatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator*=(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator+, blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator+, blender::MatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator+, blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator+=(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator+=(), blender::MutableMatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator+=(), blender::MutableMatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator+=(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator-, blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator-, blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator-, blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator-, blender::MatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator-, blender::MatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator-, blender::MatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator-, blender::MatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator-, blender::MatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator-, blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator-=(), blender::MatBase< T, SrcNumCol, SrcNumRow, SrcAlignment >::operator-=(), blender::MutableMatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator-=(), blender::MutableMatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator-=(), blender::MutableMatView< float, 4, 4, 4, 4, 0, 0, alignof(float)>::operator=(), blender::math::pseudo_invert(), 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 346 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::data_blocks, NodesModifierBake::data_blocks_num, NodesModifierBake::directory, ELEM, NodesModifierBake::frame_end, NodesModifierBake::frame_start, GEO_NODE_BAKE, GEO_NODE_SIMULATION_OUTPUT, i, NodesModifierBake::id, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), MEM_calloc_arrayN(), MEM_SAFE_FREE, NodesModifierData::node_group, nodes_modifier_bake_destruct(), NODES_MODIFIER_BAKE_MODE_STILL, NodesModifierBake::packed, remove_outdated_bake_caches(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), bNode::type_legacy, and update_bakes_from_node_group().
Referenced by MOD_nodes_update_interface(), and 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 91 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 76 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 74 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 73 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 90 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 DAG_EVAL_NEED_SHRINKWRAP_BOUNDARY, DEG_add_depends_on_transform_relation(), DEG_add_object_relation(), DEG_add_special_eval_flag(), DEG_OB_COMP_GEOMETRY, DEG_OB_COMP_TRANSFORM, MOD_SHRINKWRAP_TARGET_PROJECT, and ModifierUpdateDepsgraphContext::node.
|
static |
Definition at line 115 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 164 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_add_scene_relation(), DEG_OB_COMP_PARAMETERS, DEG_OB_COMP_TRANSFORM, DEG_SCENE_COMP_PARAMETERS, 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 164 of file MOD_nodes.cc.
References add_collection_relation(), blender::nodes::GeometryNodesEvalDependencies::add_generic_id_full(), blender::nodes::GeometryNodesEvalDependencies::add_object(), 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_dependencies_from_settings(), blender::nodes::gather_geometry_nodes_eval_dependencies_recursive(), GS, Object::id, ID_GR, ID_IM, ID_MISSING, ID_OB, ID_TE, blender::nodes::GeometryNodesEvalDependencies::ids, blender::nodes::GeometryNodesEvalDependencies::needs_active_camera, blender::nodes::GeometryNodesEvalDependencies::needs_own_transform, blender::nodes::GeometryNodesEvalDependencies::needs_scene_render_params, ModifierUpdateDepsgraphContext::node, NodesModifierData::node_group, OB_CURVES, ModifierUpdateDepsgraphContext::object, blender::nodes::GeometryNodesEvalDependencies::objects_info, ModifierUpdateDepsgraphContext::scene, ID::session_uid, NodesModifierData::settings, Curves::surface, Object::type, and Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
|
static |
Definition at line 28 of file atomic_disjoint_set.cc.
Referenced by blender::AtomicDisjointSet::calc_reduced_ids().
|
static |
Definition at line 301 of file MOD_nodes.cc.
References blender::bke::idprop::create_group(), IDP_FreeProperty(), NodesModifierData::node_group, NodesModifierSettings::properties, NodesModifierData::settings, update_id_properties_from_node_group(), blender::nodes::update_input_properties_from_node_tree(), and blender::nodes::update_output_properties_from_node_tree().
Referenced by MOD_nodes_update_interface(), and update_id_properties_from_node_group().
|
static |
Definition at line 403 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, i, 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_calloc_arrayN(), 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 MOD_nodes_update_interface(), and update_panels_from_node_group().
Definition at line 620 of file MOD_lineart.cc.
References col, uiLayout::column(), IFACE_, is_first_lineart(), uiLayout::label(), Panel::layout, modifier_panel_get_property_pointers(), uiLayout::prop(), ptr, RNA_boolean_get(), TIP_, UI_ITEM_NONE, UI_ITEM_R_TOGGLE, uiItemPointerR(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 167 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(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), rotate_by_angle(), blender::math::safe_rcp(), blender::math::scale(), blender::bke::greasepencil::Drawing::set_texture_matrices(), blender::math::sin(), blender::Span< T >::slice(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::texture_matrices(), and UNUSED_VARS.
Referenced by modify_curves().
|
static |
Definition at line 78 of file MOD_grease_pencil_texture.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::Curve, blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::cyclic(), blender::bke::CurvesGeometry::ensure_evaluated_lengths(), blender::bke::CurvesGeometry::evaluated_lengths_for_curve(), blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), blender::VArray< T >::ForSingle(), is_cyclic(), blender::Span< T >::last(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), norm(), blender::bke::Point, blender::bke::CurvesGeometry::points_by_curve(), 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 110 of file MOD_grease_pencil_weight_angle.cc.
References angle(), angle_on_axis_v3v3_v3(), blender::bke::CurvesGeometry::attributes_for_write(), BLI_assert, blender::math::clamp(), blender::IndexRange::drop_front(), blender::bke::greasepencil::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::bke::CurvesGeometry::is_empty(), blender::index_mask::IndexMask::is_empty(), blender::bke::MutableAttributeAccessor::lookup_for_write_span(), M_PI_2, MOD_GREASE_PENCIL_WEIGHT_ANGLE_INVERT_OUTPUT, MOD_GREASE_PENCIL_WEIGHT_ANGLE_MULTIPLY_DATA, MOD_GREASE_PENCIL_WEIGHT_ANGLE_SPACE_LOCAL, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), rotate_normalized_v3_v3v3fl(), blender::math::sin(), blender::IndexRange::size(), blender::bke::SpanAttributeWriter< T >::span, blender::IndexRange::start(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::math::transform_point(), and CurvesGeometry::vertex_group_names.
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 153 of file MOD_grease_pencil_weight_proximity.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), BLI_assert, blender::bke::greasepencil::ensure_vertex_group(), blender::modifier::greasepencil::get_filtered_stroke_mask(), blender::modifier::greasepencil::get_influence_vertex_weights(), blender::Span< T >::index_range(), invert(), blender::bke::CurvesGeometry::is_empty(), blender::index_mask::IndexMask::is_empty(), blender::bke::MutableAttributeAccessor::lookup_for_write_span(), MOD_GREASE_PENCIL_WEIGHT_PROXIMITY_INVERT_OUTPUT, MOD_GREASE_PENCIL_WEIGHT_PROXIMITY_MULTIPLY_DATA, blender::threading::parallel_for(), blender::bke::CurvesGeometry::positions(), blender::bke::SpanAttributeWriter< T >::span, blender::bke::greasepencil::Drawing::strokes_for_write(), and CurvesGeometry::vertex_group_names.
|
static |
Definition at line 124 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 287 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 313 of file BLI_memory_utils.hh.
Referenced by blender::bke::idprop::create_array(), 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_geometry::sort_domain_using_attributes(), blender::bke::compare_geometry::sort_indices(), blender::bke::static_type_to_socket_type(), blender::bits::to_best_bit_span(), and blender::bke::compare_geometry::values_different().
|
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 297 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 24 of file BLI_memory_utils.hh.
|
inlineconstexpr |
Definition at line 612 of file BLI_generic_virtual_array.hh.
|
inlineconstexpr |
Definition at line 653 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 29 of file BLI_memory_utils.hh.
|
inlineconstexpr |
Definition at line 26 of file BLI_memory_utils.hh.
Referenced by destruct_n().
|
inlineconstexpr |
Definition at line 32 of file BLI_memory_utils.hh.
Definition at line 1022 of file BLI_virtual_array.hh.
|
staticconstexpr |
Definition at line 1023 of file BLI_virtual_array.hh.
Definition at line 1025 of file BLI_virtual_array.hh.
|
staticconstexpr |
Definition at line 1026 of file BLI_virtual_array.hh.
|
static |
Definition at line 94 of file MOD_grease_pencil_envelope.cc.
Referenced by calc_min_radius_v3v3(), and calc_radius_limit().