|
Blender V4.5
|
Inherits blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon.
Classes | |
| struct | PointWeights |
Public Types | |
| using | MutableDrawingInfo = blender::ed::greasepencil::MutableDrawingInfo |
Public Types inherited from blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon | |
| using | MutableDrawingInfo = blender::ed::greasepencil::MutableDrawingInfo |
| using | DrawingPlacement = ed::greasepencil::DrawingPlacement |
Public Attributes | |
| Array< PointWeights > | drawing_data |
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_grab.cc.
| using blender::ed::sculpt_paint::greasepencil::GrabOperation::MutableDrawingInfo = blender::ed::greasepencil::MutableDrawingInfo |
Definition at line 33 of file grease_pencil_sculpt_grab.cc.
| void blender::ed::sculpt_paint::greasepencil::GrabOperation::foreach_grabbed_drawing | ( | const bContext & | C, |
| FunctionRef< bool(const GreasePencilStrokeParams ¶ms, const DeltaProjectionFunc &projection_fn, const IndexMask &mask, Span< float > weights)> | fn ) const |
Definition at line 64 of file grease_pencil_sculpt_grab.cc.
References CTX_data_active_object(), CTX_data_depsgraph_pointer(), CTX_data_scene(), CTX_wm_region(), CTX_wm_region_view3d(), data, DEG_get_evaluated(), depsgraph, blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::from_context(), blender::ed::sculpt_paint::greasepencil::get_screen_projection_fn(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::threading::parallel_for_each(), params, and scene.
|
default |
|
inline |
Definition at line 184 of file grease_pencil_intern.hh.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 117 of file grease_pencil_sculpt_grab.cc.
References BKE_paint_brush(), BKE_paint_get_active_from_context(), blender::ed::sculpt_paint::greasepencil::brush_point_influence_mask(), blender::ed::sculpt_paint::greasepencil::calculate_view_positions(), CTX_data_active_object(), CTX_data_depsgraph_pointer(), CTX_data_scene(), CTX_wm_region(), CTX_wm_region_view3d(), data, Object::data, DEG_get_evaluated(), depsgraph, ED_view3d_ob_project_mat_get(), blender::ed::sculpt_paint::greasepencil::get_drawings_with_masking_for_stroke_operation(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), info, blender::ed::sculpt_paint::greasepencil::init_brush(), blender::index_mask::IndexMask::is_empty(), blender::ed::sculpt_paint::InputSample::mouse_position, blender::threading::parallel_for_each(), params, blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), scene, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
|
inlineoverridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 61 of file grease_pencil_sculpt_grab.cc.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 186 of file grease_pencil_sculpt_grab.cc.
References blender::ed::sculpt_paint::greasepencil::compute_orig_delta(), blender::ed::sculpt_paint::greasepencil::get_drawing_deformation(), mask(), params, and blender::bke::CurvesGeometry::positions_for_write().
| Array<PointWeights> blender::ed::sculpt_paint::greasepencil::GrabOperation::drawing_data |
Definition at line 51 of file grease_pencil_sculpt_grab.cc.