Blender V4.3
sculpt_face_set.hh File Reference
#include "BLI_array.hh"
#include "BLI_offset_indices.hh"
#include "BLI_set.hh"
#include "BLI_span.hh"
#include "BKE_attribute.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::face_set
 

Functions

int blender::ed::sculpt_paint::face_set::active_face_set_get (const Object &object)
 
int blender::ed::sculpt_paint::face_set::vert_face_set_get (const GroupedSpan< int > vert_to_face_map, const Span< int > face_sets, const int vert)
 
int blender::ed::sculpt_paint::face_set::vert_face_set_get (const SubdivCCG &subdiv_ccg, const Span< int > face_sets, const int grid)
 
int blender::ed::sculpt_paint::face_set::vert_face_set_get (const int, const BMVert &)
 
bool blender::ed::sculpt_paint::face_set::vert_has_face_set (const GroupedSpan< int > vert_to_face_map, const Span< int > face_sets, const int vert, const int face_set)
 
bool blender::ed::sculpt_paint::face_set::vert_has_face_set (const SubdivCCG &subdiv_ccg, const Span< int > face_sets, const int grid, const int face_set)
 
bool blender::ed::sculpt_paint::face_set::vert_has_face_set (const int face_set_offset, const BMVert &vert, const int face_set)
 
bool blender::ed::sculpt_paint::face_set::vert_has_unique_face_set (const GroupedSpan< int > vert_to_face_map, const Span< int > face_sets, int vert)
 
bool blender::ed::sculpt_paint::face_set::vert_has_unique_face_set (const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_face_map, const Span< int > face_sets, const SubdivCCG &subdiv_ccg, SubdivCCGCoord coord)
 
bool blender::ed::sculpt_paint::face_set::vert_has_unique_face_set (const int, const BMVert &)
 
Public API
bool blender::ed::sculpt_paint::face_set::create_face_sets_mesh (Object &object)
 
bke::SpanAttributeWriter< intblender::ed::sculpt_paint::face_set::ensure_face_sets_mesh (Mesh &mesh)
 
int blender::ed::sculpt_paint::face_set::ensure_face_sets_bmesh (Object &object)
 
Array< intblender::ed::sculpt_paint::face_set::duplicate_face_sets (const Mesh &mesh)
 
void blender::ed::sculpt_paint::face_set::filter_verts_with_unique_face_sets_mesh (const GroupedSpan< int > vert_to_face_map, const Span< int > face_sets, const bool unique, const Span< int > verts, const MutableSpan< float > factors)
 
void blender::ed::sculpt_paint::face_set::filter_verts_with_unique_face_sets_grids (const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_face_map, const Span< int > face_sets, const SubdivCCG &subdiv_ccg, const bool unique, const Span< int > grids, const MutableSpan< float > factors)
 
void blender::ed::sculpt_paint::face_set::filter_verts_with_unique_face_sets_bmesh (int face_set_offset, const bool unique, const Set< BMVert *, 0 > &verts, const MutableSpan< float > factors)
 
Global Mesh Operators

Operators that work on the mesh as a whole.

Set< intblender::ed::sculpt_paint::face_set::gather_hidden_face_sets (const Span< bool > hide_poly, const Span< int > face_sets)