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

Classes

struct  LocalData
 

Functions

static BLI_NOINLINE void calc_closest_to_plane (const float4 &test_plane, const Span< float3 > positions, const Span< int > verts, const MutableSpan< float3 > translations)
 
static BLI_NOINLINE void calc_closest_to_plane (const float4 &test_plane, const Span< float3 > positions, const MutableSpan< float3 > translations)
 
static void calc_faces (const Depsgraph &depsgraph, const Sculpt &sd, const Brush &brush, const float4 &test_plane, const float strength, const MeshAttributeData &attribute_data, const Span< float3 > vert_normals, const bke::pbvh::MeshNode &node, Object &object, LocalData &tls, const PositionDeformData &position_data)
 
static void calc_grids (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, const float4 &test_plane, const float strength, bke::pbvh::GridsNode &node, LocalData &tls)
 
static void calc_bmesh (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, const float4 &test_plane, const float strength, bke::pbvh::BMeshNode &node, LocalData &tls)
 

Function Documentation

◆ calc_bmesh()

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

Definition at line 123 of file clay.cc.

◆ calc_closest_to_plane() [1/2]

static BLI_NOINLINE void blender::ed::sculpt_paint::clay_cc::calc_closest_to_plane ( const float4 & test_plane,
const Span< float3 > positions,
const MutableSpan< float3 > translations )
static

Definition at line 46 of file clay.cc.

◆ calc_closest_to_plane() [2/2]

static BLI_NOINLINE void blender::ed::sculpt_paint::clay_cc::calc_closest_to_plane ( const float4 & test_plane,
const Span< float3 > positions,
const Span< int > verts,
const MutableSpan< float3 > translations )
static

Definition at line 33 of file clay.cc.

◆ calc_faces()

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

Definition at line 58 of file clay.cc.

◆ calc_grids()

static void blender::ed::sculpt_paint::clay_cc::calc_grids ( const Depsgraph & depsgraph,
const Sculpt & sd,
Object & object,
const Brush & brush,
const float4 & test_plane,
const float strength,
bke::pbvh::GridsNode & node,
LocalData & tls )
static

Definition at line 95 of file clay.cc.