|
Blender V5.3
|
Public Member Functions | |
| SelectionPaintOperationExecutor (const PaintStroke &stroke) | |
| void | execute (SelectionPaintOperation &self, const StrokeExtension &stroke_extension) |
| void | paint_point_selection_projected_with_symmetry (MutableSpan< float > selection) |
| void | paint_point_selection_projected (const float4x4 &brush_transform, MutableSpan< float > selection) |
| void | paint_point_selection_spherical_with_symmetry (MutableSpan< float > selection) |
| void | paint_point_selection_spherical (MutableSpan< float > selection, const float3 &brush_cu) |
| void | paint_curve_selection_projected_with_symmetry (MutableSpan< float > selection) |
| void | paint_curve_selection_projected (const float4x4 &brush_transform, MutableSpan< float > selection) |
| void | paint_curve_selection_spherical_with_symmetry (MutableSpan< float > selection) |
| void | paint_curve_selection_spherical (MutableSpan< float > selection, const float3 &brush_cu) |
| void | initialize_spherical_brush_reference_point () |
Definition at line 57 of file sculpt_selection_paint.cc.
|
inline |
Definition at line 79 of file sculpt_selection_paint.cc.
References ctx_.
|
inline |
Definition at line 81 of file sculpt_selection_paint.cc.
References blender::BKE_brush_radius_get(), blender::BKE_paint_brush_for_read(), brush_, brush_pos_re_, brush_radius_base_re_, blender::ed::sculpt_paint::brush_radius_factor(), brush_radius_factor_, brush_strength_, blender::ed::sculpt_paint::brush_strength_get(), ctx_, curves_, curves_id_, blender::ToolSettings::curves_sculpt, curves_sculpt_, blender::ed::sculpt_paint::CurvesSurfaceTransforms::CurvesSurfaceTransforms(), blender::Object::data, blender::DEG_id_tag_update(), blender::bke::SpanAttributeWriter< T >::domain, blender::ED_region_tag_redraw(), blender::Brush::falloff_shape, blender::ed::curves::fill_selection_false(), blender::bke::SpanAttributeWriter< T >::finish(), blender::ed::sculpt_paint::float_selection_ensure(), blender::ID_RECALC_GEOMETRY, initialize_spherical_brush_reference_point(), blender::bke::CurvesGeometry::is_empty(), blender::ed::sculpt_paint::StrokeExtension::is_first, blender::ed::sculpt_paint::StrokeExtension::mouse_position, NC_GEOM, ND_DATA, blender::ed::sculpt_paint::CurvesSculptCommonContext::object, object_, blender::CurvesSculpt::paint, paint_curve_selection_projected_with_symmetry(), paint_curve_selection_spherical_with_symmetry(), blender::PAINT_FALLOFF_SHAPE_SPHERE, blender::PAINT_FALLOFF_SHAPE_TUBE, paint_point_selection_projected_with_symmetry(), paint_point_selection_spherical_with_symmetry(), blender::bke::Point, blender::ed::sculpt_paint::CurvesSculptCommonContext::region, blender::RegionView3D::rflag, blender::ed::sculpt_paint::CurvesSculptCommonContext::rv3d, blender::RV3D_PAINTING, blender::ed::sculpt_paint::CurvesSculptCommonContext::scene, selection_, selection_goal_, self_, blender::bke::SpanAttributeWriter< T >::span, blender::Scene::toolsettings, transforms_, blender::U, blender::USER_ORBIT_SELECTION, and blender::WM_main_add_notifier().
Referenced by blender::ed::sculpt_paint::SelectionPaintOperation::on_stroke_extended().
|
inline |
Definition at line 368 of file sculpt_selection_paint.cc.
References brush_pos_re_, brush_radius_base_re_, ctx_, curves_sculpt_, object_, blender::ed::sculpt_paint::remember_stroke_position(), blender::ed::sculpt_paint::sample_curves_3d_brush(), self_, blender::math::transform_point(), and transforms_.
Referenced by execute().
|
inline |
Definition at line 258 of file sculpt_selection_paint.cc.
References brush_radius_base_re_, brush_radius_factor_, ctx_, curves_, blender::ED_view3d_ob_project_mat_get(), blender::bke::crazyspace::get_evaluated_curves_deformation(), blender::math::invert(), object_, blender::threading::parallel_for(), and blender::pow2f().
Referenced by paint_curve_selection_projected_with_symmetry().
|
inline |
Definition at line 249 of file sculpt_selection_paint.cc.
References curves_id_, blender::ed::sculpt_paint::get_symmetry_brush_transforms(), and paint_curve_selection_projected().
Referenced by execute().
|
inline |
Definition at line 329 of file sculpt_selection_paint.cc.
References ctx_, curves_, blender::bke::crazyspace::get_evaluated_curves_deformation(), object_, blender::threading::parallel_for(), blender::pow2f(), and self_.
Referenced by paint_curve_selection_spherical_with_symmetry().
|
inline |
Definition at line 309 of file sculpt_selection_paint.cc.
References brush_pos_re_, ctx_, curves_id_, blender::ED_view3d_win_to_3d(), blender::ed::sculpt_paint::get_symmetry_brush_transforms(), paint_curve_selection_spherical(), self_, blender::math::transform_point(), and transforms_.
Referenced by execute().
|
inline |
Definition at line 158 of file sculpt_selection_paint.cc.
References brush_radius_base_re_, brush_radius_factor_, ctx_, curves_, blender::ed::sculpt_paint::CurvesSculptCommonContext::depsgraph, blender::ED_view3d_ob_project_mat_get(), blender::bke::crazyspace::get_evaluated_curves_deformation(), blender::math::invert(), object_, blender::threading::parallel_for(), blender::bke::CurvesGeometry::points_range(), blender::pow2f(), and blender::ed::sculpt_paint::CurvesSculptCommonContext::rv3d.
Referenced by paint_point_selection_projected_with_symmetry().
|
inline |
Definition at line 149 of file sculpt_selection_paint.cc.
References curves_id_, blender::ed::sculpt_paint::get_symmetry_brush_transforms(), and paint_point_selection_projected().
Referenced by execute().
|
inline |
Definition at line 217 of file sculpt_selection_paint.cc.
References ctx_, curves_, blender::bke::crazyspace::get_evaluated_curves_deformation(), object_, blender::threading::parallel_for(), blender::pow2f(), and self_.
Referenced by paint_point_selection_spherical_with_symmetry().
|
inline |
Definition at line 197 of file sculpt_selection_paint.cc.
References brush_pos_re_, ctx_, curves_id_, blender::ED_view3d_win_to_3d(), blender::ed::sculpt_paint::get_symmetry_brush_transforms(), paint_point_selection_spherical(), self_, blender::math::transform_point(), and transforms_.
Referenced by execute().
Definition at line 68 of file sculpt_selection_paint.cc.
Referenced by execute().
| float2 blender::ed::sculpt_paint::SelectionPaintOperationExecutor::brush_pos_re_ |
Definition at line 75 of file sculpt_selection_paint.cc.
Referenced by execute(), initialize_spherical_brush_reference_point(), paint_curve_selection_spherical_with_symmetry(), and paint_point_selection_spherical_with_symmetry().
| float blender::ed::sculpt_paint::SelectionPaintOperationExecutor::brush_radius_base_re_ |
Definition at line 69 of file sculpt_selection_paint.cc.
Referenced by execute(), initialize_spherical_brush_reference_point(), paint_curve_selection_projected(), and paint_point_selection_projected().
| float blender::ed::sculpt_paint::SelectionPaintOperationExecutor::brush_radius_factor_ |
Definition at line 70 of file sculpt_selection_paint.cc.
Referenced by execute(), paint_curve_selection_projected(), and paint_point_selection_projected().
| float blender::ed::sculpt_paint::SelectionPaintOperationExecutor::brush_strength_ |
Definition at line 71 of file sculpt_selection_paint.cc.
Referenced by execute().
| CurvesSculptCommonContext blender::ed::sculpt_paint::SelectionPaintOperationExecutor::ctx_ |
Definition at line 59 of file sculpt_selection_paint.cc.
Referenced by execute(), initialize_spherical_brush_reference_point(), paint_curve_selection_projected(), paint_curve_selection_spherical(), paint_curve_selection_spherical_with_symmetry(), paint_point_selection_projected(), paint_point_selection_spherical(), paint_point_selection_spherical_with_symmetry(), and SelectionPaintOperationExecutor().
| CurvesGeometry* blender::ed::sculpt_paint::SelectionPaintOperationExecutor::curves_ = nullptr |
Definition at line 63 of file sculpt_selection_paint.cc.
Referenced by execute(), paint_curve_selection_projected(), paint_curve_selection_spherical(), paint_point_selection_projected(), and paint_point_selection_spherical().
Definition at line 62 of file sculpt_selection_paint.cc.
Referenced by execute(), paint_curve_selection_projected_with_symmetry(), paint_curve_selection_spherical_with_symmetry(), paint_point_selection_projected_with_symmetry(), and paint_point_selection_spherical_with_symmetry().
| CurvesSculpt* blender::ed::sculpt_paint::SelectionPaintOperationExecutor::curves_sculpt_ = nullptr |
Definition at line 67 of file sculpt_selection_paint.cc.
Referenced by execute(), and initialize_spherical_brush_reference_point().
Definition at line 61 of file sculpt_selection_paint.cc.
Referenced by execute(), initialize_spherical_brush_reference_point(), paint_curve_selection_projected(), paint_curve_selection_spherical(), paint_point_selection_projected(), and paint_point_selection_spherical().
| bke::SpanAttributeWriter<float> blender::ed::sculpt_paint::SelectionPaintOperationExecutor::selection_ |
Definition at line 65 of file sculpt_selection_paint.cc.
Referenced by execute().
| float blender::ed::sculpt_paint::SelectionPaintOperationExecutor::selection_goal_ |
Definition at line 73 of file sculpt_selection_paint.cc.
Referenced by execute().
| SelectionPaintOperation* blender::ed::sculpt_paint::SelectionPaintOperationExecutor::self_ = nullptr |
| CurvesSurfaceTransforms blender::ed::sculpt_paint::SelectionPaintOperationExecutor::transforms_ |
Definition at line 77 of file sculpt_selection_paint.cc.
Referenced by execute(), initialize_spherical_brush_reference_point(), paint_curve_selection_spherical_with_symmetry(), and paint_point_selection_spherical_with_symmetry().