|
Blender V4.5
|
#include "editors/sculpt_paint/brushes/brushes.hh"#include "DNA_brush_types.h"#include "DNA_mesh_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "BKE_brush.hh"#include "BKE_mesh.hh"#include "BKE_paint.hh"#include "BKE_paint_bvh.hh"#include "BKE_subdiv_ccg.hh"#include "BLI_enumerable_thread_specific.hh"#include "BLI_math_matrix.hh"#include "BLI_task.hh"#include "editors/sculpt_paint/mesh_brush_common.hh"#include "editors/sculpt_paint/sculpt_automask.hh"#include "editors/sculpt_paint/sculpt_intern.hh"#include "bmesh.hh"Go to the source code of this file.
Classes | |
| struct | blender::ed::sculpt_paint::brushes::plane_cc::LocalData |
Namespaces | |
| namespace | blender |
| namespace | blender::ed |
| namespace | blender::ed::sculpt_paint |
| namespace | blender::ed::sculpt_paint::brushes |
| namespace | blender::ed::sculpt_paint::brushes::plane_cc |
| namespace | blender::ed::sculpt_paint::brushes::plane |
Functions | |
| static void | blender::ed::sculpt_paint::brushes::plane_cc::calc_local_positions (const float4x4 &mat, const Span< int > verts, const Span< float3 > positions, const MutableSpan< float3 > local_positions) |
| static void | blender::ed::sculpt_paint::brushes::plane_cc::calc_local_positions (const float4x4 &mat, const Span< float3 > positions, const MutableSpan< float3 > local_positions) |
| static void | blender::ed::sculpt_paint::brushes::plane_cc::calc_local_distances (const float height, const float depth, const MutableSpan< float3 > local_positions, const MutableSpan< float > distances) |
| static void | blender::ed::sculpt_paint::brushes::plane_cc::scale_factors_by_height_and_depth (const float height, const float depth, const MutableSpan< float3 > local_positions, const MutableSpan< float > factors) |
| static void | blender::ed::sculpt_paint::brushes::plane_cc::calc_translations (const float3 &plane_normal, const float radius, const float strength, const MutableSpan< float3 > local_positions, const MutableSpan< float > factors, const MutableSpan< float3 > r_translations) |
| static void | blender::ed::sculpt_paint::brushes::plane_cc::calc_faces (const Depsgraph &depsgraph, const Sculpt &sd, const Brush &brush, const float4x4 &mat, const float3 &plane_normal, const float strength, const float height, const float depth, const MeshAttributeData &attribute_data, const Span< float3 > vert_normals, const bke::pbvh::MeshNode &node, Object &object, LocalData &tls, const PositionDeformData &position_data) |
| static void | blender::ed::sculpt_paint::brushes::plane_cc::calc_grids (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, const float4x4 &mat, const float3 &plane_normal, const float strength, const float height, const float depth, bke::pbvh::GridsNode &node, LocalData &tls) |
| static void | blender::ed::sculpt_paint::brushes::plane_cc::calc_bmesh (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, const float4x4 &mat, const float3 &plane_normal, const float strength, const float height, const float depth, bke::pbvh::BMeshNode &node, LocalData &tls) |
| void | blender::ed::sculpt_paint::brushes::do_plane_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const IndexMask &node_mask, const float3 &plane_normal, const float3 &plane_center) |
| CursorSampleResult | blender::ed::sculpt_paint::brushes::plane::calc_node_mask (const Depsgraph &depsgraph, Object &ob, const Brush &brush, IndexMaskMemory &memory) |
The Plane brush translates the vertices towards the brush plane. The vertices are displaced along the direction parallel to the normal of the plane.
The z-distances of the vertices are affected by two parameters:
Invert Modes:
Definition in file plane.cc.