Blender V4.3
paint_mask.hh File Reference
#include "BLI_array.hh"
#include "BLI_function_ref.hh"
#include "BLI_index_mask_fwd.hh"
#include "BLI_set.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::bke
 
namespace  blender::bke::pbvh
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::mask
 

Functions

void blender::ed::sculpt_paint::mask::write_mask_mesh (const Depsgraph &depsgraph, Object &object, const IndexMask &node_mask, FunctionRef< void(MutableSpan< float >, Span< int >)> write_fn)
 
Public API
Array< floatblender::ed::sculpt_paint::mask::duplicate_mask (const Object &object)
 
void blender::ed::sculpt_paint::mask::mix_new_masks (const Span< float > new_masks, const Span< float > factors, const MutableSpan< float > masks)
 
void blender::ed::sculpt_paint::mask::clamp_mask (const MutableSpan< float > masks)
 
void blender::ed::sculpt_paint::mask::invert_mask (const MutableSpan< float > masks)
 
void blender::ed::sculpt_paint::mask::gather_mask_grids (const SubdivCCG &subdiv_ccg, const Span< int > grids, const MutableSpan< float > r_mask)
 
void blender::ed::sculpt_paint::mask::gather_mask_bmesh (const BMesh &bm, const Set< BMVert *, 0 > &verts, const MutableSpan< float > r_mask)
 
void blender::ed::sculpt_paint::mask::scatter_mask_grids (const Span< float > mask, SubdivCCG &subdiv_ccg, const Span< int > grids)
 
void blender::ed::sculpt_paint::mask::scatter_mask_bmesh (const Span< float > mask, const BMesh &bm, const Set< BMVert *, 0 > &verts)
 
void blender::ed::sculpt_paint::mask::average_neighbor_mask_bmesh (const int mask_offset, const Set< BMVert *, 0 > &verts, const MutableSpan< float > new_masks)
 
void blender::ed::sculpt_paint::mask::update_mask_mesh (const Depsgraph &depsgraph, Object &object, const IndexMask &node_mask, FunctionRef< void(MutableSpan< float >, Span< int >)> update_fn)
 
bool blender::ed::sculpt_paint::mask::mask_equals_array_grids (const Span< float > masks, const CCGKey &key, const Span< int > grids, const Span< float > values)
 
bool blender::ed::sculpt_paint::mask::mask_equals_array_bmesh (const int mask_offset, const Set< BMVert *, 0 > &verts, const Span< float > values)
 
Global Mask Operators

Operators that act upon the entirety of a given object's mesh.

void blender::ed::sculpt_paint::mask::PAINT_OT_mask_flood_fill (wmOperatorType *ot)
 
Gesture-based Mask Operators

Operators that act upon a user-selected area.

void blender::ed::sculpt_paint::mask::PAINT_OT_mask_lasso_gesture (wmOperatorType *ot)
 
void blender::ed::sculpt_paint::mask::PAINT_OT_mask_box_gesture (wmOperatorType *ot)
 
void blender::ed::sculpt_paint::mask::PAINT_OT_mask_line_gesture (wmOperatorType *ot)
 
void blender::ed::sculpt_paint::mask::PAINT_OT_mask_polyline_gesture (wmOperatorType *ot)