Blender V5.0
sculpt_automask.hh File Reference
#include <memory>
#include "BLI_array.hh"
#include "BLI_offset_indices.hh"
#include "BLI_set.hh"
#include "DNA_brush_enums.h"

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::auto_mask::Settings
struct  blender::ed::sculpt_paint::auto_mask::Cache

Namespaces

namespace  blender
namespace  blender::bke
namespace  blender::bke::pbvh
namespace  blender::ed
namespace  blender::ed::sculpt_paint
namespace  blender::ed::sculpt_paint::auto_mask

Functions

const Cacheblender::ed::sculpt_paint::auto_mask::active_cache_get (const SculptSession &ss)
std::unique_ptr< Cacheblender::ed::sculpt_paint::auto_mask::cache_init (const Depsgraph &depsgraph, const Sculpt &sd, const Brush *brush, Object &ob)
Cacheblender::ed::sculpt_paint::auto_mask::filter_cache_ensure (const Depsgraph &depsgraph, const Sculpt &sd, Object &ob)
Cacheblender::ed::sculpt_paint::auto_mask::stroke_cache_ensure (const Depsgraph &depsgraph, const Sculpt &sd, const Brush *brush, Object &ob)
bool blender::ed::sculpt_paint::auto_mask::mode_enabled (const Sculpt &sd, const Brush *br, eAutomasking_flag mode)
bool blender::ed::sculpt_paint::auto_mask::is_enabled (const Sculpt &sd, const Object &object, const Brush *br)
void blender::ed::sculpt_paint::auto_mask::calc_vert_factors (const Depsgraph &depsgraph, const Object &object, const Cache &automasking, const bke::pbvh::MeshNode &node, Span< int > verts, MutableSpan< float > factors)
void blender::ed::sculpt_paint::auto_mask::calc_vert_factors (const Depsgraph &depsgraph, const Object &object, const Cache *cache, const bke::pbvh::MeshNode &node, Span< int > verts, MutableSpan< float > factors)
void blender::ed::sculpt_paint::auto_mask::calc_grids_factors (const Depsgraph &depsgraph, const Object &object, const Cache &automasking, const bke::pbvh::GridsNode &node, Span< int > grids, MutableSpan< float > factors)
void blender::ed::sculpt_paint::auto_mask::calc_grids_factors (const Depsgraph &depsgraph, const Object &object, const Cache *cache, const bke::pbvh::GridsNode &node, Span< int > grids, MutableSpan< float > factors)
void blender::ed::sculpt_paint::auto_mask::calc_vert_factors (const Depsgraph &depsgraph, const Object &object, const Cache &automasking, const bke::pbvh::BMeshNode &node, const Set< BMVert *, 0 > &verts, MutableSpan< float > factors)
void blender::ed::sculpt_paint::auto_mask::calc_vert_factors (const Depsgraph &depsgraph, const Object &object, const Cache *cache, const bke::pbvh::BMeshNode &node, const Set< BMVert *, 0 > &verts, MutableSpan< float > factors)
void blender::ed::sculpt_paint::auto_mask::calc_face_factors (const Depsgraph &depsgraph, const Object &object, OffsetIndices< int > faces, Span< int > corner_verts, const Cache &automasking, const bke::pbvh::MeshNode &node, Span< int > face_indices, MutableSpan< float > factors)