Blender  V3.3
Classes | Namespaces | Functions
curves_sculpt_intern.hh File Reference
#include <optional>
#include "curves_sculpt_intern.h"
#include "paint_intern.h"
#include "BLI_math_vector.hh"
#include "BLI_vector.hh"
#include "BLI_virtual_array.hh"
#include "BKE_attribute.h"
#include "BKE_crazyspace.hh"
#include "BKE_curves.hh"
#include "ED_curves_sculpt.h"

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::StrokeExtension
 
class  blender::ed::sculpt_paint::CurvesSculptStrokeOperation
 
struct  blender::ed::sculpt_paint::CurvesBrush3D
 
class  blender::ed::sculpt_paint::CurvesSculptCommonContext
 

Namespaces

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

Functions

std::unique_ptr< CurvesSculptStrokeOperation > blender::ed::sculpt_paint::new_add_operation ()
 
std::unique_ptr< CurvesSculptStrokeOperation > blender::ed::sculpt_paint::new_comb_operation ()
 
std::unique_ptr< CurvesSculptStrokeOperation > blender::ed::sculpt_paint::new_delete_operation ()
 
std::unique_ptr< CurvesSculptStrokeOperation > blender::ed::sculpt_paint::new_snake_hook_operation ()
 
std::unique_ptr< CurvesSculptStrokeOperation > blender::ed::sculpt_paint::new_grow_shrink_operation (const BrushStrokeMode brush_mode, const bContext &C)
 
std::unique_ptr< CurvesSculptStrokeOperation > blender::ed::sculpt_paint::new_selection_paint_operation (const BrushStrokeMode brush_mode, const bContext &C)
 
std::unique_ptr< CurvesSculptStrokeOperation > blender::ed::sculpt_paint::new_pinch_operation (const BrushStrokeMode brush_mode, const bContext &C)
 
std::unique_ptr< CurvesSculptStrokeOperation > blender::ed::sculpt_paint::new_smooth_operation ()
 
std::unique_ptr< CurvesSculptStrokeOperation > blender::ed::sculpt_paint::new_puff_operation ()
 
std::unique_ptr< CurvesSculptStrokeOperation > blender::ed::sculpt_paint::new_density_operation (const BrushStrokeMode brush_mode, const bContext &C, const StrokeExtension &stroke_start)
 
std::unique_ptr< CurvesSculptStrokeOperation > blender::ed::sculpt_paint::new_slide_operation ()
 
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)
 
Vector< float4x4blender::ed::sculpt_paint::get_symmetry_brush_transforms (const eCurvesSymmetryType symmetry)
 
VArray< floatblender::ed::sculpt_paint::get_curves_selection (const Curves &curves_id)
 
VArray< floatblender::ed::sculpt_paint::get_point_selection (const Curves &curves_id)
 
void blender::ed::sculpt_paint::move_last_point_and_resample (MutableSpan< float3 > positions, const float3 &new_last_position)
 
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)
 
float blender::ed::sculpt_paint::transform_brush_radius (const float4x4 &transform, const float3 &brush_position, const float old_radius)
 
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)
 
* SCULPT_CURVES_OT_brush_stroke
float blender::ed::sculpt_paint::brush_radius_factor (const Brush &brush, const StrokeExtension &stroke_extension)
 
float blender::ed::sculpt_paint::brush_radius_get (const Scene &scene, const Brush &brush, const StrokeExtension &stroke_extension)
 
float blender::ed::sculpt_paint::brush_strength_factor (const Brush &brush, const StrokeExtension &stroke_extension)
 
float blender::ed::sculpt_paint::brush_strength_get (const Scene &scene, const Brush &brush, const StrokeExtension &stroke_extension)