Blender V4.3
plane.cc File Reference

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::flatten_cc::LocalData
 

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::flatten_cc
 

Typedefs

using blender::ed::sculpt_paint::flatten_cc::IndexedFilterFn
 
using blender::ed::sculpt_paint::flatten_cc::GenericFilterFn = FunctionRef<void(Span<float3>, const float4 &, MutableSpan<float>)>
 

Functions

static void blender::ed::sculpt_paint::flatten_cc::calc_faces (const Depsgraph &depsgraph, const Sculpt &sd, const Brush &brush, const float4 &plane, const float strength, const MeshAttributeData &attribute_data, const Span< float3 > vert_normals, const bke::pbvh::MeshNode &node, Object &object, LocalData &tls, const PositionDeformData &position_data, const IndexedFilterFn filter)
 
static void blender::ed::sculpt_paint::flatten_cc::calc_grids (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, const float4 &plane, const float strength, bke::pbvh::GridsNode &node, LocalData &tls, const GenericFilterFn filter)
 
static void blender::ed::sculpt_paint::flatten_cc::calc_bmesh (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, const float4 &plane, const float strength, bke::pbvh::BMeshNode &node, LocalData &tls, const GenericFilterFn filter)
 
static void blender::ed::sculpt_paint::flatten_cc::do_plane_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const IndexMask &node_mask, const float direction, const IndexedFilterFn indexed_filter, const GenericFilterFn generic_filter)
 
void blender::ed::sculpt_paint::do_flatten_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const IndexMask &node_mask)
 
void blender::ed::sculpt_paint::do_fill_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const IndexMask &node_mask)
 
void blender::ed::sculpt_paint::do_scrape_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const IndexMask &node_mask)
 

Detailed Description

"Plane" related brushes, all three of these perform a similar displacement with an optional additional filtering step.

Definition in file plane.cc.