|
Blender V5.3
|
#include <sculpt_intern.hh>
Public Member Functions | |
| PositionDeformData (const Depsgraph &depsgraph, Object &object_orig) | |
| void | deform (MutableSpan< float3 > translations, Span< int > verts) const |
Public Attributes | |
| Span< float3 > | eval |
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 92 of file mesh/sculpt_intern.hh.
| blender::ed::sculpt_paint::PositionDeformData::PositionDeformData | ( | const Depsgraph & | depsgraph, |
| Object & | object_orig ) |
Definition at line 7775 of file sculpt.cc.
References blender::MutableSpan< T >::data(), blender::Object::data, blender::SculptSession::deform_imats, eval, blender::ed::sculpt_paint::ShapeKeyData::from_object(), PositionDeformData(), blender::Object::runtime, blender::bke::ObjectRuntime::sculpt_session, blender::bke::pbvh::vert_positions_eval(), and blender::bke::pbvh::vert_positions_eval_for_write().
Referenced by PositionDeformData().
| void blender::ed::sculpt_paint::PositionDeformData::deform | ( | MutableSpan< float3 > | translations, |
| Span< int > | verts ) const |
Definition at line 7793 of file sculpt.cc.
References blender::ed::sculpt_paint::apply_crazyspace_to_translations(), blender::ed::sculpt_paint::apply_translations(), blender::data, deform(), blender::Editor, and PRF_scope.
Referenced by deform().
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 99 of file mesh/sculpt_intern.hh.
Referenced by PositionDeformData().