|
Blender V5.0
|
Inherits blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon.
Additional Inherited Members | |
| Public Types inherited from blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon | |
| using | MutableDrawingInfo = blender::ed::greasepencil::MutableDrawingInfo |
| using | DrawingPlacement = ed::greasepencil::DrawingPlacement |
| Public Attributes inherited from blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon | |
| BrushStrokeMode | stroke_mode |
| float2 | start_mouse_position |
| float2 | prev_mouse_position |
| Array< AutoMaskingInfo > | auto_masking_info_per_drawing |
Definition at line 30 of file grease_pencil_sculpt_smooth.cc.
|
inline |
Definition at line 45 of file grease_pencil_sculpt_smooth.cc.
References GreasePencilStrokeOperationCommon(), and blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::stroke_mode.
Referenced by SmoothOperation().
|
inline |
Definition at line 184 of file grease_pencil_intern.hh.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 101 of file grease_pencil_sculpt_smooth.cc.
References C, blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::init_auto_masking(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::init_stroke(), blender::ed::sculpt_paint::InputSample::mouse_position, blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::prev_mouse_position, and blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::start_mouse_position.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 212 of file grease_pencil_sculpt_smooth.cc.
References C.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 114 of file grease_pencil_sculpt_smooth.cc.
References BKE_paint_brush(), BKE_paint_brush_from_essentials(), BKE_paint_get_active_from_context(), BLI_assert, C, blender::ed::sculpt_paint::greasepencil::calculate_view_positions(), CTX_data_main(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::foreach_editable_drawing_with_automask(), blender::VArray< T >::from_func(), blender::VArray< T >::from_span(), GP_SCULPT_FLAGMODE_APPLY_POSITION, GP_SCULPT_FLAGMODE_APPLY_STRENGTH, GP_SCULPT_FLAGMODE_APPLY_THICKNESS, GP_SCULPT_FLAGMODE_APPLY_UV, Brush::gpencil_settings, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), params, blender::bke::Point, BrushGpencilSettings::sculpt_mode_flag, SculptGPencil, blender::Array< T, InlineBufferCapacity, Allocator >::size(), blender::geometry::smooth_curve_attribute(), blender::geometry::smooth_curve_positions(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::stroke_extended(), and blender::index_mask::IndexMask::to_bools().