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

Public Member Functions

 DeleteOperationExecutor (const bContext &C)
void execute (DeleteOperation &self, const bContext &C, const StrokeExtension &stroke_extension)
void delete_projected_with_symmetry (MutableSpan< bool > curves_to_keep)
void delete_projected (const float4x4 &brush_transform, MutableSpan< bool > curves_to_keep)
void delete_spherical_with_symmetry (MutableSpan< bool > curves_to_keep)
void delete_spherical (const float3 &brush_cu, MutableSpan< bool > curves_to_keep)
void initialize_spherical_brush_reference_point ()

Public Attributes

DeleteOperationself_ = nullptr
CurvesSculptCommonContext ctx_
Objectobject_ = nullptr
Curvescurves_id_ = nullptr
CurvesGeometrycurves_ = nullptr
IndexMaskMemory selected_curve_memory_
IndexMask curve_selection_
CurvesSculptcurves_sculpt_ = nullptr
const Brushbrush_ = nullptr
float brush_radius_base_re_
float brush_radius_factor_
float2 brush_pos_re_
CurvesSurfaceTransforms transforms_

Detailed Description

Definition at line 58 of file curves_sculpt_delete.cc.

Constructor & Destructor Documentation

◆ DeleteOperationExecutor()

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

Definition at line 78 of file curves_sculpt_delete.cc.

References C, and ctx_.

Member Function Documentation

◆ delete_projected()

◆ delete_projected_with_symmetry()

void blender::ed::sculpt_paint::DeleteOperationExecutor::delete_projected_with_symmetry ( MutableSpan< bool > curves_to_keep)
inline

◆ delete_spherical()

void blender::ed::sculpt_paint::DeleteOperationExecutor::delete_spherical ( const float3 & brush_cu,
MutableSpan< bool > curves_to_keep )
inline

◆ delete_spherical_with_symmetry()

void blender::ed::sculpt_paint::DeleteOperationExecutor::delete_spherical_with_symmetry ( MutableSpan< bool > curves_to_keep)
inline

◆ execute()

◆ initialize_spherical_brush_reference_point()

void blender::ed::sculpt_paint::DeleteOperationExecutor::initialize_spherical_brush_reference_point ( )
inline

Member Data Documentation

◆ brush_

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

Definition at line 70 of file curves_sculpt_delete.cc.

Referenced by execute().

◆ brush_pos_re_

float2 blender::ed::sculpt_paint::DeleteOperationExecutor::brush_pos_re_

◆ brush_radius_base_re_

float blender::ed::sculpt_paint::DeleteOperationExecutor::brush_radius_base_re_

◆ brush_radius_factor_

float blender::ed::sculpt_paint::DeleteOperationExecutor::brush_radius_factor_

Definition at line 72 of file curves_sculpt_delete.cc.

Referenced by delete_projected(), delete_spherical(), and execute().

◆ ctx_

◆ curve_selection_

IndexMask blender::ed::sculpt_paint::DeleteOperationExecutor::curve_selection_

Definition at line 67 of file curves_sculpt_delete.cc.

Referenced by delete_projected(), delete_spherical(), and execute().

◆ curves_

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

Definition at line 64 of file curves_sculpt_delete.cc.

Referenced by delete_projected(), delete_spherical(), and execute().

◆ curves_id_

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

◆ curves_sculpt_

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

Definition at line 69 of file curves_sculpt_delete.cc.

Referenced by execute(), and initialize_spherical_brush_reference_point().

◆ object_

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

◆ selected_curve_memory_

IndexMaskMemory blender::ed::sculpt_paint::DeleteOperationExecutor::selected_curve_memory_

Definition at line 66 of file curves_sculpt_delete.cc.

Referenced by execute().

◆ self_

DeleteOperation* blender::ed::sculpt_paint::DeleteOperationExecutor::self_ = nullptr

◆ transforms_

CurvesSurfaceTransforms blender::ed::sculpt_paint::DeleteOperationExecutor::transforms_

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