|
Blender V5.0
|
#include <sculpt_intern.hh>
Public Member Functions | |
| StrokeCache () | |
| ~StrokeCache () | |
This structure contains all the temporary data needed for individual brush strokes.
Definition at line 156 of file sculpt_intern.hh.
|
default |
| blender::ed::sculpt_paint::StrokeCache::~StrokeCache | ( | ) |
Definition at line 3814 of file sculpt.cc.
References BLI_dial_free(), and dial.
| bool blender::ed::sculpt_paint::StrokeCache::accum = false |
Accumulate mode.
Definition at line 308 of file 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::do_brush_action(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::stroke_get_location_bvh_ex(), and blender::ed::sculpt_paint::vwpaint::update_cache_invariants().
| bool blender::ed::sculpt_paint::StrokeCache::alt_smooth = false |
Whether the modifier key that controls smoothing is active currently. Generally signals a change in behavior for different brushes.
Definition at line 397 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::color::do_paint_brush(), blender::ed::sculpt_paint::push_undo_nodes(), blender::ed::sculpt_paint::undo::restore_from_undo_step(), blender::ed::sculpt_paint::sculpt_needs_connectivity_info(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::stroke_done(), blender::ed::sculpt_paint::dyntopo::stroke_is_dyntopo(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), vpaint_stroke_done(), and wpaint_stroke_done().
| std::unique_ptr<auto_mask::Cache> blender::ed::sculpt_paint::StrokeCache::automasking |
Definition at line 405 of file 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::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_smear_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(), and blender::ed::sculpt_paint::auto_mask::stroke_cache_ensure().
| std::array<std::unique_ptr<boundary::SculptBoundary>, PAINT_SYMM_AREAS> blender::ed::sculpt_paint::StrokeCache::boundaries |
Definition at line 373 of file 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 244 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::auto_mask::calc_face_factors(), blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), do_vpaint_brush_blur_loops(), do_vpaint_brush_blur_verts(), do_vpaint_brush_smear(), blender::ed::sculpt_paint::cloth::plane_falloff_preview_draw(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::vwpaint::smooth_brush_toggle_off(), blender::ed::sculpt_paint::stroke_done(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), vpaint_do_draw(), vpaint_paint_leaves(), and wpaint_paint_leaves().
| float4x4 blender::ed::sculpt_paint::StrokeCache::brush_local_mat = float4x4::identity() |
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 288 of file sculpt_intern.hh.
Referenced by sculpt_apply_texture(), and update_brush_local_mat().
| float4x4 blender::ed::sculpt_paint::StrokeCache::brush_local_mat_inv = float4x4::identity() |
The matrix from local area coords to model-space coords is used to calculate the vector displacement in area plane mode.
Definition at line 293 of file sculpt_intern.hh.
Referenced by SCULPT_calc_vertex_displacement(), and update_brush_local_mat().
| float blender::ed::sculpt_paint::StrokeCache::bstrength = 0.0f |
Depending on the mode, can either be the raw brush strength, or a scaled (possibly negative) value.
Definition at line 214 of file 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_twist_deform(), 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::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::brushes::do_thumb_brush(), blender::ed::sculpt_paint::brushes::do_topology_relax_brush(), do_vpaint_brush_blur_loops(), do_vpaint_brush_blur_verts(), do_vpaint_brush_smear(), do_wpaint_brush_smear(), blender::ed::sculpt_paint::boundary::get_mesh_strength(), SCULPT_calc_vertex_displacement(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), and vpaint_do_draw().
| int blender::ed::sculpt_paint::StrokeCache::center_index = 0 |
Definition at line 352 of file sculpt_intern.hh.
Definition at line 350 of file sculpt_intern.hh.
| struct { ... } blender::ed::sculpt_paint::StrokeCache::clay_thumb_brush |
| std::unique_ptr<cloth::SimulationData> blender::ed::sculpt_paint::StrokeCache::cloth_sim |
Definition at line 366 of file 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().
| float blender::ed::sculpt_paint::StrokeCache::density = 0.0f |
Definition at line 319 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update(), and blender::ed::sculpt_paint::color::do_paint_brush_task().
| std::optional<float> blender::ed::sculpt_paint::StrokeCache::density_seed |
Definition at line 318 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::color::do_paint_brush(), and blender::ed::sculpt_paint::color::do_paint_brush_task().
Definition at line 333 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_enhance_details_brush().
Definition at line 384 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), and ~StrokeCache().
| struct { ... } blender::ed::sculpt_paint::StrokeCache::displacement_smear |
| float blender::ed::sculpt_paint::StrokeCache::dyntopo_pixel_radius = 0.0f |
Definition at line 193 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::dynamic_topology_update(), and blender::ed::sculpt_paint::sculpt_update_cache_variants().
| bool blender::ed::sculpt_paint::StrokeCache::first_time = false |
True if the current step is the first time the Plane brush is being evaluated.
We cannot use the generic first_time variable used by other brushes because the Plane brush uses grab_delta to compute its local matrix. Since grab_delta requires at least two stroke steps, the first step (and successive steps if the user does not move the cursor) of the Plane brush is always skipped.
Definition at line 237 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::color::do_paint_brush(), SCULPT_stroke_is_first_brush_step(), SCULPT_stroke_is_first_brush_step_of_symmetry_pass(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), blender::ed::sculpt_paint::stroke_update_step(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), and blender::ed::sculpt_paint::vwpaint::update_cache_variants().
| uint8_t blender::ed::sculpt_paint::StrokeCache::flag = 0 |
| float blender::ed::sculpt_paint::StrokeCache::flow = 0.0f |
Definition at line 312 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update(), and blender::ed::sculpt_paint::color::do_paint_brush_task().
| float blender::ed::sculpt_paint::StrokeCache::front_angle = 0.0f |
Definition at line 338 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_clay_thumb_brush().
Definition at line 248 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), 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(), SCULPT_cache_calc_brushdata_symm(), and blender::ed::sculpt_paint::pose::sculpt_pose_do_translate_deform().
Definition at line 249 of file 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_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::brushes::do_elastic_deform_brush(), blender::ed::sculpt_paint::boundary::do_grab_brush(), blender::ed::sculpt_paint::brushes::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_snake_hook_brush(), blender::ed::sculpt_paint::brushes::do_thumb_brush(), and SCULPT_cache_calc_brushdata_symm().
Definition at line 402 of file sculpt_intern.hh.
Referenced by SCULPT_cache_calc_brushdata_symm(), and blender::ed::sculpt_paint::sculpt_update_cache_invariants().
Definition at line 403 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), blender::ed::sculpt_paint::brushes::do_gravity_brush(), and SCULPT_cache_calc_brushdata_symm().
| float blender::ed::sculpt_paint::StrokeCache::hardness = 0.0f |
Definition at line 207 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::apply_hardness_to_distances(), blender::ed::sculpt_paint::cache_paint_invariants_update(), 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(), and blender::ed::sculpt_paint::brushes::sample_node_surface_mesh().
| 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 175 of file 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::sculpt_update_cache_invariants().
| std::optional<blender::float3> blender::ed::sculpt_paint::StrokeCache::initial_hsv_jitter |
Definition at line 235 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::color::do_paint_brush_task(), get_brush_color(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), and blender::ed::sculpt_paint::vwpaint::update_cache_invariants().
Definition at line 368 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::paint_cursor_cursor_draw_3d_view_brush_cursor_active(), SCULPT_cache_calc_brushdata_symm(), and blender::ed::sculpt_paint::sculpt_update_cache_invariants().
Definition at line 367 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cloth::brush_affected_nodes_gather(), 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(), SCULPT_cache_calc_brushdata_symm(), and blender::ed::sculpt_paint::sculpt_update_cache_invariants().
Definition at line 166 of file 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::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), and blender::ed::sculpt_paint::vwpaint::update_cache_invariants().
Definition at line 370 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::paint_cursor_cursor_draw_3d_view_brush_cursor_active(), SCULPT_cache_calc_brushdata_symm(), and blender::ed::sculpt_paint::sculpt_update_cache_invariants().
Definition at line 369 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::auto_mask::calc_brush_normal_factor(), SCULPT_cache_calc_brushdata_symm(), and blender::ed::sculpt_paint::sculpt_update_cache_invariants().
| float blender::ed::sculpt_paint::StrokeCache::initial_radius = 0.0f |
Definition at line 158 of file 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::sculpt_update_cache_variants(), and blender::ed::sculpt_paint::vwpaint::update_cache_variants().
| bool blender::ed::sculpt_paint::StrokeCache::invert = false |
Whether the modifier key that controls inverting brush behavior is active currently. Generally signals a change in behavior for brushes.
Definition at line 205 of file sculpt_intern.hh.
Referenced by brush_flip(), blender::ed::sculpt_paint::pose::calc_rotate_twist_deform(), blender::ed::sculpt_paint::pose::calc_scale_translate_deform(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::paint::image::do_paint_pixels(), blender::ed::sculpt_paint::boundary::get_mesh_strength(), blender::ed::sculpt_paint::brushes::multiplane_scrape_preview_draw(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), and wpaint_stroke_update_step().
| bool blender::ed::sculpt_paint::StrokeCache::is_last_valid = false |
Definition at line 195 of file sculpt_intern.hh.
Referenced by do_vpaint_brush_smear(), do_wpaint_brush_smear(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), vpaint_do_symmetrical_brush_actions(), and wpaint_do_symmetrical_brush_actions().
| 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 190 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_relax_face_sets_brush(), and blender::ed::sculpt_paint::sculpt_update_cache_variants().
| std::optional<float3> blender::ed::sculpt_paint::StrokeCache::last_center |
Definition at line 348 of file sculpt_intern.hh.
Definition at line 299 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::calc_brush_plane().
Definition at line 181 of file sculpt_intern.hh.
Referenced by SCULPT_cache_calc_brushdata_symm(), blender::ed::sculpt_paint::stroke_update_step(), vpaint_do_symmetrical_brush_actions(), and wpaint_do_symmetrical_brush_actions().
Definition at line 183 of file 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::color::do_smear_brush_task(), do_vpaint_brush_smear(), do_wpaint_brush_smear(), and SCULPT_cache_calc_brushdata_symm().
| std::optional<float3> blender::ed::sculpt_paint::StrokeCache::last_normal |
Definition at line 347 of file sculpt_intern.hh.
Definition at line 380 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_layer_brush(), and restore_from_undo_step_if_necessary().
Definition at line 228 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_displacement_smear_brush().
Definition at line 180 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), 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::paint_cursor_cursor_draw_3d_view_brush_cursor_active(), blender::ed::sculpt_paint::cloth::plane_falloff_preview_draw(), blender::ed::sculpt_paint::pose::pose_brush_init(), SCULPT_cache_calc_brushdata_symm(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), blender::ed::sculpt_paint::stroke_update_step(), blender::ed::sculpt_paint::vwpaint::update_cache_variants(), vpaint_do_symmetrical_brush_actions(), vpaint_stroke_update_step(), wpaint_do_symmetrical_brush_actions(), and wpaint_stroke_update_step().
Definition at line 182 of file 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::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_local_mat(), 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::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::brushes::do_pinch_brush(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::ed::sculpt_paint::do_tiled(), do_vpaint_brush_smear(), do_wpaint_brush_smear(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::paint::image::init_uv_primitives_brush_test(), blender::ed::sculpt_paint::pbvh_gather_cursor_update(), blender::ed::sculpt_paint::pbvh_gather_generic(), blender::ed::sculpt_paint::vwpaint::pbvh_gather_generic(), and SCULPT_cache_calc_brushdata_symm().
| float4x4 blender::ed::sculpt_paint::StrokeCache::mat = float4x4::identity() |
Definition at line 163 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::clip_and_lock_translations(), blender::ed::sculpt_paint::clip_and_lock_translations(), and blender::ed::sculpt_paint::sculpt_init_mirror_clipping().
| float4x4 blender::ed::sculpt_paint::StrokeCache::mat_inv = float4x4::identity() |
Definition at line 164 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::clip_and_lock_translations(), blender::ed::sculpt_paint::clip_and_lock_translations(), and blender::ed::sculpt_paint::sculpt_init_mirror_clipping().
| struct { ... } blender::ed::sculpt_paint::StrokeCache::mirror_modifier_clip |
| ePaintSymmetryFlags blender::ed::sculpt_paint::StrokeCache::mirror_symmetry_pass = ePaintSymmetryFlags(0) |
Definition at line 268 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::calc_brush_plane(), 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::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(), sculpt_apply_texture(), SCULPT_calc_vertex_displacement(), SCULPT_stroke_is_first_brush_step(), SCULPT_stroke_is_main_symmetry_pass(), update_brush_local_mat(), blender::ed::sculpt_paint::update_sculpt_normal(), vpaint_do_symmetrical_brush_actions(), and wpaint_do_symmetrical_brush_actions().
Used by the color attribute paint brush tool to store the brush color during a stroke and composite it over the original color.
Definition at line 325 of file sculpt_intern.hh.
Referenced by restore_from_undo_step_if_necessary().
Position of the mouse corresponding to the stroke location, modified by the paint_stroke operator according to the stroke type.
Definition at line 222 of file 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::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), and blender::ed::sculpt_paint::vwpaint::update_cache_variants().
Definition at line 224 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), and blender::ed::sculpt_paint::sculpt_update_cache_variants().
| float blender::ed::sculpt_paint::StrokeCache::multiplane_scrape_angle = 0.0f |
Definition at line 408 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), and blender::ed::sculpt_paint::brushes::multiplane_scrape_preview_draw().
| int blender::ed::sculpt_paint::StrokeCache::normal_index = 0 |
Definition at line 351 of file sculpt_intern.hh.
| float blender::ed::sculpt_paint::StrokeCache::normal_weight = 0.0f |
Definition at line 215 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_elastic_deform_brush(), blender::ed::sculpt_paint::brushes::do_grab_brush(), blender::ed::sculpt_paint::brushes::do_snake_hook_brush(), blender::ed::sculpt_paint::sculpt_brush_needs_normal(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), and blender::ed::sculpt_paint::update_sculpt_normal().
Definition at line 349 of file sculpt_intern.hh.
Definition at line 250 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update().
Definition at line 251 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), and blender::ed::sculpt_paint::pose::do_pose_brush().
Definition at line 245 of file sculpt_intern.hh.
Referenced by sculpt_apply_texture(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), and blender::ed::sculpt_paint::vwpaint::update_cache_invariants().
| struct { ... } blender::ed::sculpt_paint::StrokeCache::paint_brush |
Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update(), 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 restore_from_undo_step_if_necessary().
| int blender::ed::sculpt_paint::StrokeCache::paint_face_set = SCULPT_FACE_SET_NONE |
Definition at line 259 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::auto_mask::calc_face_factors(), blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), and blender::ed::sculpt_paint::auto_mask::calc_vert_factors().
| bool blender::ed::sculpt_paint::StrokeCache::pen_flip = false |
Definition at line 197 of file sculpt_intern.hh.
Referenced by brush_flip(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::brushes::multiplane_scrape_preview_draw(), and blender::ed::sculpt_paint::sculpt_update_cache_invariants().
| struct { ... } blender::ed::sculpt_paint::StrokeCache::plane_brush |
Definition at line 296 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::calc_brush_plane(), blender::ed::sculpt_paint::do_tiled(), sculpt_apply_texture(), and SCULPT_cache_calc_brushdata_symm().
| float blender::ed::sculpt_paint::StrokeCache::plane_trim_squared = 0.0f |
Definition at line 399 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::filter_plane_trim_limit_factors(), and blender::ed::sculpt_paint::sculpt_update_cache_invariants().
| std::unique_ptr<pose::IKChain> blender::ed::sculpt_paint::StrokeCache::pose_ik_chain |
Definition at line 330 of file 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 206 of file 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(), brush_strength(), blender::ed::sculpt_paint::cache_paint_invariants_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(), get_brush_color(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), and blender::ed::sculpt_paint::vwpaint::update_cache_variants().
| std::array<float, 10> blender::ed::sculpt_paint::StrokeCache::pressure_stabilizer |
Definition at line 340 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::clay_thumb_get_stabilized_pressure(), and blender::ed::sculpt_paint::sculpt_update_cache_variants().
Definition at line 326 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::color::do_smear_brush(), and blender::ed::sculpt_paint::color::do_smear_brush_task().
Definition at line 227 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_displacement_smear_brush().
| float4x4 blender::ed::sculpt_paint::StrokeCache::projection_mat = float4x4::identity() |
Definition at line 240 of file sculpt_intern.hh.
Referenced by sculpt_apply_texture(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), and blender::ed::sculpt_paint::vertex_is_occluded().
| int blender::ed::sculpt_paint::StrokeCache::radial_symmetry_pass = 0 |
Definition at line 300 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::do_radial_symmetry(), blender::ed::sculpt_paint::do_symmetrical_brush_actions(), blender::ed::sculpt_paint::filter_region_clip_factors(), blender::ed::sculpt_paint::filter_region_clip_factors(), sculpt_apply_texture(), SCULPT_calc_vertex_displacement(), SCULPT_stroke_is_first_brush_step(), SCULPT_stroke_is_main_symmetry_pass(), update_brush_local_mat(), blender::ed::sculpt_paint::update_sculpt_normal(), vpaint_do_paint(), vpaint_do_symmetrical_brush_actions(), wpaint_do_paint(), and wpaint_do_symmetrical_brush_actions().
| float blender::ed::sculpt_paint::StrokeCache::radius = 0.0f |
Definition at line 178 of file 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_local_mat(), 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(), calc_overlap(), calculate_average_color(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), 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::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(), do_vpaint_brush_blur_loops(), do_vpaint_brush_blur_verts(), do_vpaint_brush_smear(), 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::paint::image::init_uv_primitives_brush_test(), blender::ed::sculpt_paint::brushes::multiplane_scrape_preview_draw(), blender::ed::sculpt_paint::paint_cursor_cursor_draw_3d_view_brush_cursor_active(), 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(), SCULPT_cube_tip_init(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), blender::ed::sculpt_paint::cloth::solve_verts_simulation(), blender::ed::sculpt_paint::vwpaint::update_cache_variants(), and vpaint_do_draw().
| float blender::ed::sculpt_paint::StrokeCache::radius_squared = 0.0f |
Definition at line 179 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::plane::calc_node_mask(), calc_overlap(), blender::ed::sculpt_paint::brushes::do_gravity_brush(), blender::ed::sculpt_paint::filter_plane_trim_limit_factors(), 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::vwpaint::pbvh_gather_generic(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), and blender::ed::sculpt_paint::vwpaint::update_cache_variants().
| SculptRakeData blender::ed::sculpt_paint::StrokeCache::rake_data |
Definition at line 256 of file 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 254 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), and SCULPT_cache_calc_brushdata_symm().
| std::optional<math::Quaternion> blender::ed::sculpt_paint::StrokeCache::rake_rotation_symm |
Definition at line 255 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), and SCULPT_cache_calc_brushdata_symm().
| char blender::ed::sculpt_paint::StrokeCache::saved_mask_brush_tool = 0 |
Definition at line 387 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::smooth_brush_toggle_off(), and blender::ed::sculpt_paint::smooth_brush_toggle_on().
| int blender::ed::sculpt_paint::StrokeCache::saved_smooth_size = 0 |
Definition at line 159 of file 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::sculpt_update_cache_invariants().
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 280 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::calc_brush_local_mat(), blender::ed::sculpt_paint::calc_brush_plane(), and blender::ed::sculpt_paint::update_sculpt_normal().
Definition at line 281 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), 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::vwpaint::pbvh_gather_generic(), SCULPT_brush_frontface_normal_from_falloff_shape(), sculpt_project_v3_normal_align(), blender::ed::sculpt_paint::tilt_effective_normal_get(), and blender::ed::sculpt_paint::update_sculpt_normal().
| float blender::ed::sculpt_paint::StrokeCache::special_rotation = 0.0f |
Definition at line 247 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::calc_brush_local_mat(), and blender::ed::sculpt_paint::sculpt_update_cache_variants().
| int blender::ed::sculpt_paint::StrokeCache::stabilizer_index = 0 |
Definition at line 341 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::sculpt_update_cache_variants().
| float blender::ed::sculpt_paint::StrokeCache::stroke_distance = 0.0f |
Definition at line 184 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::color::do_paint_brush_task(), get_brush_color(), blender::ed::sculpt_paint::stroke_update_step(), and vpaint_stroke_update_step().
| float4x4 blender::ed::sculpt_paint::StrokeCache::stroke_local_mat = float4x4::identity() |
Definition at line 407 of file 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 401 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_forces(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::push_undo_nodes(), SCULPT_cache_calc_brushdata_symm(), and blender::ed::sculpt_paint::sculpt_update_cache_invariants().
Definition at line 377 of file 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() |
Definition at line 301 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::calc_brush_plane(), SCULPT_cache_calc_brushdata_symm(), SCULPT_calc_vertex_displacement(), and blender::ed::sculpt_paint::update_sculpt_normal().
| float4x4 blender::ed::sculpt_paint::StrokeCache::symm_rot_mat_inv = float4x4::identity() |
Definition at line 302 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::filter_region_clip_factors(), blender::ed::sculpt_paint::filter_region_clip_factors(), sculpt_apply_texture(), and SCULPT_cache_calc_brushdata_symm().
| int blender::ed::sculpt_paint::StrokeCache::symmetry = 0 |
Symmetry index between 0 and 7 bit combo.
0 is Brush only; 1 is X mirror; 2 is Y mirror; 3 is XY; 4 is Z; 5 is XZ; 6 is YZ; 7 is XYZ.
Definition at line 266 of file sculpt_intern.hh.
Referenced by calc_symmetry_feather(), blender::ed::sculpt_paint::do_symmetrical_brush_actions(), vpaint_do_symmetrical_brush_actions(), and wpaint_do_symmetrical_brush_actions().
| int blender::ed::sculpt_paint::StrokeCache::tile_pass = 0 |
Definition at line 297 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::do_tiled(), SCULPT_stroke_is_first_brush_step(), and SCULPT_stroke_is_main_symmetry_pass().
Definition at line 216 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::sculpt_update_cache_variants(), and blender::ed::sculpt_paint::tilt_apply_to_normal().
Definition at line 162 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::clip_and_lock_translations(), blender::ed::sculpt_paint::clip_and_lock_translations(), and blender::ed::sculpt_paint::sculpt_init_mirror_clipping().
| ViewContext* blender::ed::sculpt_paint::StrokeCache::vc = nullptr |
Definition at line 243 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::calc_brush_local_mat(), blender::ed::sculpt_paint::filter_region_clip_factors(), blender::ed::sculpt_paint::filter_region_clip_factors(), sculpt_apply_texture(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), blender::ed::sculpt_paint::tilt_apply_to_normal(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), 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 383 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brushes::do_rotate_brush(), and blender::ed::sculpt_paint::sculpt_update_cache_variants().
Definition at line 269 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::calc_brush_plane(), blender::ed::sculpt_paint::calc_sculpt_normal(), SCULPT_cache_calc_brushdata_symm(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), and blender::ed::sculpt_paint::vwpaint::update_cache_invariants().
Definition at line 270 of file 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::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_plane(), 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::color::do_color_smooth_task(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::color::do_smear_brush_task(), do_vpaint_brush_smear(), do_wpaint_brush_smear(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::pbvh_gather_generic(), blender::ed::sculpt_paint::vwpaint::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(), SCULPT_brush_frontface_normal_from_falloff_shape(), SCULPT_cache_calc_brushdata_symm(), sculpt_project_v3_normal_align(), blender::ed::sculpt_paint::vwpaint::update_cache_invariants(), and blender::ed::sculpt_paint::update_sculpt_normal().
| float blender::ed::sculpt_paint::StrokeCache::wet_mix = 0.0f |
Definition at line 315 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update(), blender::ed::sculpt_paint::color::do_paint_brush(), and blender::ed::sculpt_paint::color::do_paint_brush_task().
Definition at line 314 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::color::do_paint_brush().
| float blender::ed::sculpt_paint::StrokeCache::wet_persistence = 0.0f |
Definition at line 316 of file sculpt_intern.hh.
Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update(), and blender::ed::sculpt_paint::color::do_paint_brush().