|
Blender V5.0
|
Public Member Functions | |
| CurvesEffectOperationExecutor (const bContext &C) | |
| void | execute (CurvesEffectOperation &self, const bContext &C, const StrokeExtension &stroke_extension) |
| void | gather_influences_projected (MutableSpan< float > move_distances_cu) |
| void | gather_influences_spherical (MutableSpan< float > move_distances_cu) |
Utility class that actually executes the update when the stroke is updated. That's useful because it avoids passing a very large number of parameters between functions.
Definition at line 231 of file curves_sculpt_grow_shrink.cc.
|
inline |
Definition at line 256 of file curves_sculpt_grow_shrink.cc.
|
inline |
Definition at line 258 of file curves_sculpt_grow_shrink.cc.
References BKE_brush_radius_get(), BKE_paint_brush_for_read(), BLI_SCOPED_DEFER, brush_, brush_pos_end_re_, brush_pos_start_re_, brush_radius_base_re_, blender::ed::sculpt_paint::brush_radius_factor(), brush_radius_factor_, brush_strength_, blender::ed::sculpt_paint::brush_strength_get(), C, ctx_, CTX_data_active_object(), blender::bke::Curve, curve_selection_, curve_selection_factors_, curves_, curves_id_, curves_sculpt_, DEG_id_tag_update(), ED_region_tag_redraw(), falloff_shape_, blender::IndexMask::from_predicate(), gather_influences_projected(), gather_influences_spherical(), ID_RECALC_GEOMETRY, blender::ed::sculpt_paint::StrokeExtension::is_first, blender::ed::sculpt_paint::StrokeExtension::mouse_position, NC_GEOM, ND_DATA, object_, PAINT_FALLOFF_SHAPE_SPHERE, PAINT_FALLOFF_SHAPE_TUBE, blender::ed::sculpt_paint::remember_stroke_position(), blender::ed::curves::retrieve_selected_curves(), blender::ed::sculpt_paint::sample_curves_3d_brush(), selected_curve_memory_, self, self_, blender::math::transform_point(), transforms_, U, USER_ORBIT_SELECTION, and WM_main_add_notifier().
Referenced by blender::ed::sculpt_paint::CurvesEffectOperation::on_stroke_extended().
|
inline |
Definition at line 337 of file curves_sculpt_grow_shrink.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BKE_brush_curve_strength(), brush_, brush_pos_end_re_, brush_pos_start_re_, brush_radius_base_re_, brush_radius_factor_, brush_strength_, closest_seg_seg_v2(), ctx_, curve_selection_, curve_selection_factors_, curves_, curves_id_, blender::math::distance(), blender::IndexRange::drop_back(), ED_view3d_ob_project_mat_get(), ED_view3d_project_float_v2_m4(), ED_view3d_win_to_3d(), blender::bke::crazyspace::get_evaluated_curves_deformation(), blender::ed::sculpt_paint::get_symmetry_brush_transforms(), blender::math::interpolate(), blender::math::invert(), object_, blender::bke::crazyspace::GeometryDeformation::positions, pow2f(), blender::math::transform_point(), and transforms_.
Referenced by execute().
|
inline |
Definition at line 422 of file curves_sculpt_grow_shrink.cc.
References BKE_brush_curve_strength(), brush_, brush_pos_end_re_, brush_pos_start_re_, brush_radius_factor_, brush_strength_, ctx_, curve_selection_, curve_selection_factors_, curves_, curves_id_, blender::math::distance_squared(), blender::IndexRange::drop_back(), ED_view3d_win_to_3d(), blender::bke::crazyspace::get_evaluated_curves_deformation(), blender::ed::sculpt_paint::get_symmetry_brush_transforms(), isect_seg_seg_v3(), blender::math::length(), object_, blender::bke::crazyspace::GeometryDeformation::positions, pow2f(), self_, blender::math::transform_point(), and transforms_.
Referenced by execute().
Definition at line 244 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), gather_influences_projected(), and gather_influences_spherical().
| float2 blender::ed::sculpt_paint::CurvesEffectOperationExecutor::brush_pos_end_re_ |
Definition at line 254 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), gather_influences_projected(), and gather_influences_spherical().
| float2 blender::ed::sculpt_paint::CurvesEffectOperationExecutor::brush_pos_start_re_ |
Definition at line 253 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), gather_influences_projected(), and gather_influences_spherical().
| float blender::ed::sculpt_paint::CurvesEffectOperationExecutor::brush_radius_base_re_ |
Definition at line 245 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), and gather_influences_projected().
| float blender::ed::sculpt_paint::CurvesEffectOperationExecutor::brush_radius_factor_ |
Definition at line 246 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), gather_influences_projected(), and gather_influences_spherical().
| float blender::ed::sculpt_paint::CurvesEffectOperationExecutor::brush_strength_ |
Definition at line 247 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), gather_influences_projected(), and gather_influences_spherical().
| CurvesSculptCommonContext blender::ed::sculpt_paint::CurvesEffectOperationExecutor::ctx_ |
Definition at line 233 of file curves_sculpt_grow_shrink.cc.
Referenced by CurvesEffectOperationExecutor(), execute(), gather_influences_projected(), and gather_influences_spherical().
| IndexMask blender::ed::sculpt_paint::CurvesEffectOperationExecutor::curve_selection_ |
Definition at line 241 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), gather_influences_projected(), and gather_influences_spherical().
Definition at line 239 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), gather_influences_projected(), and gather_influences_spherical().
| CurvesGeometry* blender::ed::sculpt_paint::CurvesEffectOperationExecutor::curves_ = nullptr |
Definition at line 237 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), gather_influences_projected(), and gather_influences_spherical().
Definition at line 236 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), gather_influences_projected(), and gather_influences_spherical().
| CurvesSculpt* blender::ed::sculpt_paint::CurvesEffectOperationExecutor::curves_sculpt_ = nullptr |
Definition at line 243 of file curves_sculpt_grow_shrink.cc.
Referenced by execute().
| eBrushFalloffShape blender::ed::sculpt_paint::CurvesEffectOperationExecutor::falloff_shape_ |
Definition at line 249 of file curves_sculpt_grow_shrink.cc.
Referenced by execute().
Definition at line 235 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), gather_influences_projected(), and gather_influences_spherical().
| IndexMaskMemory blender::ed::sculpt_paint::CurvesEffectOperationExecutor::selected_curve_memory_ |
Definition at line 240 of file curves_sculpt_grow_shrink.cc.
Referenced by execute().
| CurvesEffectOperation* blender::ed::sculpt_paint::CurvesEffectOperationExecutor::self_ = nullptr |
Definition at line 232 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), and gather_influences_spherical().
| CurvesSurfaceTransforms blender::ed::sculpt_paint::CurvesEffectOperationExecutor::transforms_ |
Definition at line 251 of file curves_sculpt_grow_shrink.cc.
Referenced by execute(), gather_influences_projected(), and gather_influences_spherical().