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

Classes

struct  LocalData
 

Functions

static BLI_NOINLINE void calc_translations (const Brush &brush, const StrokeCache &cache, const KelvinletParams &kelvinet_params, const float3 &location, const float3 &offset, const Span< float3 > positions, const MutableSpan< float3 > translations)
 
static void calc_faces (const Depsgraph &depsgraph, const Sculpt &sd, const Brush &brush, const KelvinletParams &kelvinet_params, const float3 &offset, const MeshAttributeData &attribute_data, 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 KelvinletParams &kelvinet_params, const float3 &offset, bke::pbvh::GridsNode &node, LocalData &tls)
 
static void calc_bmesh (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, const KelvinletParams &kelvinet_params, const float3 &offset, bke::pbvh::BMeshNode &node, LocalData &tls)
 

Function Documentation

◆ calc_bmesh()

static void blender::ed::sculpt_paint::elastic_deform_cc::calc_bmesh ( const Depsgraph & depsgraph,
const Sculpt & sd,
Object & object,
const Brush & brush,
const KelvinletParams & kelvinet_params,
const float3 & offset,
bke::pbvh::BMeshNode & node,
LocalData & tls )
static

Definition at line 169 of file elastic_deform.cc.

◆ calc_faces()

static void blender::ed::sculpt_paint::elastic_deform_cc::calc_faces ( const Depsgraph & depsgraph,
const Sculpt & sd,
const Brush & brush,
const KelvinletParams & kelvinet_params,
const float3 & offset,
const MeshAttributeData & attribute_data,
const bke::pbvh::MeshNode & node,
Object & object,
LocalData & tls,
const PositionDeformData & position_data )
static

Definition at line 88 of file elastic_deform.cc.

◆ calc_grids()

static void blender::ed::sculpt_paint::elastic_deform_cc::calc_grids ( const Depsgraph & depsgraph,
const Sculpt & sd,
Object & object,
const Brush & brush,
const KelvinletParams & kelvinet_params,
const float3 & offset,
bke::pbvh::GridsNode & node,
LocalData & tls )
static

Definition at line 128 of file elastic_deform.cc.

◆ calc_translations()

static BLI_NOINLINE void blender::ed::sculpt_paint::elastic_deform_cc::calc_translations ( const Brush & brush,
const StrokeCache & cache,
const KelvinletParams & kelvinet_params,
const float3 & location,
const float3 & offset,
const Span< float3 > positions,
const MutableSpan< float3 > translations )
static

Definition at line 39 of file elastic_deform.cc.