|
Blender V4.3
|
Public Member Functions | |
| SelectionPaintOperationExecutor (const bContext &C) | |
| void | execute (SelectionPaintOperation &self, const bContext &C, 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 () |
Public Attributes | |
| SelectionPaintOperation * | self_ = nullptr |
| CurvesSculptCommonContext | ctx_ |
| Object * | object_ = nullptr |
| Curves * | curves_id_ = nullptr |
| CurvesGeometry * | curves_ = nullptr |
| bke::SpanAttributeWriter< float > | selection_ |
| const Brush * | brush_ = nullptr |
| float | brush_radius_base_re_ |
| float | brush_radius_factor_ |
| float | brush_strength_ |
| float | selection_goal_ |
| float2 | brush_pos_re_ |
| CurvesSurfaceTransforms | transforms_ |
Definition at line 58 of file curves_sculpt_selection_paint.cc.
|
inline |
Definition at line 79 of file curves_sculpt_selection_paint.cc.
|
inline |
Definition at line 81 of file curves_sculpt_selection_paint.cc.
References BKE_brush_alpha_get(), BKE_brush_size_get(), 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_, ctx_, CTX_data_active_object(), curves_, curves_id_, blender::bke::CurvesGeometry::curves_num(), ToolSettings::curves_sculpt, Object::data, DEG_id_tag_update(), blender::bke::SpanAttributeWriter< T >::domain, ED_region_tag_redraw(), Brush::falloff_shape, blender::ed::curves::fill_selection_false(), blender::bke::SpanAttributeWriter< T >::finish(), blender::ed::sculpt_paint::float_selection_ensure(), Curves::geometry, Curves::id, ID_RECALC_GEOMETRY, initialize_spherical_brush_reference_point(), blender::ed::sculpt_paint::StrokeExtension::is_first, blender::ed::sculpt_paint::StrokeExtension::mouse_position, NC_GEOM, ND_DATA, object_, CurvesSculpt::paint, paint_curve_selection_projected_with_symmetry(), paint_curve_selection_spherical_with_symmetry(), PAINT_FALLOFF_SHAPE_SPHERE, 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, RegionView3D::rflag, blender::ed::sculpt_paint::CurvesSculptCommonContext::rv3d, blender::ed::sculpt_paint::CurvesSculptCommonContext::scene, selection_, selection_goal_, self, self_, blender::bke::SpanAttributeWriter< T >::span, Curves::surface, Scene::toolsettings, transforms_, and WM_main_add_notifier().
Referenced by blender::ed::sculpt_paint::SelectionPaintOperation::on_stroke_extended().
|
inline |
Definition at line 369 of file curves_sculpt_selection_paint.cc.
References blender::ed::sculpt_paint::sample_curves_3d_brush().
Referenced by execute().
|
inline |
Definition at line 259 of file curves_sculpt_selection_paint.cc.
References ED_view3d_ob_project_mat_get(), blender::math::invert(), and pow2f().
|
inline |
Definition at line 250 of file curves_sculpt_selection_paint.cc.
References blender::ed::sculpt_paint::get_symmetry_brush_transforms().
Referenced by execute().
|
inline |
Definition at line 330 of file curves_sculpt_selection_paint.cc.
References pow2f().
|
inline |
Definition at line 310 of file curves_sculpt_selection_paint.cc.
References ED_view3d_win_to_3d(), blender::ed::sculpt_paint::get_symmetry_brush_transforms(), and blender::math::transform_point().
Referenced by execute().
|
inline |
Definition at line 159 of file curves_sculpt_selection_paint.cc.
References brush_radius_base_re_, brush_radius_factor_, ctx_, curves_, blender::ed::sculpt_paint::CurvesSculptCommonContext::depsgraph, 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(), pow2f(), and blender::ed::sculpt_paint::CurvesSculptCommonContext::rv3d.
Referenced by paint_point_selection_projected_with_symmetry().
|
inline |
Definition at line 150 of file curves_sculpt_selection_paint.cc.
References curves_id_, blender::ed::sculpt_paint::get_symmetry_brush_transforms(), paint_point_selection_projected(), and Curves::symmetry.
Referenced by execute().
|
inline |
Definition at line 218 of file curves_sculpt_selection_paint.cc.
References blender::bke::crazyspace::get_evaluated_curves_deformation(), blender::threading::parallel_for(), and pow2f().
|
inline |
Definition at line 198 of file curves_sculpt_selection_paint.cc.
References ED_view3d_win_to_3d(), blender::ed::sculpt_paint::get_symmetry_brush_transforms(), and blender::math::transform_point().
Referenced by execute().
| const Brush* blender::ed::sculpt_paint::SelectionPaintOperationExecutor::brush_ = nullptr |
Definition at line 68 of file curves_sculpt_selection_paint.cc.
Referenced by execute().
| float2 blender::ed::sculpt_paint::SelectionPaintOperationExecutor::brush_pos_re_ |
Definition at line 75 of file curves_sculpt_selection_paint.cc.
Referenced by execute().
| float blender::ed::sculpt_paint::SelectionPaintOperationExecutor::brush_radius_base_re_ |
Definition at line 69 of file curves_sculpt_selection_paint.cc.
Referenced by execute(), and paint_point_selection_projected().
| float blender::ed::sculpt_paint::SelectionPaintOperationExecutor::brush_radius_factor_ |
Definition at line 70 of file curves_sculpt_selection_paint.cc.
Referenced by execute(), and paint_point_selection_projected().
| float blender::ed::sculpt_paint::SelectionPaintOperationExecutor::brush_strength_ |
Definition at line 71 of file curves_sculpt_selection_paint.cc.
Referenced by execute().
| CurvesSculptCommonContext blender::ed::sculpt_paint::SelectionPaintOperationExecutor::ctx_ |
Definition at line 60 of file curves_sculpt_selection_paint.cc.
Referenced by execute(), and paint_point_selection_projected().
| CurvesGeometry* blender::ed::sculpt_paint::SelectionPaintOperationExecutor::curves_ = nullptr |
Definition at line 64 of file curves_sculpt_selection_paint.cc.
Referenced by execute(), and paint_point_selection_projected().
| Curves* blender::ed::sculpt_paint::SelectionPaintOperationExecutor::curves_id_ = nullptr |
Definition at line 63 of file curves_sculpt_selection_paint.cc.
Referenced by execute(), and paint_point_selection_projected_with_symmetry().
| Object* blender::ed::sculpt_paint::SelectionPaintOperationExecutor::object_ = nullptr |
Definition at line 62 of file curves_sculpt_selection_paint.cc.
Referenced by execute(), and paint_point_selection_projected().
| bke::SpanAttributeWriter<float> blender::ed::sculpt_paint::SelectionPaintOperationExecutor::selection_ |
Definition at line 66 of file curves_sculpt_selection_paint.cc.
Referenced by execute().
| float blender::ed::sculpt_paint::SelectionPaintOperationExecutor::selection_goal_ |
Definition at line 73 of file curves_sculpt_selection_paint.cc.
Referenced by execute().
| SelectionPaintOperation* blender::ed::sculpt_paint::SelectionPaintOperationExecutor::self_ = nullptr |
Definition at line 59 of file curves_sculpt_selection_paint.cc.
Referenced by execute().
| CurvesSurfaceTransforms blender::ed::sculpt_paint::SelectionPaintOperationExecutor::transforms_ |
Definition at line 77 of file curves_sculpt_selection_paint.cc.
Referenced by execute().