Blender V4.3
blender::ed::sculpt_paint::smooth_cc Namespace Reference

Classes

struct  LocalData
 

Functions

static Vector< floatiteration_strengths (const float strength)
 
static BLI_NOINLINE void apply_positions_faces (const Depsgraph &depsgraph, const Sculpt &sd, const Brush &brush, const MeshAttributeData &attribute_data, const Span< float3 > vert_normals, const bke::pbvh::MeshNode &node, const float strength, Object &object, LocalData &tls, const Span< float3 > new_positions, const PositionDeformData &position_data)
 
static BLI_NOINLINE void do_smooth_brush_mesh (const Depsgraph &depsgraph, const Sculpt &sd, const Brush &brush, Object &object, const IndexMask &node_mask, const float brush_strength)
 
static void calc_grids (const Depsgraph &depsgraph, const Sculpt &sd, const OffsetIndices< int > faces, const Span< int > corner_verts, const BitSpan boundary_verts, Object &object, const Brush &brush, const float strength, const bke::pbvh::GridsNode &node, LocalData &tls)
 
static void calc_bmesh (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, const float strength, bke::pbvh::BMeshNode &node, LocalData &tls)
 

Function Documentation

◆ apply_positions_faces()

static BLI_NOINLINE void blender::ed::sculpt_paint::smooth_cc::apply_positions_faces ( const Depsgraph & depsgraph,
const Sculpt & sd,
const Brush & brush,
const MeshAttributeData & attribute_data,
const Span< float3 > vert_normals,
const bke::pbvh::MeshNode & node,
const float strength,
Object & object,
LocalData & tls,
const Span< float3 > new_positions,
const PositionDeformData & position_data )
static

Definition at line 58 of file smooth.cc.

◆ calc_bmesh()

static void blender::ed::sculpt_paint::smooth_cc::calc_bmesh ( const Depsgraph & depsgraph,
const Sculpt & sd,
Object & object,
const Brush & brush,
const float strength,
bke::pbvh::BMeshNode & node,
LocalData & tls )
static

Definition at line 195 of file smooth.cc.

◆ calc_grids()

static void blender::ed::sculpt_paint::smooth_cc::calc_grids ( const Depsgraph & depsgraph,
const Sculpt & sd,
const OffsetIndices< int > faces,
const Span< int > corner_verts,
const BitSpan boundary_verts,
Object & object,
const Brush & brush,
const float strength,
const bke::pbvh::GridsNode & node,
LocalData & tls )
static

Definition at line 160 of file smooth.cc.

◆ do_smooth_brush_mesh()

static BLI_NOINLINE void blender::ed::sculpt_paint::smooth_cc::do_smooth_brush_mesh ( const Depsgraph & depsgraph,
const Sculpt & sd,
const Brush & brush,
Object & object,
const IndexMask & node_mask,
const float brush_strength )
static

Definition at line 95 of file smooth.cc.

◆ iteration_strengths()

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

Definition at line 33 of file smooth.cc.