Blender V4.3
curves_sculpt_ops.cc File Reference
#include "BLI_kdtree.h"
#include "BLI_rand.hh"
#include "BLI_task.hh"
#include "BLI_utildefines.h"
#include "BLI_vector_set.hh"
#include "BKE_attribute.hh"
#include "BKE_brush.hh"
#include "BKE_bvhutils.hh"
#include "BKE_context.hh"
#include "BKE_curves.hh"
#include "BKE_modifier.hh"
#include "BKE_object.hh"
#include "BKE_paint.hh"
#include "BLT_translation.hh"
#include "WM_api.hh"
#include "WM_message.hh"
#include "WM_toolsystem.hh"
#include "ED_curves.hh"
#include "ED_curves_sculpt.hh"
#include "ED_image.hh"
#include "ED_object.hh"
#include "ED_screen.hh"
#include "ED_space_api.hh"
#include "ED_view3d.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_query.hh"
#include "DNA_brush_types.h"
#include "DNA_curves_types.h"
#include "DNA_screen_types.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "curves_sculpt_intern.hh"
#include "paint_intern.hh"
#include "UI_interface.hh"
#include "UI_resources.hh"
#include "GPU_immediate.hh"
#include "GPU_immediate_util.hh"
#include "GPU_matrix.hh"
#include "GPU_state.hh"

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::SculptCurvesBrushStrokeData
 
struct  blender::ed::sculpt_paint::select_grow::GrowOperatorDataPerCurve
 
struct  blender::ed::sculpt_paint::select_grow::GrowOperatorData
 
struct  blender::ed::sculpt_paint::min_distance_edit::MinDistanceEditData
 

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::select_random
 
namespace  blender::ed::sculpt_paint::select_grow
 
namespace  blender::ed::sculpt_paint::min_distance_edit
 

Functions

static int blender::ed::sculpt_paint::select_random::select_random_exec (bContext *C, wmOperator *op)
 
static void blender::ed::sculpt_paint::select_random::select_random_ui (bContext *, wmOperator *op)
 
static void blender::ed::sculpt_paint::SCULPT_CURVES_OT_select_random (wmOperatorType *ot)
 
static void blender::ed::sculpt_paint::select_grow::update_points_selection (const GrowOperatorDataPerCurve &data, const float distance, MutableSpan< float > points_selection)
 
static int blender::ed::sculpt_paint::select_grow::select_grow_update (bContext *C, wmOperator *op, const float mouse_diff_x)
 
static void blender::ed::sculpt_paint::select_grow::select_grow_invoke_per_curve (const Curves &curves_id, const Object &curves_ob, const ARegion &region, const View3D &v3d, const RegionView3D &rv3d, GrowOperatorDataPerCurve &curve_op_data)
 
static int blender::ed::sculpt_paint::select_grow::select_grow_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int blender::ed::sculpt_paint::select_grow::select_grow_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static void blender::ed::sculpt_paint::SCULPT_CURVES_OT_select_grow (wmOperatorType *ot)
 
static bool blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_poll (bContext *C)
 
static int blender::ed::sculpt_paint::min_distance_edit::calculate_points_per_side (bContext *C, MinDistanceEditData &op_data)
 
static void blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_draw (bContext *C, int, int, void *customdata)
 
static int blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static void blender::ed::sculpt_paint::SCULPT_CURVES_OT_min_distance_edit (wmOperatorType *ot)
 
Poll Functions
bool blender::ed::sculpt_paint::curves_sculpt_poll (bContext *C)
 
bool blender::ed::sculpt_paint::curves_sculpt_poll_view3d (bContext *C)
 
Brush Stroke Operator
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)
 
static std::unique_ptr< CurvesSculptStrokeOperationblender::ed::sculpt_paint::start_brush_operation (bContext &C, wmOperator &op, const StrokeExtension &stroke_start)
 
static bool blender::ed::sculpt_paint::stroke_get_location (bContext *C, float out[3], const float mouse[2], bool)
 
static bool blender::ed::sculpt_paint::stroke_test_start (bContext *C, wmOperator *op, const float mouse[2])
 
static void blender::ed::sculpt_paint::stroke_update_step (bContext *C, wmOperator *op, PaintStroke *, PointerRNA *stroke_element)
 
static void blender::ed::sculpt_paint::stroke_done (const bContext *C, PaintStroke *stroke)
 
static int blender::ed::sculpt_paint::sculpt_curves_stroke_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int blender::ed::sculpt_paint::sculpt_curves_stroke_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static void blender::ed::sculpt_paint::sculpt_curves_stroke_cancel (bContext *C, wmOperator *op)
 
static void blender::ed::sculpt_paint::SCULPT_CURVES_OT_brush_stroke (wmOperatorType *ot)
 
Toggle Sculpt Mode
static void blender::ed::sculpt_paint::curves_sculptmode_enter (bContext *C)
 
static void blender::ed::sculpt_paint::curves_sculptmode_exit (bContext *C)
 
static int blender::ed::sculpt_paint::curves_sculptmode_toggle_exec (bContext *C, wmOperator *op)
 
static void blender::ed::sculpt_paint::CURVES_OT_sculptmode_toggle (wmOperatorType *ot)
 
Registration
void ED_operatortypes_sculpt_curves ()
 

Function Documentation

◆ ED_operatortypes_sculpt_curves()

void ED_operatortypes_sculpt_curves ( )

Definition at line 1170 of file curves_sculpt_ops.cc.

References WM_operatortype_append().

Referenced by ED_spacetypes_init().