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

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

 blender
 
 blender::ed
 
 blender::ed::sculpt_paint
 
 blender::ed::sculpt_paint::select_random
 
 blender::ed::sculpt_paint::select_end
 
 blender::ed::sculpt_paint::select_grow
 
 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 *UNUSED(C), wmOperator *op)
 
static void blender::ed::sculpt_paint::SCULPT_CURVES_OT_select_random (wmOperatorType *ot)
 
static bool blender::ed::sculpt_paint::select_end::select_end_poll (bContext *C)
 
static int blender::ed::sculpt_paint::select_end::select_end_exec (bContext *C, wmOperator *op)
 
static void blender::ed::sculpt_paint::SCULPT_CURVES_OT_select_end (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 (Curves &curves_id, 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 UNUSED(x), int UNUSED(y), 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 CURVES_SCULPT_mode_poll (bContext *C)
 
bool CURVES_SCULPT_mode_poll_view3d (bContext *C)
 
* 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)
 
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 UNUSED(force_original))
 
static bool blender::ed::sculpt_paint::stroke_test_start (bContext *C, struct wmOperator *op, const float mouse[2])
 
static void blender::ed::sculpt_paint::stroke_update_step (bContext *C, wmOperator *op, PaintStroke *UNUSED(stroke), 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 (struct wmOperatorType *ot)
 
* CURVES_OT_sculptmode_toggle
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

◆ CURVES_SCULPT_mode_poll()

bool CURVES_SCULPT_mode_poll ( bContext C)

◆ CURVES_SCULPT_mode_poll_view3d()

bool CURVES_SCULPT_mode_poll_view3d ( bContext C)

◆ ED_operatortypes_sculpt_curves()

void ED_operatortypes_sculpt_curves ( void  )