Blender V5.0
blender::ed::sculpt_paint::CurvesEffectOperationExecutor Struct Reference

Public Member Functions

 CurvesEffectOperationExecutor (const bContext &C)
void execute (CurvesEffectOperation &self, const bContext &C, const StrokeExtension &stroke_extension)
void gather_influences_projected (MutableSpan< float > move_distances_cu)
void gather_influences_spherical (MutableSpan< float > move_distances_cu)

Public Attributes

CurvesEffectOperationself_ = nullptr
CurvesSculptCommonContext ctx_
Objectobject_ = nullptr
Curvescurves_id_ = nullptr
CurvesGeometrycurves_ = nullptr
VArray< floatcurve_selection_factors_
IndexMaskMemory selected_curve_memory_
IndexMask curve_selection_
CurvesSculptcurves_sculpt_ = nullptr
const Brushbrush_ = nullptr
float brush_radius_base_re_
float brush_radius_factor_
float brush_strength_
eBrushFalloffShape falloff_shape_
CurvesSurfaceTransforms transforms_
float2 brush_pos_start_re_
float2 brush_pos_end_re_

Detailed Description

Utility class that actually executes the update when the stroke is updated. That's useful because it avoids passing a very large number of parameters between functions.

Definition at line 231 of file curves_sculpt_grow_shrink.cc.

Constructor & Destructor Documentation

◆ CurvesEffectOperationExecutor()

blender::ed::sculpt_paint::CurvesEffectOperationExecutor::CurvesEffectOperationExecutor ( const bContext & C)
inline

Definition at line 256 of file curves_sculpt_grow_shrink.cc.

References C, and ctx_.

Member Function Documentation

◆ execute()

◆ gather_influences_projected()

◆ gather_influences_spherical()

Member Data Documentation

◆ brush_

const Brush* blender::ed::sculpt_paint::CurvesEffectOperationExecutor::brush_ = nullptr

◆ brush_pos_end_re_

float2 blender::ed::sculpt_paint::CurvesEffectOperationExecutor::brush_pos_end_re_

◆ brush_pos_start_re_

float2 blender::ed::sculpt_paint::CurvesEffectOperationExecutor::brush_pos_start_re_

◆ brush_radius_base_re_

float blender::ed::sculpt_paint::CurvesEffectOperationExecutor::brush_radius_base_re_

Definition at line 245 of file curves_sculpt_grow_shrink.cc.

Referenced by execute(), and gather_influences_projected().

◆ brush_radius_factor_

float blender::ed::sculpt_paint::CurvesEffectOperationExecutor::brush_radius_factor_

◆ brush_strength_

float blender::ed::sculpt_paint::CurvesEffectOperationExecutor::brush_strength_

◆ ctx_

CurvesSculptCommonContext blender::ed::sculpt_paint::CurvesEffectOperationExecutor::ctx_

◆ curve_selection_

IndexMask blender::ed::sculpt_paint::CurvesEffectOperationExecutor::curve_selection_

◆ curve_selection_factors_

VArray<float> blender::ed::sculpt_paint::CurvesEffectOperationExecutor::curve_selection_factors_

◆ curves_

CurvesGeometry* blender::ed::sculpt_paint::CurvesEffectOperationExecutor::curves_ = nullptr

◆ curves_id_

Curves* blender::ed::sculpt_paint::CurvesEffectOperationExecutor::curves_id_ = nullptr

◆ curves_sculpt_

CurvesSculpt* blender::ed::sculpt_paint::CurvesEffectOperationExecutor::curves_sculpt_ = nullptr

Definition at line 243 of file curves_sculpt_grow_shrink.cc.

Referenced by execute().

◆ falloff_shape_

eBrushFalloffShape blender::ed::sculpt_paint::CurvesEffectOperationExecutor::falloff_shape_

Definition at line 249 of file curves_sculpt_grow_shrink.cc.

Referenced by execute().

◆ object_

Object* blender::ed::sculpt_paint::CurvesEffectOperationExecutor::object_ = nullptr

◆ selected_curve_memory_

IndexMaskMemory blender::ed::sculpt_paint::CurvesEffectOperationExecutor::selected_curve_memory_

Definition at line 240 of file curves_sculpt_grow_shrink.cc.

Referenced by execute().

◆ self_

CurvesEffectOperation* blender::ed::sculpt_paint::CurvesEffectOperationExecutor::self_ = nullptr

Definition at line 232 of file curves_sculpt_grow_shrink.cc.

Referenced by execute(), and gather_influences_spherical().

◆ transforms_

CurvesSurfaceTransforms blender::ed::sculpt_paint::CurvesEffectOperationExecutor::transforms_

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