Blender V4.5
blender::ed::sculpt_paint::PositionDeformData Class Reference

#include <sculpt_intern.hh>

Public Member Functions

 PositionDeformData (const Depsgraph &depsgraph, Object &object_orig)
void deform (MutableSpan< float3float3 > translations, Span< int > verts) const

Public Attributes

Span< float3float3eval

Detailed Description

This class represents an API to deform original positions based on translations created from evaluated positions. It should be constructed once outside of a parallel context.

Definition at line 82 of file sculpt_intern.hh.

Constructor & Destructor Documentation

◆ PositionDeformData()

Member Function Documentation

◆ deform()

void blender::ed::sculpt_paint::PositionDeformData::deform ( MutableSpan< float3float3 > translations,
Span< int > verts ) const

Member Data Documentation

◆ eval

Span<float3float3> blender::ed::sculpt_paint::PositionDeformData::eval

Positions from after procedural deformation from modifiers, used to build the pbvh::Tree. Translations are built for these values, then applied to the original positions. When there are no deforming modifiers, this will reference the same array as #orig.

Definition at line 89 of file sculpt_intern.hh.

Referenced by blender::ed::sculpt_paint::project::apply_projection_mesh(), blender::ed::sculpt_paint::boundary::calc_bend_mesh(), blender::ed::sculpt_paint::filter::calc_enhance_details_filter(), blender::ed::sculpt_paint::brushes::calc_faces(), blender::ed::sculpt_paint::boundary::calc_grab_mesh(), blender::ed::sculpt_paint::boundary::calc_inflate_mesh(), blender::ed::sculpt_paint::pose::calc_mesh(), blender::ed::sculpt_paint::filter::calc_random_filter(), blender::ed::sculpt_paint::filter::calc_relax_face_sets_filter(), blender::ed::sculpt_paint::filter::calc_relax_filter(), blender::ed::sculpt_paint::filter::calc_scale_filter(), blender::ed::sculpt_paint::filter::calc_sharpen_filter(), blender::ed::sculpt_paint::boundary::calc_slide_mesh(), blender::ed::sculpt_paint::filter::calc_smooth_filter(), blender::ed::sculpt_paint::boundary::calc_smooth_mesh(), blender::ed::sculpt_paint::filter::calc_sphere_filter(), blender::ed::sculpt_paint::filter::calc_surface_smooth_filter(), blender::ed::sculpt_paint::boundary::calc_twist_mesh(), blender::ed::sculpt_paint::boundary::do_bend_brush(), blender::ed::sculpt_paint::brushes::do_clay_brush(), blender::ed::sculpt_paint::brushes::do_draw_vector_displacement_brush(), blender::ed::sculpt_paint::brushes::do_elastic_deform_brush(), blender::ed::sculpt_paint::brushes::do_enhance_details_brush(), blender::ed::sculpt_paint::boundary::do_grab_brush(), blender::ed::sculpt_paint::brushes::do_grab_brush(), blender::ed::sculpt_paint::boundary::do_inflate_brush(), blender::ed::sculpt_paint::brushes::do_inflate_brush(), blender::ed::sculpt_paint::brushes::do_layer_brush(), blender::ed::sculpt_paint::brushes::do_pinch_brush(), blender::ed::sculpt_paint::brushes::do_plane_brush(), blender::ed::sculpt_paint::brushes::do_rotate_brush(), blender::ed::sculpt_paint::cloth::do_simulation_step(), blender::ed::sculpt_paint::boundary::do_slide_brush(), blender::ed::sculpt_paint::boundary::do_smooth_brush(), blender::ed::sculpt_paint::brushes::do_snake_hook_brush(), blender::ed::sculpt_paint::brushes::do_thumb_brush(), blender::ed::sculpt_paint::brushes::do_topology_slide_brush(), blender::ed::sculpt_paint::boundary::do_twist_brush(), blender::ed::sculpt_paint::face_set::edit_fairing(), blender::ed::sculpt_paint::elastic_transform_node_mesh(), blender::ed::sculpt_paint::brushes::offset_positions(), PositionDeformData(), and blender::ed::sculpt_paint::transform_node_mesh().


The documentation for this class was generated from the following files: