Blender V4.3
sculpt_smooth.hh File Reference
#include "BLI_generic_span.hh"
#include "BLI_math_vector.hh"
#include "BLI_offset_indices.hh"
#include "BLI_set.hh"
#include "BKE_subdiv_ccg.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::bke
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::smooth
 

Functions

void blender::ed::sculpt_paint::smooth::bmesh_four_neighbor_average (float avg[3], const float3 &direction, const BMVert *v)
 
void blender::ed::sculpt_paint::smooth::neighbor_color_average (const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_face_map, const GSpan color_attribute, const bke::AttrDomain color_domain, const Span< Vector< int > > vert_neighbors, const MutableSpan< float4 > smooth_colors)
 
void blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_grids (const OffsetIndices< int > faces, const Span< int > corner_verts, const BitSpan boundary_verts, const SubdivCCG &subdiv_ccg, const Span< int > grids, const MutableSpan< float3 > new_positions)
 
void blender::ed::sculpt_paint::smooth::neighbor_position_average_bmesh (const Set< BMVert *, 0 > &verts, const MutableSpan< float3 > new_positions)
 
void blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_bmesh (const Set< BMVert *, 0 > &verts, const MutableSpan< float3 > new_positions)
 
template<typename T >
void blender::ed::sculpt_paint::smooth::neighbor_data_average_mesh (const Span< T > src, const Span< Vector< int > > vert_neighbors, const MutableSpan< T > dst)
 
template<typename T >
void blender::ed::sculpt_paint::smooth::neighbor_data_average_mesh_check_loose (const Span< T > src, const Span< int > verts, const Span< Vector< int > > vert_neighbors, const MutableSpan< T > dst)
 
template<typename T >
void blender::ed::sculpt_paint::smooth::average_data_grids (const SubdivCCG &subdiv_ccg, const Span< T > src, const Span< int > grids, const MutableSpan< T > dst)
 
template<typename T >
void blender::ed::sculpt_paint::smooth::average_data_bmesh (const Span< T > src, const Set< BMVert *, 0 > &verts, const MutableSpan< T > dst)
 
void blender::ed::sculpt_paint::smooth::blur_geometry_data_array (const Object &object, const int iterations, const MutableSpan< float > data)
 
void blender::ed::sculpt_paint::smooth::surface_smooth_laplacian_step (const Span< float3 > positions, const Span< float3 > orig_positions, const Span< float3 > average_positions, const float alpha, MutableSpan< float3 > laplacian_disp, MutableSpan< float3 > translations)
 
void blender::ed::sculpt_paint::smooth::surface_smooth_displace_step (const Span< float3 > laplacian_disp, const Span< float3 > average_laplacian_disp, const float beta, const MutableSpan< float3 > translations)
 
void blender::ed::sculpt_paint::smooth::calc_relaxed_translations_faces (const Span< float3 > vert_positions, const Span< float3 > vert_normals, const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_face_map, const BitSpan boundary_verts, const Span< int > face_sets, const Span< bool > hide_poly, const bool filter_boundary_face_sets, const Span< int > verts, const Span< float > factors, Vector< Vector< int > > &neighbors, const MutableSpan< float3 > translations)
 
void blender::ed::sculpt_paint::smooth::calc_relaxed_translations_grids (const SubdivCCG &subdiv_ccg, const OffsetIndices< int > faces, const Span< int > corner_verts, const Span< int > face_sets, const GroupedSpan< int > vert_to_face_map, const BitSpan boundary_verts, const Span< int > grids, const bool filter_boundary_face_sets, const Span< float > factors, Vector< Vector< SubdivCCGCoord > > &neighbors, const MutableSpan< float3 > translations)
 
void blender::ed::sculpt_paint::smooth::calc_relaxed_translations_bmesh (const Set< BMVert *, 0 > &verts, const Span< float3 > positions, const int face_set_offset, const bool filter_boundary_face_sets, const Span< float > factors, Vector< Vector< BMVert * > > &neighbors, const MutableSpan< float3 > translations)