Blender V4.3
sculpt_automask.hh File Reference
#include <memory>
#include "BLI_array.hh"
#include "BLI_bit_vector.hh"
#include "BLI_offset_indices.hh"
#include "BLI_set.hh"
#include "BLI_sys_types.h"
#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, Object &ob)
 
std::unique_ptr< Cacheblender::ed::sculpt_paint::auto_mask::cache_init (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)
 
bool blender::ed::sculpt_paint::auto_mask::needs_normal (const SculptSession &ss, const Sculpt &sd, const Brush *brush)
 
bool blender::ed::sculpt_paint::auto_mask::brush_type_can_reuse_automask (int sculpt_brush_type)
 
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_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 &cache, 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 &cache, 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 &cache, const bke::pbvh::MeshNode &node, Span< int > face_indices, MutableSpan< float > factors)