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

Classes

struct  LocalData
 

Functions

static BLI_NOINLINE void calc_translation_directions (const Brush &brush, const StrokeCache &cache, const Span< float3 > positions, const MutableSpan< float3 > r_translations)
 
static void add_neighbor_influence (const float3 &position, const float3 &dir, const float3 &neighbor_position, float3 &translation)
 
static BLI_NOINLINE void calc_neighbor_influence (const Span< float3 > vert_positions, const Span< float3 > positions, const Span< Vector< int > > vert_neighbors, const MutableSpan< float3 > translations)
 
static BLI_NOINLINE void calc_neighbor_influence (const SubdivCCG &subdiv_ccg, const Span< int > grids, const MutableSpan< float3 > translations)
 
static BLI_NOINLINE void calc_neighbor_influence (const Span< float3 > positions, const Set< BMVert *, 0 > &verts, const MutableSpan< float3 > translations)
 
static void calc_faces (const Depsgraph &depsgraph, const Sculpt &sd, const Brush &brush, const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_face_map, 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 bke::pbvh::GridsNode &node, LocalData &tls)
 
static void calc_bmesh (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, bke::pbvh::BMeshNode &node, LocalData &tls)
 

Function Documentation

◆ add_neighbor_influence()

static void blender::ed::sculpt_paint::topology_slide_cc::add_neighbor_influence ( const float3 & position,
const float3 & dir,
const float3 & neighbor_position,
float3 & translation )
inlinestatic

Definition at line 64 of file topology_slide.cc.

◆ calc_bmesh()

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

Definition at line 235 of file topology_slide.cc.

◆ calc_faces()

static void blender::ed::sculpt_paint::topology_slide_cc::calc_faces ( const Depsgraph & depsgraph,
const Sculpt & sd,
const Brush & brush,
const OffsetIndices< int > faces,
const Span< int > corner_verts,
const GroupedSpan< int > vert_to_face_map,
const MeshAttributeData & attribute_data,
const bke::pbvh::MeshNode & node,
Object & object,
LocalData & tls,
const PositionDeformData & position_data )
static

Definition at line 153 of file topology_slide.cc.

◆ calc_grids()

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

Definition at line 199 of file topology_slide.cc.

◆ calc_neighbor_influence() [1/3]

static BLI_NOINLINE void blender::ed::sculpt_paint::topology_slide_cc::calc_neighbor_influence ( const Span< float3 > positions,
const Set< BMVert *, 0 > & verts,
const MutableSpan< float3 > translations )
static

Definition at line 133 of file topology_slide.cc.

◆ calc_neighbor_influence() [2/3]

static BLI_NOINLINE void blender::ed::sculpt_paint::topology_slide_cc::calc_neighbor_influence ( const Span< float3 > vert_positions,
const Span< float3 > positions,
const Span< Vector< int > > vert_neighbors,
const MutableSpan< float3 > translations )
static

Definition at line 76 of file topology_slide.cc.

◆ calc_neighbor_influence() [3/3]

static BLI_NOINLINE void blender::ed::sculpt_paint::topology_slide_cc::calc_neighbor_influence ( const SubdivCCG & subdiv_ccg,
const Span< int > grids,
const MutableSpan< float3 > translations )
static

Definition at line 94 of file topology_slide.cc.

◆ calc_translation_directions()

static BLI_NOINLINE void blender::ed::sculpt_paint::topology_slide_cc::calc_translation_directions ( const Brush & brush,
const StrokeCache & cache,
const Span< float3 > positions,
const MutableSpan< float3 > r_translations )
static

Definition at line 41 of file topology_slide.cc.