Blender V4.3
blender::ed::sculpt_paint::CurvesEffect Class Referenceabstract

Inherited by blender::ed::sculpt_paint::ExtrapolateCurvesEffect, blender::ed::sculpt_paint::ScaleCurvesEffect, and blender::ed::sculpt_paint::ShrinkCurvesEffect.

Public Member Functions

virtual ~CurvesEffect ()=default
 
virtual void execute (CurvesGeometry &curves, const IndexMask &curve_mask, Span< float > move_distances_cu, MutableSpan< float3 > positions_cu)=0
 

Detailed Description

Utility class to wrap different grow/shrink behaviors. It might be useful to use this for other future brushes as well, but better see if this abstraction holds up for a while before using it in more places.

Definition at line 54 of file curves_sculpt_grow_shrink.cc.

Constructor & Destructor Documentation

◆ ~CurvesEffect()

virtual blender::ed::sculpt_paint::CurvesEffect::~CurvesEffect ( )
virtualdefault

Member Function Documentation

◆ execute()

virtual void blender::ed::sculpt_paint::CurvesEffect::execute ( CurvesGeometry & curves,
const IndexMask & curve_mask,
Span< float > move_distances_cu,
MutableSpan< float3 > positions_cu )
pure virtual

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