Blender  V3.3
Classes | Namespaces | Functions
curves_sculpt_brush.cc File Reference
#include <algorithm>
#include "curves_sculpt_intern.hh"
#include "BKE_attribute_math.hh"
#include "BKE_bvhutils.h"
#include "BKE_context.h"
#include "BKE_curves.hh"
#include "BKE_modifier.h"
#include "BKE_object.h"
#include "BKE_report.h"
#include "ED_view3d.h"
#include "UI_interface.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "BLI_enumerable_thread_specific.hh"
#include "BLI_length_parameterize.hh"
#include "BLI_task.hh"
#include "DEG_depsgraph_query.h"
#include "BLT_translation.h"

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::BrushPositionCandidate
 

Namespaces

 blender
 
 blender::ed
 
 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< CurvesBrush3D > blender::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< CurvesBrush3D > blender::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 (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)