|
Blender V5.3
|
#include <paint_intern.hh>
Inherits blender::blender::NonCopyable, and blender::blender::NonMovable.
Inherited by blender::VertexPaintStroke, blender::WeightPaintStroke, blender::ed::sculpt_paint::GreasePencilPaintStroke, blender::ed::sculpt_paint::SculptCurvesBrushStroke, blender::ed::sculpt_paint::SculptPaintStroke, blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke, blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke, and blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke.
Classes | |
| struct | StrokeStep |
Public Member Functions | |
| PaintStroke ()=delete | |
| virtual | ~PaintStroke ()=default |
| wmOperatorStatus | modal (bContext *C, wmOperator *op, const wmEvent *event) |
| wmOperatorStatus | exec (bContext *C, wmOperator *op) |
| void | cancel (bContext *C) |
| void | finish (bContext *C) |
| bool | stroke_flipped () const |
| bool | stroke_inverted () const |
| float | stroke_distance () const |
| Public Member Functions inherited from blender::blender::NonCopyable | |
| NonCopyable (const NonCopyable &other)=delete | |
| NonCopyable & | operator= (const NonCopyable &other)=delete |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable &&other)=default | |
| NonCopyable & | operator= (NonCopyable &&other)=default |
| Public Member Functions inherited from blender::blender::NonMovable | |
| NonMovable (NonMovable &&other)=delete | |
| NonMovable & | operator= (NonMovable &&other)=delete |
| NonMovable ()=default | |
| NonMovable (const NonMovable &other)=default | |
| NonMovable & | operator= (const NonMovable &other)=default |
Public Attributes | |
| bContext * | evil_C = nullptr |
| ViewContext | vc = {} |
| Depsgraph * | depsgraph = nullptr |
| Object * | object = nullptr |
| Scene * | scene = nullptr |
| Paint * | paint = nullptr |
| PaintMode | paint_mode = PaintMode::Invalid |
| Brush * | brush = nullptr |
| UnifiedPaintSettings * | ups = nullptr |
| float2 | last_mouse_position = float2(0.0f, 0.0f) |
| bool | constrain_line = false |
| float2 | constrained_pos = float2(0.0f, 0.0f) |
Protected Member Functions | |
| PaintStroke (bContext *C, wmOperator *op, const wmEvent *event, PaintMode mode) | |
| virtual std::optional< float3 > | get_location (float2 mouse, bool force_original)=0 |
| virtual bool | test_start (wmOperator *op, float2 mouse)=0 |
| virtual void | update_step (wmOperator *op, const StrokeStep &stroke_step)=0 |
| virtual void | redraw (bool final)=0 |
| virtual bool | test_cancel ()=0 |
| virtual void | done (bool is_cancel, bool stroke_started)=0 |
Protected Attributes | |
| std::unique_ptr< PaintModeData > | mode_data_ = nullptr |
Common structure for various paint operators (e.g. Sculpt, Grease Pencil, Curves Sculpt)
Callback functions defined and stored on this struct (e.g. StrokeGetLocation) allow each of these modes to customize specific behavior while still sharing other common handing.
See #paint_stroke_modal for the majority of the paint operator logic.
Definition at line 111 of file paint_intern.hh.
|
delete |
Referenced by blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::ExperimentalTexturePaintStroke(), blender::ed::sculpt_paint::GreasePencilPaintStroke::GreasePencilPaintStroke(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::ImagePaintStroke(), blender::ed::sculpt_paint::SculptCurvesBrushStroke::SculptCurvesBrushStroke(), blender::ed::sculpt_paint::SculptPaintStroke::SculptPaintStroke(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::TexturePaintStroke(), blender::VertexPaintStroke::VertexPaintStroke(), and blender::WeightPaintStroke::WeightPaintStroke().
|
virtualdefault |
|
protected |
Definition at line 882 of file paint_stroke.cc.
References blender::bke::PaintRuntime::average_stroke_accum, blender::bke::PaintRuntime::average_stroke_counter, blender::BKE_brush_radius_get(), blender::BKE_curvemapping_init(), blender::BKE_image_acquire_ibuf(), blender::BKE_image_release_ibuf(), blender::BKE_paint_brush(), blender::BKE_paint_get_active_from_context(), blender::BKE_paintmode_get_active_from_context(), blender::BRUSH_STROKE_CURVE, blender::ImBuf::byte_buffer, C, blender::Paint::cavity_curve, blender::bke::PaintRuntime::colorspace, blender::ImBufByteBuffer::colorspace, blender::bke::brush::common_pressure_curves_init(), blender::CTX_data_active_object(), blender::CTX_data_ensure_evaluated_depsgraph(), blender::CTX_data_scene(), blender::CTX_wm_region_view3d(), depsgraph, blender::bke::PaintRuntime::do_linear_conversion, blender::ED_view3d_viewcontext_init(), evil_C, blender::Paint::flags, blender::ImBuf::float_data(), blender::get_imapaint_zoom(), blender::Tex::ima, blender::Invert, blender::Brush::mtex, blender::mul_v3_fl(), blender::Normal, blender::bke::PaintRuntime::overlap_factor, blender::Brush::overlay_flags, paint, blender::ed::sculpt_paint::paint_brush_type_raycast_original(), paint_mode, blender::PAINT_USE_CAVITY_MASK, blender::wmOperator::ptr, blender::RegionView3D::rflag, blender::RNA_boolean_get(), blender::RNA_boolean_set(), blender::RNA_enum_get(), blender::RNA_enum_set(), blender::Paint::runtime, blender::RV3D_PAINTING, blender::bke::paint::set_overlay_brush_override(), blender::bke::PaintRuntime::start_pixel_radius, blender::bke::PaintRuntime::stroke_active, blender::Brush::stroke_method, blender::MTex::tex, blender::TEX_IMAGE, blender::Tex::type, blender::Paint::unified_paint_settings, ups, vc, and blender::WM_event_tablet_data().
| void blender::ed::sculpt_paint::PaintStroke::cancel | ( | bContext * | C | ) |
Cancel a stroke and return to the initial state.
Definition at line 1716 of file paint_stroke.cc.
References C, done(), blender::Editor, and PRF_scope.
Referenced by blender::ed::sculpt_paint::grease_pencil_brush_stroke_cancel(), blender::ed::sculpt_paint::grease_pencil_sculpt_paint_cancel(), blender::ed::sculpt_paint::grease_pencil_vertex_brush_stroke_cancel(), blender::ed::sculpt_paint::grease_pencil_weight_brush_stroke_cancel(), blender::ed::sculpt_paint::image::ops::paint::paint_cancel(), blender::ed::sculpt_paint::sculpt_brush_stroke_cancel(), blender::ed::sculpt_paint::sculpt_brush_stroke_invoke(), blender::ed::sculpt_paint::sculpt_curves_stroke_cancel(), and ~PaintStroke().
|
protectedpure virtual |
Callback function for cleaning up and finalizing data after a stroke has finished.
| is_cancel | Some paint modes support cancelling a stroke and returning to the initial state. This parameter indicates this case so that appropriate cleanup actions can be taken. |
| stroke_started | Whether the stroke started. Subclasses can use this to determine if undo steps should be created. See \test_start. |
Implemented in blender::ed::sculpt_paint::GreasePencilPaintStroke, blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke, blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke, blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke, blender::ed::sculpt_paint::SculptCurvesBrushStroke, blender::ed::sculpt_paint::SculptPaintStroke, blender::VertexPaintStroke, and blender::WeightPaintStroke.
References average(), brush, C, done(), blender::x, and y.
Referenced by cancel(), done(), exec(), finish(), and modal().
| wmOperatorStatus blender::ed::sculpt_paint::PaintStroke::exec | ( | bContext * | C, |
| wmOperator * | op ) |
Definition at line 1650 of file paint_stroke.cc.
References blender::BKE_paintmode_get_active_from_context(), C, done(), blender::Editor, evil_C, get_location(), blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::ed::sculpt_paint::paint_stroke_jitter_pos(), PRF_scope, blender::wmOperator::ptr, RNA_BEGIN, RNA_END, blender::RNA_float_get(), blender::RNA_float_get_array(), blender::RNA_property_boolean_get(), blender::RNA_struct_find_property(), step, test_start(), blender::Texture2D, and update_step().
Referenced by blender::ed::sculpt_paint::grease_pencil_brush_stroke_exec(), blender::ed::sculpt_paint::image::ops::paint::paint_exec(), blender::ed::sculpt_paint::sculpt_brush_stroke_exec(), blender::vpaint_exec(), blender::wpaint_exec(), and ~PaintStroke().
| void blender::ed::sculpt_paint::PaintStroke::finish | ( | bContext * | C | ) |
Finish a stroke, performing any necessary cleanup actions.
Definition at line 1710 of file paint_stroke.cc.
References C, done(), blender::Editor, and PRF_scope.
Referenced by blender::ed::sculpt_paint::image::ops::paint::paint_invoke(), blender::ed::sculpt_paint::sculpt_brush_stroke_invoke(), blender::ed::sculpt_paint::sculpt_curves_stroke_invoke(), blender::vpaint_invoke(), blender::wpaint_invoke(), and ~PaintStroke().
|
protectedpure virtual |
Callback function to retrieve the object space coordinates based on screen space coordinates.
Implemented in blender::ed::sculpt_paint::GreasePencilPaintStroke, blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke, blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke, blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke, blender::ed::sculpt_paint::SculptCurvesBrushStroke, blender::ed::sculpt_paint::SculptPaintStroke, blender::VertexPaintStroke, and blender::WeightPaintStroke.
| wmOperatorStatus blender::ed::sculpt_paint::PaintStroke::modal | ( | bContext * | C, |
| wmOperator * | op, | ||
| const wmEvent * | event ) |
The main modal callback shared by any custom operator that implements a form of painting.
At a high level, this function performs the following steps for interactive stroke types:
Definition at line 1405 of file paint_stroke.cc.
References blender::BKE_brush_input_samples_get(), blender::BKE_paint_brush(), blender::BKE_paint_calculate_rake_rotation(), blender::BKE_paint_get_active_from_context(), blender::BKE_paintmode_get_active_from_context(), blender::BKE_report(), blender::BLI_assert(), blender::MTex::brush_angle_mode, blender::BRUSH_SMOOTH_STROKE, blender::BRUSH_STROKE_AIRBRUSH, blender::BRUSH_STROKE_ANCHORED, blender::BRUSH_STROKE_DRAG_DOT, blender::BRUSH_STROKE_LINE, C, blender::wmOperatorType::cancel, constrain_line, constrained_pos, blender::copy_v2_v2(), blender::CTX_wm_manager(), blender::CTX_wm_region(), blender::CTX_wm_window(), blender::wmEvent::customdata, done(), blender::ED_workspace_status_text(), blender::Editor, ELEM, evil_C, blender::EVT_MODAL_MAP, blender::EVT_RETKEY, blender::EVT_SPACEKEY, blender::Brush::flag, blender::Paint::flags, float, get_location(), blender::GPencil, blender::INBETWEEN_MOUSEMOVE, ISMOUSE_MOTION, blender::KM_ALT, blender::KM_RELEASE, blender::KM_SHIFT, blender::bke::PaintRuntime::last_rake, blender::math::length(), blender::Brush::mask_mtex, blender::wmEvent::modifier, blender::ed::sculpt_paint::PaintSample::mouse, blender::Brush::mtex, blender::MTEX_ANGLE_RAKE, blender::wmEvent::mval, blender::NDOF_MOTION, blender::Normal, blender::ViewContext::obact, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::OPERATOR_PASS_THROUGH, blender::OPERATOR_RUNNING_MODAL, blender::bke::PaintRuntime::overlap_factor, paint, blender::ed::sculpt_paint::paint_brush_cursor_poll(), blender::ed::sculpt_paint::paint_brush_type_require_inbetween_mouse_events(), blender::ed::sculpt_paint::paint_draw_line_cursor(), blender::ed::sculpt_paint::paint_draw_smooth_cursor(), blender::PAINT_SHOW_BRUSH, blender::ed::sculpt_paint::paint_smooth_stroke(), blender::ed::sculpt_paint::paint_space_stroke_enabled(), blender::ed::sculpt_paint::paint_stroke_integrate_overlap(), blender::ed::sculpt_paint::paint_stroke_line_constrain(), PAINT_STROKE_MODAL_CANCEL, blender::ed::sculpt_paint::paint_stroke_use_scene_spacing(), blender::ed::sculpt_paint::paint_supports_smooth_stroke(), blender::ed::sculpt_paint::PaintSample::pressure, PRF_scope, blender::ed::sculpt_paint::print_pressure_status_enabled(), blender::wmOperator::ptr, redraw(), blender::wmOperator::reports, RGN_TYPE_ANY, blender::RNA_boolean_get(), blender::RPT_WARNING, blender::Paint::runtime, blender::Smooth, SPACE_TYPE_ANY, blender::Brush::stroke_method, test_cancel(), test_start(), blender::Texture2D, blender::TIMER, blender::math::transform_point(), blender::wmEvent::type, blender::wmOperator::type, blender::wmEvent::val, vc, blender::WM_event_is_tablet(), blender::WM_event_tablet_data(), blender::WM_event_timer_add(), blender::WM_paint_cursor_activate(), blender::WM_paint_cursor_end(), and blender::WM_paint_cursor_tag_redraw().
Referenced by blender::ed::sculpt_paint::brush_stroke_modal(), blender::ed::sculpt_paint::grease_pencil_brush_stroke_modal(), blender::ed::sculpt_paint::grease_pencil_sculpt_paint_modal(), blender::ed::sculpt_paint::grease_pencil_vertex_brush_stroke_modal(), blender::ed::sculpt_paint::grease_pencil_weight_brush_stroke_modal(), blender::ed::sculpt_paint::image::ops::paint::paint_modal(), blender::ed::sculpt_paint::sculpt_curves_stroke_modal(), blender::vpaint_modal(), blender::wpaint_modal(), and ~PaintStroke().
|
protectedpure virtual |
Callback function for performing necessary redraw functions based on the stroke.
Implemented in blender::ed::sculpt_paint::GreasePencilPaintStroke, blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke, blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke, blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke, blender::ed::sculpt_paint::SculptCurvesBrushStroke, blender::ed::sculpt_paint::SculptPaintStroke, blender::VertexPaintStroke, and blender::WeightPaintStroke.
Referenced by modal().
|
inline |
Definition at line 237 of file paint_intern.hh.
Referenced by blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::update_step(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::update_step(), blender::ed::sculpt_paint::SculptPaintStroke::update_step(), and blender::VertexPaintStroke::update_step().
|
inline |
Definition at line 227 of file paint_intern.hh.
|
inline |
Definition at line 232 of file paint_intern.hh.
References blender::Invert.
Referenced by blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::done().
|
protectedpure virtual |
Callback function for dynamically determining if a stroke can be cancelled.
Implemented in blender::ed::sculpt_paint::GreasePencilPaintStroke, blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke, blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke, blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke, blender::ed::sculpt_paint::SculptCurvesBrushStroke, blender::ed::sculpt_paint::SculptPaintStroke, blender::VertexPaintStroke, and blender::WeightPaintStroke.
Referenced by modal().
|
protectedpure virtual |
Callback function to determine whether a stroke has started, and performing initialization.
In many cases, this is a check to whether the stroke is over the active mesh.
Implemented in blender::ed::sculpt_paint::GreasePencilPaintStroke, blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke, blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke, blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke, blender::ed::sculpt_paint::SculptCurvesBrushStroke, blender::ed::sculpt_paint::SculptPaintStroke, blender::VertexPaintStroke, and blender::WeightPaintStroke.
|
protectedpure virtual |
Callback function for performing a paint stroke for a new step.
Implemented in blender::ed::sculpt_paint::GreasePencilPaintStroke, blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke, blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke, blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke, blender::ed::sculpt_paint::SculptCurvesBrushStroke, blender::ed::sculpt_paint::SculptPaintStroke, blender::VertexPaintStroke, and blender::WeightPaintStroke.
Referenced by exec().
Definition at line 132 of file paint_intern.hh.
Referenced by blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::done(), done(), blender::ed::sculpt_paint::SculptPaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::ExperimentalTexturePaintStroke(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::get_location(), blender::ed::sculpt_paint::SculptPaintStroke::get_location(), blender::VertexPaintStroke::get_location(), blender::WeightPaintStroke::get_location(), blender::ed::sculpt_paint::SculptPaintStroke::test_cancel(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::test_start(), blender::ed::sculpt_paint::SculptPaintStroke::test_start(), blender::VertexPaintStroke::test_start(), blender::WeightPaintStroke::test_start(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::update_step(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::update_step(), blender::ed::sculpt_paint::SculptPaintStroke::update_step(), blender::VertexPaintStroke::update_step(), and blender::WeightPaintStroke::update_step().
| bool blender::ed::sculpt_paint::PaintStroke::constrain_line = false |
Definition at line 137 of file paint_intern.hh.
Referenced by modal(), and blender::ed::sculpt_paint::paint_draw_line_cursor().
Definition at line 138 of file paint_intern.hh.
Referenced by modal(), and blender::ed::sculpt_paint::paint_draw_line_cursor().
| Depsgraph* blender::ed::sculpt_paint::PaintStroke::depsgraph = nullptr |
Definition at line 127 of file paint_intern.hh.
Referenced by blender::ed::sculpt_paint::SculptPaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::ExperimentalTexturePaintStroke(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::get_location(), blender::ed::sculpt_paint::SculptPaintStroke::get_location(), blender::VertexPaintStroke::get_location(), blender::WeightPaintStroke::get_location(), PaintStroke(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::test_start(), blender::ed::sculpt_paint::SculptPaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step(), blender::ed::sculpt_paint::SculptPaintStroke::update_step(), blender::VertexPaintStroke::update_step(), blender::WeightPaintStroke::update_step(), blender::vpaint_exec(), blender::vpaint_invoke(), blender::wpaint_exec(), and blender::wpaint_invoke().
Definition at line 123 of file paint_intern.hh.
Referenced by blender::ed::sculpt_paint::GreasePencilPaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::done(), blender::ed::sculpt_paint::SculptPaintStroke::done(), blender::VertexPaintStroke::done(), blender::WeightPaintStroke::done(), exec(), modal(), PaintStroke(), blender::ed::sculpt_paint::GreasePencilPaintStroke::redraw(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::redraw(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::redraw(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::test_start(), blender::WeightPaintStroke::test_start(), blender::ed::sculpt_paint::GreasePencilPaintStroke::update_step(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::update_step(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::update_step(), and blender::WeightPaintStroke::update_step().
Definition at line 136 of file paint_intern.hh.
Referenced by blender::ed::sculpt_paint::paint_draw_line_cursor().
|
protected |
Definition at line 141 of file paint_intern.hh.
Referenced by blender::ed::sculpt_paint::GreasePencilPaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::done(), blender::VertexPaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::test_start(), blender::VertexPaintStroke::test_start(), blender::WeightPaintStroke::test_start(), blender::ed::sculpt_paint::GreasePencilPaintStroke::update_step(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step(), blender::VertexPaintStroke::update_step(), and blender::WeightPaintStroke::update_step().
Definition at line 128 of file paint_intern.hh.
Referenced by blender::ed::sculpt_paint::CurvesSculptCommonContext::CurvesSculptCommonContext(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::done(), blender::ed::sculpt_paint::SculptPaintStroke::done(), blender::WeightPaintStroke::done(), blender::VertexPaintStroke::test_start(), blender::WeightPaintStroke::test_start(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), blender::ed::sculpt_paint::SculptPaintStroke::update_step(), blender::WeightPaintStroke::update_step(), blender::vpaint_exec(), blender::vpaint_invoke(), blender::wpaint_exec(), and blender::wpaint_invoke().
Definition at line 130 of file paint_intern.hh.
Referenced by blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::done(), blender::VertexPaintStroke::done(), blender::WeightPaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::get_location(), blender::VertexPaintStroke::get_location(), blender::WeightPaintStroke::get_location(), modal(), PaintStroke(), blender::ed::sculpt_paint::SculptPaintStroke::test_cancel(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::test_start(), blender::ed::sculpt_paint::SculptPaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::update_step(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::update_step(), blender::VertexPaintStroke::update_step(), blender::WeightPaintStroke::update_step(), blender::vpaint_exec(), blender::vpaint_invoke(), blender::wpaint_exec(), and blender::wpaint_invoke().
| PaintMode blender::ed::sculpt_paint::PaintStroke::paint_mode = PaintMode::Invalid |
Definition at line 131 of file paint_intern.hh.
Referenced by PaintStroke(), blender::VertexPaintStroke::update_step(), and blender::WeightPaintStroke::update_step().
Definition at line 129 of file paint_intern.hh.
Referenced by blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::test_start(), blender::ed::sculpt_paint::SculptPaintStroke::test_start(), blender::VertexPaintStroke::test_start(), blender::WeightPaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step(), blender::ed::sculpt_paint::SculptPaintStroke::update_step(), blender::VertexPaintStroke::update_step(), and blender::WeightPaintStroke::update_step().
| UnifiedPaintSettings* blender::ed::sculpt_paint::PaintStroke::ups = nullptr |
Definition at line 133 of file paint_intern.hh.
Referenced by PaintStroke().
| ViewContext blender::ed::sculpt_paint::PaintStroke::vc = {} |
Definition at line 126 of file paint_intern.hh.
Referenced by blender::ed::sculpt_paint::CurvesSculptCommonContext::CurvesSculptCommonContext(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::done(), blender::ed::sculpt_paint::SculptPaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::get_location(), blender::ed::sculpt_paint::SculptPaintStroke::get_location(), blender::VertexPaintStroke::get_location(), blender::WeightPaintStroke::get_location(), modal(), blender::ed::sculpt_paint::paint_draw_line_cursor(), PaintStroke(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::test_start(), blender::ed::sculpt_paint::SculptPaintStroke::test_start(), blender::VertexPaintStroke::test_start(), blender::WeightPaintStroke::test_start(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step(), blender::ed::sculpt_paint::SculptCurvesBrushStroke::update_step(), blender::ed::sculpt_paint::SculptPaintStroke::update_step(), blender::VertexPaintStroke::update_step(), and blender::WeightPaintStroke::update_step().