Blender  V3.3
Public Member Functions | List of all members
blender::ed::sculpt_paint::ScaleCurvesEffect Class Reference
Inheritance diagram for blender::ed::sculpt_paint::ScaleCurvesEffect:
blender::ed::sculpt_paint::CurvesEffect

Public Member Functions

 ScaleCurvesEffect (bool scale_up, const Brush &brush)
 
void execute (CurvesGeometry &curves, const Span< int > curve_indices, const Span< float > move_distances_cu) override
 
float compute_poly_curve_length (const Span< float3 > positions)
 
- Public Member Functions inherited from blender::ed::sculpt_paint::CurvesEffect
virtual ~CurvesEffect ()=default
 

Detailed Description

Change the length of curves by scaling them uniformly.

Definition at line 171 of file curves_sculpt_grow_shrink.cc.

Constructor & Destructor Documentation

◆ ScaleCurvesEffect()

blender::ed::sculpt_paint::ScaleCurvesEffect::ScaleCurvesEffect ( bool  scale_up,
const Brush brush 
)
inline

Definition at line 177 of file curves_sculpt_grow_shrink.cc.

Member Function Documentation

◆ compute_poly_curve_length()

float blender::ed::sculpt_paint::ScaleCurvesEffect::compute_poly_curve_length ( const Span< float3 positions)
inline

◆ execute()

void blender::ed::sculpt_paint::ScaleCurvesEffect::execute ( CurvesGeometry curves,
const Span< int >  curve_indices,
const Span< float move_distances_cu 
)
inlineoverridevirtual

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