|
Blender V5.3
|
Classes | |
| struct | GrowOperatorDataPerCurve |
| struct | GrowOperatorData |
Functions | |
| static void | update_points_selection (const GrowOperatorDataPerCurve &data, const float distance, MutableSpan< float > points_selection) |
| static int | select_grow_update (bContext *C, wmOperator *op, const float mouse_diff_x) |
| static void | select_grow_invoke_per_curve (const Curves &curves_id, const Object &curves_ob, const ARegion ®ion, const View3D &v3d, const RegionView3D &rv3d, GrowOperatorDataPerCurve &curve_op_data) |
| static wmOperatorStatus | select_grow_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| static wmOperatorStatus | select_grow_modal (bContext *C, wmOperator *op, const wmEvent *event) |
|
static |
Definition at line 738 of file curves/sculpt_ops.cc.
References C, blender::CTX_data_active_object(), blender::CTX_wm_region(), blender::CTX_wm_region_view3d(), blender::CTX_wm_view3d(), blender::wmOperator::customdata, blender::Object::data, blender::ed::sculpt_paint::select_grow::GrowOperatorData::initial_mouse_x, blender::OPERATOR_RUNNING_MODAL, blender::ed::sculpt_paint::select_grow::GrowOperatorData::per_curve, select_grow_invoke(), select_grow_invoke_per_curve(), and blender::WM_event_add_modal_handler().
Referenced by blender::ed::sculpt_paint::SCULPT_CURVES_OT_select_grow(), and select_grow_invoke().
|
static |
Definition at line 649 of file curves/sculpt_ops.cc.
References blender::index_mask::IndexMask::complement(), blender::GArray< Allocator >::data(), blender::GArray< Allocator >::GArray(), blender::exec_mode::grain_size(), blender::ed::sculpt_paint::select_grow::GrowOperatorDataPerCurve::original_selection, blender::threading::parallel_invoke(), blender::ed::curves::retrieve_selected_points(), select_grow_invoke_per_curve(), blender::ed::sculpt_paint::select_grow::GrowOperatorDataPerCurve::selected_points, blender::ed::sculpt_paint::select_grow::GrowOperatorDataPerCurve::selected_points_memory, blender::index_mask::IndexMask::size(), blender::ed::sculpt_paint::select_grow::GrowOperatorDataPerCurve::unselected_points, and blender::ed::sculpt_paint::select_grow::GrowOperatorDataPerCurve::unselected_points_memory.
Referenced by select_grow_invoke(), and select_grow_invoke_per_curve().
|
static |
Definition at line 760 of file curves/sculpt_ops.cc.
References blender::bke::MutableAttributeAccessor::add(), C, blender::bke::cpp_type_to_attribute_type(), blender::wmOperator::customdata, blender::DEG_id_tag_update(), blender::EVT_ESCKEY, blender::GVArray::from_span(), blender::ID_RECALC_GEOMETRY, blender::ed::sculpt_paint::select_grow::GrowOperatorData::initial_mouse_x, blender::LEFTMOUSE, blender::MOUSEMOVE, NC_GEOM, ND_DATA, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::OPERATOR_RUNNING_MODAL, blender::ed::sculpt_paint::select_grow::GrowOperatorData::per_curve, blender::bke::MutableAttributeAccessor::remove(), blender::RIGHTMOUSE, select_grow_modal(), select_grow_update(), blender::wmEvent::type, and blender::WM_event_add_notifier().
Referenced by blender::ed::sculpt_paint::SCULPT_CURVES_OT_select_grow(), and select_grow_modal().
|
static |
Definition at line 602 of file curves/sculpt_ops.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::Span< T >::begin(), BLI_assert_unreachable, C, blender::bke::Curve, blender::wmOperator::customdata, blender::DEG_id_tag_update(), distance(), blender::bke::SpanAttributeWriter< T >::domain, blender::Span< T >::end(), blender::bke::SpanAttributeWriter< T >::finish(), blender::ed::sculpt_paint::float_selection_ensure(), blender::ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, blender::OPERATOR_FINISHED, blender::ed::sculpt_paint::select_grow::GrowOperatorData::per_curve, blender::bke::Point, select_grow_update(), blender::bke::SpanAttributeWriter< T >::span, update_points_selection(), and blender::WM_event_add_notifier().
Referenced by select_grow_modal(), and select_grow_update().
|
static |
Definition at line 574 of file curves/sculpt_ops.cc.
References blender::data, distance(), blender::exec_mode::grain_size(), and update_points_selection().
Referenced by select_grow_update(), and update_points_selection().