|
Blender V4.3
|
#include <curves_sculpt_intern.hh>
Public Member Functions | |
| void | initialize (const bke::CurvesGeometry &curves, const IndexMask &curve_selection, const bool use_surface_collision) |
| void | solve_step (bke::CurvesGeometry &curves, const IndexMask &curve_selection, const Mesh *surface, const CurvesSurfaceTransforms &transforms) |
| Span< float > | segment_lengths () const |
Utility class to make it easy for brushes to implement length preservation and surface collision.
Definition at line 152 of file curves_sculpt_intern.hh.
| void blender::ed::sculpt_paint::CurvesConstraintSolver::initialize | ( | const bke::CurvesGeometry & | curves, |
| const IndexMask & | curve_selection, | ||
| const bool | use_surface_collision ) |
Definition at line 432 of file curves_sculpt_brush.cc.
References blender::geometry::curve_constraints::compute_segment_lengths(), and blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize().
Referenced by blender::ed::sculpt_paint::CombOperationExecutor::execute(), blender::ed::sculpt_paint::PinchOperationExecutor::execute(), and blender::ed::sculpt_paint::PuffOperationExecutor::execute().
| void blender::ed::sculpt_paint::CurvesConstraintSolver::solve_step | ( | bke::CurvesGeometry & | curves, |
| const IndexMask & | curve_selection, | ||
| const Mesh * | surface, | ||
| const CurvesSurfaceTransforms & | transforms ) |
Definition at line 445 of file curves_sculpt_brush.cc.
References blender::geometry::curve_constraints::solve_length_and_collision_constraints(), and blender::geometry::curve_constraints::solve_length_constraints().
Referenced by blender::ed::sculpt_paint::CombOperationExecutor::execute(), blender::ed::sculpt_paint::PinchOperationExecutor::execute(), and blender::ed::sculpt_paint::PuffOperationExecutor::execute().