|
Blender V4.3
|
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 |
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(), DEG_get_evaluated_object(), 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(), and params.
|
inline |
Definition at line 166 of file grease_pencil_intern.hh.
|
inline |
Definition at line 167 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(), Object::data, DEG_get_evaluated_object(), depsgraph, ED_view3d_ob_project_mat_get(), blender::ed::sculpt_paint::greasepencil::get_drawings_for_painting(), GPENCIL_ANY_SCULPT_MASK, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), 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::ed::sculpt_paint::greasepencil::point_selection_mask(), blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), 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 189 of file grease_pencil_sculpt_grab.cc.
References blender::ed::sculpt_paint::greasepencil::get_drawing_deformation(), and params.
| Array<PointWeights> blender::ed::sculpt_paint::greasepencil::GrabOperation::drawing_data |
Definition at line 51 of file grease_pencil_sculpt_grab.cc.