Blender
V3.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 (Curves &curves_id, Object &curves_ob, const ARegion ®ion, const View3D &v3d, const RegionView3D &rv3d, GrowOperatorDataPerCurve &curve_op_data) |
static int | select_grow_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
static int | select_grow_modal (bContext *C, wmOperator *op, const wmEvent *event) |
|
static |
Definition at line 833 of file curves_sculpt_ops.cc.
References C, CTX_data_active_object(), CTX_wm_region(), CTX_wm_region_view3d(), CTX_wm_view3d(), wmOperator::customdata, Object::data, blender::ed::sculpt_paint::select_grow::GrowOperatorData::initial_mouse_x, OPERATOR_RUNNING_MODAL, blender::ed::sculpt_paint::select_grow::GrowOperatorData::per_curve, select_grow_invoke_per_curve(), and WM_event_add_modal_handler().
Referenced by blender::ed::sculpt_paint::SCULPT_CURVES_OT_select_grow().
|
static |
Definition at line 690 of file curves_sculpt_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), ATTR_DOMAIN_CURVE, ATTR_DOMAIN_POINT, curves, blender::ed::sculpt_paint::select_grow::GrowOperatorDataPerCurve::curves_id, blender::ed::sculpt_paint::select_grow::GrowOperatorDataPerCurve::distances_to_selected, Curves::geometry, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::VArrayCommon< T >::index_range(), blender::VArrayCommon< T >::materialize(), blender::ed::sculpt_paint::select_grow::GrowOperatorDataPerCurve::original_selection, blender::threading::parallel_for(), blender::threading::parallel_invoke(), positions, blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), blender::ed::sculpt_paint::select_grow::GrowOperatorDataPerCurve::selected_point_indices, Curves::selection_domain, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::VArrayCommon< T >::size(), blender::ed::sculpt_paint::select_grow::GrowOperatorDataPerCurve::unselected_point_indices, and blender::bke::image::partial_update::wrap().
Referenced by select_grow_invoke().
|
static |
Definition at line 854 of file curves_sculpt_ops.cc.
References ATTR_DOMAIN_CURVE, ATTR_DOMAIN_POINT, C, blender::MutableSpan< T >::copy_from(), curves, wmOperator::customdata, DEG_id_tag_update(), EVT_ESCKEY, Curves::geometry, Curves::id, ID_RECALC_GEOMETRY, blender::ed::sculpt_paint::select_grow::GrowOperatorData::initial_mouse_x, LEFTMOUSE, MOUSEMOVE, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, blender::ed::sculpt_paint::select_grow::GrowOperatorData::per_curve, RIGHTMOUSE, select_grow_update(), Curves::selection_domain, wmEvent::type, WM_event_add_notifier(), and blender::bke::image::partial_update::wrap().
Referenced by blender::ed::sculpt_paint::SCULPT_CURVES_OT_select_grow().
|
static |
Definition at line 649 of file curves_sculpt_ops.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), ATTR_DOMAIN_CURVE, ATTR_DOMAIN_POINT, blender::Span< T >::begin(), C, curves, wmOperator::customdata, DEG_id_tag_update(), blender::math::distance(), blender::Span< T >::end(), Curves::geometry, Curves::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, blender::ed::sculpt_paint::select_grow::GrowOperatorData::per_curve, Curves::selection_domain, blender::Span< T >::slice(), update_points_selection(), WM_event_add_notifier(), and blender::bke::image::partial_update::wrap().
Referenced by select_grow_modal().
|
static |
Definition at line 609 of file curves_sculpt_ops.cc.
References data, blender::math::distance(), and blender::threading::parallel_for().
Referenced by select_grow_update().