Blender V4.3
curves_sculpt_brush.cc File Reference
#include <algorithm>
#include "curves_sculpt_intern.hh"
#include "BLI_math_geom.h"
#include "BKE_attribute_math.hh"
#include "BKE_bvhutils.hh"
#include "BKE_context.hh"
#include "BKE_curves.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "ED_view3d.hh"
#include "UI_interface.hh"
#include "BLI_length_parameterize.hh"
#include "BLI_task.hh"
#include "DEG_depsgraph_query.hh"
#include "GEO_curve_constraints.hh"

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::BrushPositionCandidate
 

Namespaces

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

Functions

static std::optional< float3blender::ed::sculpt_paint::find_curves_brush_position (const CurvesGeometry &curves, const float3 &ray_start_cu, const float3 &ray_end_cu, const float brush_radius_re, const ARegion &region, const RegionView3D &rv3d, const Object &object, const Span< float3 > positions)
 
std::optional< CurvesBrush3Dblender::ed::sculpt_paint::sample_curves_3d_brush (const Depsgraph &depsgraph, const ARegion &region, const View3D &v3d, const RegionView3D &rv3d, const Object &curves_object, const float2 &brush_pos_re, const float brush_radius_re)
 
std::optional< CurvesBrush3Dblender::ed::sculpt_paint::sample_curves_surface_3d_brush (const Depsgraph &depsgraph, const ARegion &region, const View3D &v3d, const CurvesSurfaceTransforms &transforms, const BVHTreeFromMesh &surface_bvh, const float2 &brush_pos_re, const float brush_radius_re)
 
Vector< float4x4blender::ed::sculpt_paint::get_symmetry_brush_transforms (const eCurvesSymmetryType symmetry)
 
float blender::ed::sculpt_paint::transform_brush_radius (const float4x4 &transform, const float3 &brush_position, const float old_radius)
 
void blender::ed::sculpt_paint::move_last_point_and_resample (MoveAndResampleBuffers &buffer, MutableSpan< float3 > positions, const float3 &new_last_position)
 
void blender::ed::sculpt_paint::report_empty_original_surface (ReportList *reports)
 
void blender::ed::sculpt_paint::report_empty_evaluated_surface (ReportList *reports)
 
void blender::ed::sculpt_paint::report_missing_surface (ReportList *reports)
 
void blender::ed::sculpt_paint::report_missing_uv_map_on_original_surface (ReportList *reports)
 
void blender::ed::sculpt_paint::report_missing_uv_map_on_evaluated_surface (ReportList *reports)
 
void blender::ed::sculpt_paint::report_invalid_uv_map (ReportList *reports)