|
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 35 of file grease_pencil_sculpt_randomize.cc.
|
inline |
Definition at line 184 of file grease_pencil_intern.hh.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 52 of file grease_pencil_sculpt_randomize.cc.
References C, blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::init_auto_masking(), and blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::init_stroke().
|
inlineoverridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 44 of file grease_pencil_sculpt_randomize.cc.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 58 of file grease_pencil_sculpt_randomize.cc.
References BKE_paint_brush(), BKE_paint_get_active_from_context(), blender::ed::sculpt_paint::greasepencil::brush_point_influence(), C, blender::ed::sculpt_paint::greasepencil::calculate_view_positions(), blender::math::clamp(), blender::ed::sculpt_paint::greasepencil::compute_orig_delta(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::foreach_editable_drawing_with_automask(), blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::greasepencil::get_drawing_deformation(), GP_SCULPT_FLAGMODE_APPLY_POSITION, GP_SCULPT_FLAGMODE_APPLY_STRENGTH, GP_SCULPT_FLAGMODE_APPLY_THICKNESS, GP_SCULPT_FLAGMODE_APPLY_UV, Brush::gpencil_settings, blender::ed::sculpt_paint::greasepencil::hash_rng(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), M_PI_2, blender::math::max(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::mouse_delta(), blender::math::normalize(), params, blender::bke::Point, BrushGpencilSettings::sculpt_mode_flag, seed, blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::stroke_extended(), and unique_seed().
| uint32_t blender::ed::sculpt_paint::greasepencil::RandomizeOperation::unique_seed | ( | ) | const |
Definition at line 47 of file grease_pencil_sculpt_randomize.cc.
References blender::RandomNumberGenerator::from_random_seed(), and blender::RandomNumberGenerator::get_uint32().
Referenced by on_stroke_extended().