Blender V5.0
blender::ed::sculpt_paint::brushes::smooth_mask_cc Namespace Reference

Classes

struct  LocalData

Functions

static Vector< floatiteration_strengths (const float strength)
static void apply_masks_faces (const Depsgraph &depsgraph, const Brush &brush, const Span< float3 > positions_eval, const Span< float3 > vert_normals, const Span< bool > hide_vert, const bke::pbvh::MeshNode &node, const float strength, Object &object, LocalData &tls, const Span< float > mask_averages, MutableSpan< float > mask)
static void do_smooth_brush_mesh (const Depsgraph &depsgraph, const Brush &brush, Object &object, const IndexMask &node_mask, const float brush_strength)
static void calc_grids (const Depsgraph &depsgraph, Object &object, const Brush &brush, const float strength, const bke::pbvh::GridsNode &node, LocalData &tls)
static void calc_bmesh (const Depsgraph &depsgraph, Object &object, const int mask_offset, const Brush &brush, const float strength, bke::pbvh::BMeshNode &node, LocalData &tls)

Function Documentation

◆ apply_masks_faces()

void blender::ed::sculpt_paint::brushes::smooth_mask_cc::apply_masks_faces ( const Depsgraph & depsgraph,
const Brush & brush,
const Span< float3 > positions_eval,
const Span< float3 > vert_normals,
const Span< bool > hide_vert,
const bke::pbvh::MeshNode & node,
const float strength,
Object & object,
LocalData & tls,
const Span< float > mask_averages,
MutableSpan< float > mask )
static

Definition at line 57 of file smooth_mask.cc.

◆ calc_bmesh()

void blender::ed::sculpt_paint::brushes::smooth_mask_cc::calc_bmesh ( const Depsgraph & depsgraph,
Object & object,
const int mask_offset,
const Brush & brush,
const float strength,
bke::pbvh::BMeshNode & node,
LocalData & tls )
static

Definition at line 227 of file smooth_mask.cc.

◆ calc_grids()

void blender::ed::sculpt_paint::brushes::smooth_mask_cc::calc_grids ( const Depsgraph & depsgraph,
Object & object,
const Brush & brush,
const float strength,
const bke::pbvh::GridsNode & node,
LocalData & tls )
static

Definition at line 175 of file smooth_mask.cc.

◆ do_smooth_brush_mesh()

void blender::ed::sculpt_paint::brushes::smooth_mask_cc::do_smooth_brush_mesh ( const Depsgraph & depsgraph,
const Brush & brush,
Object & object,
const IndexMask & node_mask,
const float brush_strength )
static

Definition at line 107 of file smooth_mask.cc.

◆ iteration_strengths()

Vector< float > blender::ed::sculpt_paint::brushes::smooth_mask_cc::iteration_strengths ( const float strength)
static

Definition at line 41 of file smooth_mask.cc.