|
Blender V5.3
|
#include <sculpt_intern.hh>
Classes | |
| struct | [struct].mirror_modifier_clip |
| struct | [struct].displacement_smear |
| struct | [struct].paint_brush |
| struct | [struct].clay_thumb_brush |
| struct | [struct].plane_brush |
Public Member Functions | |
Sculpt Brush Utilities | |
| StrokeCache () | |
| ~StrokeCache () | |
This structure contains all the temporary data needed for individual brush strokes.
Definition at line 194 of file mesh/sculpt_intern.hh.
|
default |
References StrokeCache().
Referenced by StrokeCache().
| blender::ed::sculpt_paint::StrokeCache::~StrokeCache | ( | ) |
Definition at line 3862 of file sculpt.cc.
References blender::BLI_dial_free(), dial, and ~StrokeCache().
Referenced by ~StrokeCache().
| bool blender::ed::sculpt_paint::StrokeCache::accum = false |
Accumulate mode.
Definition at line 342 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::calc_area_normal_and_center_node_bmesh(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_grids(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_mesh(), blender::ed::sculpt_paint::calc_brush_node_mask(), blender::ed::sculpt_paint::brushes::clay_strips::calc_node_mask(), blender::ed::sculpt_paint::brushes::plane::calc_node_mask(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::stroke_cache_init(), blender::ed::sculpt_paint::stroke_get_location_bvh_ex(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::test_start(), and blender::ed::sculpt_paint::vwpaint::update_cache_invariants().
| std::unique_ptr<auto_mask::Cache> blender::ed::sculpt_paint::StrokeCache::automasking |
Definition at line 429 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::auto_mask::active_cache_get(), blender::ed::sculpt_paint::boundary::calc_bend_bmesh(), blender::ed::sculpt_paint::boundary::calc_bend_grids(), blender::ed::sculpt_paint::boundary::calc_bend_mesh(), blender::ed::sculpt_paint::brushes::calc_bmesh(), blender::ed::sculpt_paint::pose::calc_bmesh(), blender::ed::sculpt_paint::calc_cube_tip_factors_common_bmesh(), blender::ed::sculpt_paint::calc_cube_tip_factors_common_grids(), blender::ed::sculpt_paint::brushes::calc_faces(), blender::ed::sculpt_paint::calc_factors_common_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_grids(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_mesh(), blender::ed::sculpt_paint::calc_factors_common_grids(), blender::ed::sculpt_paint::calc_factors_common_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh_indexed(), blender::ed::sculpt_paint::boundary::calc_grab_bmesh(), blender::ed::sculpt_paint::boundary::calc_grab_grids(), blender::ed::sculpt_paint::boundary::calc_grab_mesh(), blender::ed::sculpt_paint::brushes::calc_grids(), blender::ed::sculpt_paint::pose::calc_grids(), blender::ed::sculpt_paint::boundary::calc_inflate_bmesh(), blender::ed::sculpt_paint::boundary::calc_inflate_grids(), blender::ed::sculpt_paint::boundary::calc_inflate_mesh(), blender::ed::sculpt_paint::pose::calc_mesh(), blender::ed::sculpt_paint::boundary::calc_slide_bmesh(), blender::ed::sculpt_paint::boundary::calc_slide_grids(), blender::ed::sculpt_paint::boundary::calc_slide_mesh(), blender::ed::sculpt_paint::boundary::calc_twist_bmesh(), blender::ed::sculpt_paint::boundary::calc_twist_grids(), blender::ed::sculpt_paint::boundary::calc_twist_mesh(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::color::do_sample_wet_paint_task(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::do_vpaint_brush_blur_loops(), blender::do_vpaint_brush_blur_verts(), blender::do_vpaint_brush_smear(), blender::do_wpaint_brush_smear(), blender::ed::sculpt_paint::brushes::sample_node_surface_bmesh(), blender::ed::sculpt_paint::brushes::sample_node_surface_grids(), blender::ed::sculpt_paint::brushes::sample_node_surface_mesh(), blender::ed::sculpt_paint::auto_mask::stroke_cache_ensure(), and blender::vpaint_do_draw().
| float blender::ed::sculpt_paint::StrokeCache::base_brush_strength = 0.0f |
Depending on the mode, can either be the raw brush strength, or a scaled (possibly negative) value.
Definition at line 246 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::do_symmetrical_brush_actions(), blender::ed::sculpt_paint::do_symmetrical_brush_actions_with_tiling_and_feathering(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step(), blender::ed::sculpt_paint::SculptPaintStroke::update_step(), and blender::WeightPaintStroke::update_step().
| std::array<std::unique_ptr<boundary::SculptBoundary>, PAINT_SYMM_AREAS> blender::ed::sculpt_paint::StrokeCache::boundaries |
Definition at line 410 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::boundary::do_boundary_brush(), blender::ed::sculpt_paint::boundary::get_mesh_strength(), blender::ed::sculpt_paint::boundary::init_boundary_bmesh(), blender::ed::sculpt_paint::boundary::init_boundary_grids(), and blender::ed::sculpt_paint::boundary::init_boundary_mesh().
Definition at line 283 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_interpolated_face_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::do_vpaint_brush_blur_loops(), blender::do_vpaint_brush_blur_verts(), blender::do_vpaint_brush_smear(), blender::ed::sculpt_paint::vwpaint::smooth_brush_toggle_off(), blender::ed::sculpt_paint::stroke_cache_common_init(), blender::vpaint_do_draw(), blender::vpaint_paint_leaves(), and blender::wpaint_paint_leaves().
| float4x4 blender::ed::sculpt_paint::StrokeCache::brush_local_mat = float4x4::zero() |
Used for area texture mode, local_mat gets calculated by calc_brush_local_mat() and used in sculpt_apply_texture(). Transforms from model-space coords to local area coords.
Definition at line 322 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::apply_brush_texture(), and blender::ed::sculpt_paint::update_brush_local_mat().
| float4x4 blender::ed::sculpt_paint::StrokeCache::brush_local_mat_inv = float4x4::zero() |
The matrix from local area coords to model-space coords is used to calculate the vector displacement in area plane mode.
Definition at line 327 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::calc_vertex_displacement(), and blender::ed::sculpt_paint::update_brush_local_mat().
| float blender::ed::sculpt_paint::StrokeCache::bstrength = 0.0f |
Definition at line 254 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::brushes::clay_strips::calc_node_mask(), blender::ed::sculpt_paint::pose::calc_rotate_deform(), blender::ed::sculpt_paint::pose::calc_scale_deform(), blender::ed::sculpt_paint::pose::calc_squash_stretch_deform(), blender::ed::sculpt_paint::pose::calc_twist_deform(), blender::ed::sculpt_paint::calc_vertex_displacement(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::brushes::do_clay_brush(), blender::ed::sculpt_paint::brushes::do_clay_strips_brush(), blender::ed::sculpt_paint::brushes::do_clay_thumb_brush(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::brushes::do_displacement_eraser_brush(), blender::ed::sculpt_paint::brushes::do_displacement_smear_brush(), blender::ed::sculpt_paint::brushes::do_draw_brush(), blender::ed::sculpt_paint::brushes::do_draw_sharp_brush(), blender::ed::sculpt_paint::brushes::do_elastic_deform_brush(), blender::ed::sculpt_paint::brushes::do_enhance_details_brush(), blender::ed::sculpt_paint::brushes::do_grab_brush(), blender::ed::sculpt_paint::brushes::do_inflate_brush(), blender::ed::sculpt_paint::brushes::do_mask_brush(), blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::brushes::do_nudge_brush(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::image::do_paint_pixels(), blender::ed::sculpt_paint::brushes::do_pinch_brush(), blender::ed::sculpt_paint::brushes::do_plane_brush(), blender::ed::sculpt_paint::brushes::do_relax_face_sets_brush(), blender::ed::sculpt_paint::color::do_smear_brush(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::ed::sculpt_paint::brushes::do_snake_hook_brush(), blender::ed::sculpt_paint::do_symmetrical_brush_actions(), blender::ed::sculpt_paint::do_symmetrical_brush_actions_with_tiling_and_feathering(), blender::ed::sculpt_paint::brushes::do_thumb_brush(), blender::ed::sculpt_paint::brushes::do_topology_relax_brush(), blender::do_vpaint_brush_blur_loops(), blender::do_vpaint_brush_blur_verts(), blender::do_vpaint_brush_smear(), blender::do_wpaint_brush_smear(), blender::ed::sculpt_paint::boundary::get_mesh_strength(), blender::ed::sculpt_paint::pose::sculpt_pose_do_translate_deform(), blender::ed::sculpt_paint::stroke_cache_update(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), blender::WeightPaintStroke::update_step(), and blender::vpaint_do_draw().
| struct blender::ed::sculpt_paint::StrokeCache::[struct].clay_thumb_brush blender::ed::sculpt_paint::StrokeCache::clay_thumb_brush |
| std::unique_ptr<cloth::SimulationData> blender::ed::sculpt_paint::StrokeCache::cloth_sim |
Definition at line 403 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::boundary::calc_bend_bmesh(), blender::ed::sculpt_paint::boundary::calc_bend_grids(), blender::ed::sculpt_paint::boundary::calc_bend_mesh(), blender::ed::sculpt_paint::pose::calc_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::boundary::calc_grab_bmesh(), blender::ed::sculpt_paint::boundary::calc_grab_grids(), blender::ed::sculpt_paint::boundary::calc_grab_mesh(), blender::ed::sculpt_paint::pose::calc_grids(), blender::ed::sculpt_paint::boundary::calc_inflate_bmesh(), blender::ed::sculpt_paint::boundary::calc_inflate_grids(), blender::ed::sculpt_paint::boundary::calc_inflate_mesh(), blender::ed::sculpt_paint::pose::calc_mesh(), blender::ed::sculpt_paint::boundary::calc_slide_bmesh(), blender::ed::sculpt_paint::boundary::calc_slide_grids(), blender::ed::sculpt_paint::boundary::calc_slide_mesh(), blender::ed::sculpt_paint::boundary::calc_smooth_bmesh(), blender::ed::sculpt_paint::boundary::calc_smooth_grids(), blender::ed::sculpt_paint::boundary::calc_smooth_mesh(), blender::ed::sculpt_paint::boundary::calc_twist_bmesh(), blender::ed::sculpt_paint::boundary::calc_twist_grids(), blender::ed::sculpt_paint::boundary::calc_twist_mesh(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::cloth::do_cloth_brush(), and blender::ed::sculpt_paint::cloth::sculpt_cloth_ensure_constraints_in_simulation_area().
Definition at line 367 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_enhance_details_brush().
Definition at line 421 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::stroke_cache_init(), blender::ed::sculpt_paint::stroke_cache_update(), and ~StrokeCache().
| struct blender::ed::sculpt_paint::StrokeCache::[struct].displacement_smear blender::ed::sculpt_paint::StrokeCache::displacement_smear |
| float blender::ed::sculpt_paint::StrokeCache::dyntopo_pixel_radius = 0.0f |
Definition at line 233 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::dynamic_topology_update(), and blender::ed::sculpt_paint::stroke_cache_update().
| float blender::ed::sculpt_paint::StrokeCache::feather = 0.0f |
Feather factor, calculated on a per-overall brush step, modulates base_brush_strength
Definition at line 251 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::do_symmetrical_brush_actions_with_tiling_and_feathering().
| bool blender::ed::sculpt_paint::StrokeCache::first_time = false |
Definition at line 276 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::color::do_paint_brush(), blender::ed::sculpt_paint::stroke_cache_common_init(), blender::ed::sculpt_paint::stroke_cache_init(), blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), blender::ed::sculpt_paint::stroke_cache_update(), blender::ed::sculpt_paint::stroke_is_first_brush_step(), blender::ed::sculpt_paint::stroke_is_first_brush_step_of_symmetry_pass(), blender::ed::sculpt_paint::vwpaint::update_cache_variants(), 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().
Definition at line 288 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::pose::calc_rotate_deform(), blender::ed::sculpt_paint::pose::calc_scale_deform(), blender::ed::sculpt_paint::pose::calc_squash_stretch_deform(), blender::ed::sculpt_paint::cloth::plane_falloff_preview_draw(), and blender::ed::sculpt_paint::pose::sculpt_pose_do_translate_deform().
Definition at line 289 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::calc_brush_node_mask(), blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::brushes::clay_strips::calc_local_matrix(), blender::ed::sculpt_paint::brushes::clay_strips::calc_node_mask(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), blender::ed::sculpt_paint::boundary::displacement_from_grab_delta_get(), blender::ed::sculpt_paint::brushes::do_bmesh_topology_rake_brush(), blender::ed::sculpt_paint::brushes::do_clay_strips_brush(), blender::ed::sculpt_paint::brushes::do_clay_thumb_brush(), blender::ed::sculpt_paint::boundary::do_grab_brush(), blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::brushes::do_nudge_brush(), blender::ed::sculpt_paint::brushes::do_pinch_brush(), blender::ed::sculpt_paint::brushes::do_plane_brush(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::ed::sculpt_paint::brushes::do_thumb_brush(), and blender::ed::sculpt_paint::grab_delta_get().
Definition at line 426 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_calc_brushdata_symm(), and blender::ed::sculpt_paint::stroke_cache_init().
Definition at line 427 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), and blender::ed::sculpt_paint::brushes::do_gravity_brush().
| float blender::ed::sculpt_paint::StrokeCache::hardness = 0.0f |
Definition at line 238 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::apply_hardness_to_distances(), blender::ed::sculpt_paint::calc_cube_tip_factors_common_bmesh(), blender::ed::sculpt_paint::calc_cube_tip_factors_common_grids(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::brushes::sample_node_surface_bmesh(), blender::ed::sculpt_paint::brushes::sample_node_surface_grids(), blender::ed::sculpt_paint::brushes::sample_node_surface_mesh(), blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), and blender::ed::sculpt_paint::stroke_cache_update().
| bool blender::ed::sculpt_paint::StrokeCache::initial_direction_flipped = false |
Some brushes change behavior drastically depending on the directional value (i.e. the smooth and enhance details functionality being bound to the Smooth brush).
Storing the initial direction allows discerning the behavior without checking the sign of the brush direction at every step, which would have ambiguity at 0.
Definition at line 213 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::brushes::do_plane_brush(), and blender::ed::sculpt_paint::stroke_cache_init().
| std::optional<float3> blender::ed::sculpt_paint::StrokeCache::initial_hsv_jitter |
Definition at line 274 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::get_brush_color(), blender::ed::sculpt_paint::stroke_cache_init(), and blender::ed::sculpt_paint::vwpaint::update_cache_invariants().
Definition at line 405 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::mesh_cursor_active_draw(), and blender::ed::sculpt_paint::stroke_cache_common_init().
Definition at line 404 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cloth::brush_affected_nodes_gather(), blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::cloth::cloth_brush_simulation_location_get(), blender::ed::sculpt_paint::boundary::displacement_from_grab_delta_get(), blender::ed::sculpt_paint::do_tiled(), and blender::ed::sculpt_paint::stroke_cache_common_init().
Definition at line 204 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::pose::calc_twist_deform(), blender::ed::sculpt_paint::brushes::do_elastic_deform_brush(), blender::ed::sculpt_paint::stroke_cache_common_init(), blender::ed::sculpt_paint::stroke_cache_init(), and blender::ed::sculpt_paint::stroke_cache_update().
Definition at line 407 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::mesh_cursor_active_draw(), and blender::ed::sculpt_paint::stroke_cache_common_init().
Definition at line 406 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::auto_mask::calc_brush_normal_factor(), and blender::ed::sculpt_paint::stroke_cache_common_init().
| float blender::ed::sculpt_paint::StrokeCache::initial_radius = 0.0f |
Definition at line 196 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cloth::add_constraints_for_verts(), blender::ed::sculpt_paint::cloth::brush_affected_nodes_gather(), blender::ed::sculpt_paint::brushes::do_clay_brush(), blender::ed::sculpt_paint::boundary::init_boundary_bmesh(), blender::ed::sculpt_paint::boundary::init_boundary_grids(), blender::ed::sculpt_paint::boundary::init_boundary_mesh(), blender::ed::sculpt_paint::cloth::sculpt_cloth_ensure_constraints_in_simulation_area(), blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), blender::ed::sculpt_paint::stroke_cache_update(), and blender::ed::sculpt_paint::vwpaint::update_cache_variants().
| bool blender::ed::sculpt_paint::StrokeCache::is_last_valid = false |
Definition at line 235 of file mesh/sculpt_intern.hh.
| int blender::ed::sculpt_paint::StrokeCache::iteration_count = 0 |
Used for alternating between deformations in brushes that need to apply different ones to achieve certain effects.
Definition at line 230 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_relax_face_sets_brush(), and blender::ed::sculpt_paint::stroke_cache_update().
Definition at line 333 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::calc_brush_plane().
Definition at line 221 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::SculptPaintStroke::update_step(), blender::VertexPaintStroke::update_step(), and blender::WeightPaintStroke::update_step().
Definition at line 223 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::do_vpaint_brush_smear(), and blender::do_wpaint_brush_smear().
Definition at line 417 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_layer_brush(), and blender::ed::sculpt_paint::restore_from_undo_step_if_necessary().
Definition at line 220 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::calc_overlap(), blender::ed::sculpt_paint::pose::calc_rotate_deform(), blender::ed::sculpt_paint::pose::calc_scale_deform(), blender::ed::sculpt_paint::pose::calc_squash_stretch_deform(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::image::ops::paint::do_brush_action(), blender::ed::sculpt_paint::mesh_cursor_active_draw(), blender::ed::sculpt_paint::cloth::plane_falloff_preview_draw(), blender::ed::sculpt_paint::pose::pose_brush_init(), blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), blender::ed::sculpt_paint::stroke_cache_update(), blender::ed::sculpt_paint::vwpaint::update_cache_variants(), blender::ed::sculpt_paint::SculptPaintStroke::update_step(), blender::VertexPaintStroke::update_step(), and blender::WeightPaintStroke::update_step().
Definition at line 222 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cloth::add_constraints_for_verts(), blender::ed::sculpt_paint::cloth::brush_affected_nodes_gather(), blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_bmesh(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_grids(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_mesh(), blender::ed::sculpt_paint::calc_brush_distances_squared(), blender::ed::sculpt_paint::calc_brush_distances_squared(), blender::ed::sculpt_paint::calc_brush_node_mask(), blender::ed::sculpt_paint::calc_cube_tip_factors_common_bmesh(), blender::ed::sculpt_paint::calc_cube_tip_factors_common_grids(), blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::brushes::clay_strips::calc_node_mask(), blender::ed::sculpt_paint::brushes::plane::calc_node_mask(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), blender::ed::sculpt_paint::cloth::cloth_brush_simulation_location_get(), blender::ed::sculpt_paint::cube_tip_init(), blender::ed::sculpt_paint::color::do_blur_brush(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::brushes::do_clay_brush(), blender::ed::sculpt_paint::brushes::do_clay_thumb_brush(), blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::color::do_paint_brush(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::image::do_paint_pixels(), blender::ed::sculpt_paint::brushes::do_pinch_brush(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::ed::sculpt_paint::do_tiled(), blender::do_vpaint_brush_smear(), blender::do_wpaint_brush_smear(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::gather_brush_nodes(), blender::ed::sculpt_paint::image::init_uv_primitives_brush_test(), blender::ed::sculpt_paint::pbvh_gather_cursor_update(), blender::ed::sculpt_paint::pbvh_gather_generic(), and blender::ed::sculpt_paint::update_brush_local_mat().
| struct blender::ed::sculpt_paint::StrokeCache::[struct].mirror_modifier_clip blender::ed::sculpt_paint::StrokeCache::mirror_modifier_clip |
| ePaintSymmetryFlags blender::ed::sculpt_paint::StrokeCache::mirror_symmetry_pass = ePaintSymmetryFlags(0) |
Definition at line 302 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::apply_brush_texture(), blender::ed::sculpt_paint::calc_brush_plane(), blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_interpolated_face_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::calc_vertex_displacement(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), blender::ed::sculpt_paint::boundary::do_boundary_brush(), blender::ed::sculpt_paint::brushes::do_elastic_deform_brush(), blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::pose::do_pose_brush(), blender::ed::sculpt_paint::brushes::do_rotate_brush(), blender::ed::sculpt_paint::do_symmetrical_brush_actions(), blender::ed::sculpt_paint::do_symmetrical_brush_actions_with_tiling_and_feathering(), blender::ed::sculpt_paint::filter_region_clip_factors(), blender::ed::sculpt_paint::filter_region_clip_factors(), blender::ed::sculpt_paint::boundary::get_mesh_strength(), blender::ed::sculpt_paint::boundary::init_boundary_bmesh(), blender::ed::sculpt_paint::boundary::init_boundary_grids(), blender::ed::sculpt_paint::boundary::init_boundary_mesh(), blender::ed::sculpt_paint::stroke_is_first_brush_step(), blender::ed::sculpt_paint::stroke_is_main_symmetry_pass(), blender::ed::sculpt_paint::update_brush_local_mat(), blender::ed::sculpt_paint::update_sculpt_normal(), and blender::WeightPaintStroke::update_step().
Position of the mouse corresponding to the stroke location, modified by the paint_stroke operator according to the stroke type.
Definition at line 261 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::pose::calc_twist_deform(), blender::ed::sculpt_paint::brushes::do_elastic_deform_brush(), blender::ed::sculpt_paint::stroke_cache_common_init(), blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), blender::ed::sculpt_paint::stroke_cache_update(), and blender::ed::sculpt_paint::vwpaint::update_cache_variants().
Definition at line 263 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::stroke_cache_common_init(), blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), blender::ed::sculpt_paint::stroke_cache_update(), and blender::ed::sculpt_paint::vwpaint::update_cache_variants().
| float blender::ed::sculpt_paint::StrokeCache::multiplane_scrape_angle = 0.0f |
Definition at line 432 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), and blender::ed::sculpt_paint::brushes::multiplane_scrape_preview_draw().
Definition at line 290 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update().
Definition at line 291 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), and blender::ed::sculpt_paint::pose::do_pose_brush().
Definition at line 284 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::apply_brush_texture(), and blender::ed::sculpt_paint::stroke_cache_common_init().
| struct blender::ed::sculpt_paint::StrokeCache::[struct].paint_brush blender::ed::sculpt_paint::StrokeCache::paint_brush |
Referenced by blender::ed::sculpt_paint::cache_paint_brush_variants_update(), blender::ed::sculpt_paint::color::do_blur_brush(), blender::ed::sculpt_paint::color::do_paint_brush(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::color::do_smear_brush(), blender::ed::sculpt_paint::color::do_smear_brush_task(), and blender::ed::sculpt_paint::restore_from_undo_step_if_necessary().
| int blender::ed::sculpt_paint::StrokeCache::paint_face_set = face_set_none_id |
Definition at line 299 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_interpolated_face_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), and blender::ed::sculpt_paint::auto_mask::calc_vert_factors().
| struct blender::ed::sculpt_paint::StrokeCache::[struct].plane_brush blender::ed::sculpt_paint::StrokeCache::plane_brush |
Definition at line 330 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::apply_brush_texture(), blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::calc_brush_plane(), and blender::ed::sculpt_paint::do_tiled().
| float blender::ed::sculpt_paint::StrokeCache::plane_trim_squared = 0.0f |
Definition at line 423 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::filter_plane_trim_limit_factors(), and blender::ed::sculpt_paint::stroke_cache_init().
| std::unique_ptr<pose::IKChain> blender::ed::sculpt_paint::StrokeCache::pose_ik_chain |
Definition at line 364 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::pose::calc_bmesh(), blender::ed::sculpt_paint::pose::calc_grids(), blender::ed::sculpt_paint::pose::calc_mesh(), blender::ed::sculpt_paint::pose::calc_rotate_deform(), blender::ed::sculpt_paint::pose::calc_scale_deform(), blender::ed::sculpt_paint::pose::calc_scale_from_grab_delta(), blender::ed::sculpt_paint::pose::calc_squash_stretch_deform(), blender::ed::sculpt_paint::pose::calc_twist_deform(), blender::ed::sculpt_paint::pose::do_pose_brush(), blender::ed::sculpt_paint::pose::pose_brush_init(), and blender::ed::sculpt_paint::pose::sculpt_pose_do_translate_deform().
| float blender::ed::sculpt_paint::StrokeCache::pressure = 0.0f |
Definition at line 237 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::area_normal_and_center_get_position_radius(), blender::ed::sculpt_paint::brush_dynamic_size_get(), blender::ed::sculpt_paint::brush_plane_offset_get(), blender::ed::sculpt_paint::brush_strength(), blender::ed::sculpt_paint::cache_paint_brush_variants_update(), blender::ed::sculpt_paint::brushes::do_bmesh_topology_rake_brush(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::vwpaint::get_brush_alpha_data(), blender::get_brush_color(), blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), blender::ed::sculpt_paint::stroke_cache_update(), blender::ed::sculpt_paint::vwpaint::update_cache_variants(), and blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step().
| Vector<ProjectBrushTarget> blender::ed::sculpt_paint::StrokeCache::project_targets |
Definition at line 400 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::init_scene_project_brush_targets().
| float4x4 blender::ed::sculpt_paint::StrokeCache::projection_mat = float4x4::identity() |
Definition at line 279 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::apply_brush_texture(), blender::ed::sculpt_paint::stroke_cache_common_init(), and blender::ed::sculpt_paint::vertex_is_occluded().
| int blender::ed::sculpt_paint::StrokeCache::radial_symmetry_pass = 0 |
Definition at line 334 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::apply_brush_texture(), blender::ed::sculpt_paint::calc_vertex_displacement(), blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::do_radial_symmetry(), blender::ed::sculpt_paint::do_radial_symmetry_with_tiling(), blender::ed::sculpt_paint::do_symmetrical_brush_actions(), blender::ed::sculpt_paint::do_symmetrical_brush_actions_with_tiling_and_feathering(), blender::ed::sculpt_paint::filter_region_clip_factors(), blender::ed::sculpt_paint::filter_region_clip_factors(), blender::ed::sculpt_paint::stroke_is_first_brush_step(), blender::ed::sculpt_paint::stroke_is_main_symmetry_pass(), blender::ed::sculpt_paint::update_brush_local_mat(), blender::ed::sculpt_paint::update_sculpt_normal(), and blender::WeightPaintStroke::update_step().
| float blender::ed::sculpt_paint::StrokeCache::radius = 0.0f |
Definition at line 218 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cloth::add_constraints_for_verts(), blender::ed::sculpt_paint::apply_hardness_to_distances(), blender::ed::sculpt_paint::area_normal_and_center_get_normal_radius(), blender::ed::sculpt_paint::area_normal_and_center_get_position_radius(), blender::ed::sculpt_paint::cloth::brush_affected_nodes_gather(), blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::brushes::calc_bmesh(), blender::ed::sculpt_paint::calc_brush_node_mask(), blender::ed::sculpt_paint::calc_brush_strength_factors(), blender::ed::sculpt_paint::cloth::calc_constraint_factors(), blender::ed::sculpt_paint::brushes::calc_faces(), blender::ed::sculpt_paint::calc_factors_common_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_grids(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_mesh(), blender::ed::sculpt_paint::calc_factors_common_grids(), blender::ed::sculpt_paint::calc_factors_common_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh_indexed(), blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::brushes::calc_grids(), blender::ed::sculpt_paint::brushes::clay_strips::calc_local_matrix(), blender::ed::sculpt_paint::brushes::clay_strips::calc_node_mask(), blender::ed::sculpt_paint::calc_overlap(), blender::calculate_average_color(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), blender::ed::sculpt_paint::cube_tip_init(), blender::ed::sculpt_paint::brushes::do_clay_strips_brush(), blender::ed::sculpt_paint::brushes::do_clay_thumb_brush(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::brushes::do_draw_brush(), blender::ed::sculpt_paint::brushes::do_draw_sharp_brush(), blender::ed::sculpt_paint::brushes::do_elastic_deform_brush(), blender::ed::sculpt_paint::brushes::do_inflate_brush(), blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::image::do_paint_pixels(), blender::ed::sculpt_paint::brushes::do_plane_brush(), blender::ed::sculpt_paint::color::do_sample_wet_paint_task(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::ed::sculpt_paint::do_tiled(), blender::do_vpaint_brush_blur_loops(), blender::do_vpaint_brush_blur_verts(), blender::do_vpaint_brush_smear(), blender::do_wpaint_brush_smear(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::auto_mask::fill_topology_automasking_factors_bmesh(), blender::ed::sculpt_paint::auto_mask::fill_topology_automasking_factors_grids(), blender::ed::sculpt_paint::auto_mask::fill_topology_automasking_factors_mesh(), blender::ed::sculpt_paint::boundary::get_mesh_strength(), blender::ed::sculpt_paint::image::init_uv_primitives_brush_test(), blender::ed::sculpt_paint::mesh_cursor_active_draw(), blender::ed::sculpt_paint::brushes::multiplane_scrape_preview_draw(), blender::ed::sculpt_paint::pbvh_gather_generic(), blender::ed::sculpt_paint::cloth::plane_falloff_preview_draw(), blender::ed::sculpt_paint::pose::pose_brush_init(), blender::ed::sculpt_paint::brushes::sample_node_surface_bmesh(), blender::ed::sculpt_paint::brushes::sample_node_surface_grids(), blender::ed::sculpt_paint::brushes::sample_node_surface_mesh(), blender::ed::sculpt_paint::cloth::solve_verts_simulation(), blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), blender::ed::sculpt_paint::stroke_cache_update(), blender::ed::sculpt_paint::update_brush_local_mat(), blender::ed::sculpt_paint::vwpaint::update_cache_variants(), and blender::vpaint_do_draw().
| float blender::ed::sculpt_paint::StrokeCache::radius_squared = 0.0f |
Definition at line 219 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::plane::calc_node_mask(), blender::ed::sculpt_paint::calc_overlap(), blender::ed::sculpt_paint::brushes::do_gravity_brush(), blender::ed::sculpt_paint::filter_plane_trim_limit_factors(), blender::ed::sculpt_paint::gather_brush_nodes(), blender::ed::sculpt_paint::boundary::init_boundary_bmesh(), blender::ed::sculpt_paint::boundary::init_boundary_grids(), blender::ed::sculpt_paint::boundary::init_boundary_mesh(), blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), blender::ed::sculpt_paint::stroke_cache_update(), and blender::ed::sculpt_paint::vwpaint::update_cache_variants().
| SculptRakeData blender::ed::sculpt_paint::StrokeCache::rake_data |
Definition at line 296 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update().
| std::optional<math::Quaternion> blender::ed::sculpt_paint::StrokeCache::rake_rotation |
Definition at line 294 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), and blender::ed::sculpt_paint::cache_calc_brushdata_symm().
| std::optional<math::Quaternion> blender::ed::sculpt_paint::StrokeCache::rake_rotation_symm |
Definition at line 295 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), and blender::ed::sculpt_paint::cache_calc_brushdata_symm().
Definition at line 197 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::clay_strips::calc_node_mask(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), blender::ed::sculpt_paint::brushes::do_clay_brush(), blender::ed::sculpt_paint::brushes::do_draw_brush(), blender::ed::sculpt_paint::brushes::do_draw_sharp_brush(), blender::ed::sculpt_paint::brushes::do_gravity_brush(), blender::ed::sculpt_paint::brushes::do_inflate_brush(), blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::brushes::do_plane_brush(), and blender::ed::sculpt_paint::stroke_cache_init().
The primary direction of influence for a brush stroke.
May be unused for some brushes (e.g. Smooth) May be only calculated at the beginning of a stroke (e.g. Grab)
Calculated by either #calc_sculpt_normal or calc_brush_plane.
Definition at line 314 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::calc_brush_plane(), and blender::ed::sculpt_paint::update_sculpt_normal().
Definition at line 315 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_frontface_normal_from_falloff_shape(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), blender::ed::sculpt_paint::cube_tip_init(), blender::ed::sculpt_paint::brushes::do_bmesh_topology_rake_brush(), blender::ed::sculpt_paint::brushes::do_nudge_brush(), blender::ed::sculpt_paint::brushes::do_thumb_brush(), blender::ed::sculpt_paint::sculpt_project_v3_normal_align(), blender::ed::sculpt_paint::tilt_effective_normal_get(), blender::ed::sculpt_paint::update_brush_local_mat(), blender::ed::sculpt_paint::update_sculpt_normal(), and blender::ed::sculpt_paint::vwpaint::update_sculpt_normal().
| float blender::ed::sculpt_paint::StrokeCache::stroke_distance = 0.0f |
Definition at line 224 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::get_brush_color(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step(), blender::ed::sculpt_paint::SculptPaintStroke::update_step(), and blender::VertexPaintStroke::update_step().
| float4x4 blender::ed::sculpt_paint::StrokeCache::stroke_local_mat = float4x4::identity() |
Definition at line 431 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::brushes::multiplane_scrape_preview_draw(), and blender::ed::sculpt_paint::cloth::plane_falloff_preview_draw().
| bool blender::ed::sculpt_paint::StrokeCache::supports_gravity = false |
Definition at line 425 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::push_undo_nodes(), and blender::ed::sculpt_paint::stroke_cache_init().
Definition at line 414 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_surface_smooth_brush().
| float4x4 blender::ed::sculpt_paint::StrokeCache::symm_rot_mat = float4x4::identity() |
| float4x4 blender::ed::sculpt_paint::StrokeCache::symm_rot_mat_inv = float4x4::identity() |
| int blender::ed::sculpt_paint::StrokeCache::tile_pass = 0 |
Definition at line 331 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::do_tiled(), blender::ed::sculpt_paint::stroke_is_first_brush_step(), and blender::ed::sculpt_paint::stroke_is_main_symmetry_pass().
Definition at line 255 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), blender::ed::sculpt_paint::stroke_cache_update(), and blender::ed::sculpt_paint::tilt_apply_to_normal().
Definition at line 286 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_calc_brushdata_symm(), and blender::ed::sculpt_paint::stroke_cache_update().
Definition at line 287 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::calc_brush_node_mask(), and blender::ed::sculpt_paint::cube_tip_init().
| StrokeToggleSettings blender::ed::sculpt_paint::StrokeCache::toggle_settings = {} |
Definition at line 215 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_flip(), blender::ed::sculpt_paint::brush_stroke_init(), blender::ed::sculpt_paint::pose::calc_rotate_twist_deform(), blender::ed::sculpt_paint::pose::calc_scale_translate_deform(), blender::ed::sculpt_paint::image::do_3d_image_paint_brush(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::SculptPaintStroke::done(), blender::VertexPaintStroke::done(), blender::WeightPaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::ExperimentalTexturePaintStroke(), blender::ed::sculpt_paint::boundary::get_mesh_strength(), blender::ed::sculpt_paint::grab_delta_get(), blender::ed::sculpt_paint::vwpaint::init_stroke(), blender::ed::sculpt_paint::mask_brush_toggle_off(), blender::ed::sculpt_paint::brushes::multiplane_scrape_preview_draw(), blender::ed::sculpt_paint::push_undo_nodes(), blender::ed::sculpt_paint::undo::restore_from_undo_step(), blender::ed::sculpt_paint::sculpt_brush_needs_normal(), blender::ed::sculpt_paint::smooth_brush_toggle_off(), blender::ed::sculpt_paint::vwpaint::smooth_brush_toggle_off(), blender::ed::sculpt_paint::dyntopo::stroke_is_dyntopo(), blender::ed::sculpt_paint::update_sculpt_normal(), and blender::WeightPaintStroke::update_step().
| ViewContext* blender::ed::sculpt_paint::StrokeCache::vc = nullptr |
Definition at line 282 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::apply_brush_texture(), blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::filter_region_clip_factors(), blender::ed::sculpt_paint::filter_region_clip_factors(), blender::ed::sculpt_paint::stroke_cache_common_init(), blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), blender::ed::sculpt_paint::stroke_cache_update(), blender::ed::sculpt_paint::tilt_apply_to_normal(), blender::ed::sculpt_paint::update_brush_local_mat(), blender::ed::sculpt_paint::vwpaint::update_cache_variants(), and blender::ed::sculpt_paint::vertex_is_occluded().
| float blender::ed::sculpt_paint::StrokeCache::vertex_rotation = 0.0f |
Definition at line 420 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_rotate_brush(), and blender::ed::sculpt_paint::stroke_cache_update().
Definition at line 303 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::calc_brush_plane(), blender::ed::sculpt_paint::calc_sculpt_normal(), and blender::ed::sculpt_paint::stroke_cache_common_init().
Definition at line 304 of file mesh/sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_frontface_normal_from_falloff_shape(), blender::ed::sculpt_paint::cache_calc_brushdata_symm(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_bmesh(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_grids(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_mesh(), blender::ed::sculpt_paint::brushes::calc_bmesh(), blender::ed::sculpt_paint::calc_brush_distances_squared(), blender::ed::sculpt_paint::calc_brush_distances_squared(), blender::ed::sculpt_paint::calc_brush_node_mask(), blender::ed::sculpt_paint::calc_brush_plane(), blender::ed::sculpt_paint::calc_cube_tip_factors_common_bmesh(), blender::ed::sculpt_paint::calc_cube_tip_factors_common_grids(), blender::ed::sculpt_paint::brushes::calc_faces(), blender::ed::sculpt_paint::calc_factors_common_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_grids(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_mesh(), blender::ed::sculpt_paint::calc_factors_common_grids(), blender::ed::sculpt_paint::calc_factors_common_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh_indexed(), blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::brushes::calc_grids(), blender::ed::sculpt_paint::brushes::clay_strips::calc_node_mask(), blender::ed::sculpt_paint::brushes::plane::calc_node_mask(), blender::ed::sculpt_paint::auto_mask::calc_view_normal_factor(), blender::ed::sculpt_paint::cube_tip_init(), blender::ed::sculpt_paint::brushes::do_clay_strips_brush(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::color::do_sample_wet_paint_task(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::do_vpaint_brush_smear(), blender::do_wpaint_brush_smear(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::gather_brush_nodes(), blender::ed::sculpt_paint::pbvh_gather_generic(), blender::ed::sculpt_paint::brushes::sample_node_surface_bmesh(), blender::ed::sculpt_paint::brushes::sample_node_surface_grids(), blender::ed::sculpt_paint::brushes::sample_node_surface_mesh(), blender::ed::sculpt_paint::sculpt_project_v3_normal_align(), blender::ed::sculpt_paint::update_brush_local_mat(), blender::ed::sculpt_paint::update_sculpt_normal(), and blender::ed::sculpt_paint::vwpaint::update_sculpt_normal().