Blender V5.0
sculpt_trim.cc File Reference
#include "GEO_join_geometries.hh"
#include "GEO_mesh_boolean.hh"
#include "BLI_math_geom.h"
#include "BLI_math_matrix.h"
#include "BLI_math_matrix.hh"
#include "BLI_math_vector.h"
#include "BLI_math_vector.hh"
#include "BLI_polyfill_2d.h"
#include "BKE_brush.hh"
#include "BKE_context.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_mesh.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "DEG_depsgraph.hh"
#include "ED_sculpt.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "bmesh.hh"
#include "paint_intern.hh"
#include "sculpt_face_set.hh"
#include "sculpt_gesture.hh"
#include "sculpt_intern.hh"
#include "sculpt_islands.hh"

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::trim::TrimOperation

Namespaces

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

Enumerations

enum class  blender::ed::sculpt_paint::trim::OperationType { blender::ed::sculpt_paint::trim::Intersect = 0 , blender::ed::sculpt_paint::trim::Difference = 1 , blender::ed::sculpt_paint::trim::Union = 2 , blender::ed::sculpt_paint::trim::Join = 3 }
enum class  blender::ed::sculpt_paint::trim::OrientationType { blender::ed::sculpt_paint::trim::View = 0 , blender::ed::sculpt_paint::trim::Surface = 1 }
enum class  blender::ed::sculpt_paint::trim::ExtrudeMode { blender::ed::sculpt_paint::trim::Project = 0 , blender::ed::sculpt_paint::trim::Fixed = 1 }

Functions

static void blender::ed::sculpt_paint::trim::update_normals (gesture::GestureData &gesture_data)
static void blender::ed::sculpt_paint::trim::get_origin_and_normal (gesture::GestureData &gesture_data, float *r_origin, float *r_normal)
static void blender::ed::sculpt_paint::trim::calculate_depth (gesture::GestureData &gesture_data, float &r_depth_front, float &r_depth_back)
static float blender::ed::sculpt_paint::trim::calc_expand_factor (const gesture::GestureData &gesture_data)
static Array< float2blender::ed::sculpt_paint::trim::gesture_to_screen_points (gesture::GestureData &gesture_data)
static void blender::ed::sculpt_paint::trim::generate_geometry (gesture::GestureData &gesture_data)
static void blender::ed::sculpt_paint::trim::gesture_begin (bContext &C, wmOperator &op, gesture::GestureData &gesture_data)
static void blender::ed::sculpt_paint::trim::apply_join_operation (Object &object, Mesh &sculpt_mesh, Mesh &trim_mesh)
static void blender::ed::sculpt_paint::trim::apply_trim (gesture::GestureData &gesture_data)
static void blender::ed::sculpt_paint::trim::gesture_apply_for_symmetry_pass (bContext &, gesture::GestureData &gesture_data)
static void blender::ed::sculpt_paint::trim::free_geometry (gesture::GestureData &gesture_data)
static void blender::ed::sculpt_paint::trim::gesture_end (bContext &, gesture::GestureData &gesture_data)
static void blender::ed::sculpt_paint::trim::init_operation (gesture::GestureData &gesture_data, wmOperator &op)
static void blender::ed::sculpt_paint::trim::operator_properties (wmOperatorType *ot)
static bool blender::ed::sculpt_paint::trim::can_invoke (const bContext &C)
static void blender::ed::sculpt_paint::trim::report_invalid_mode (const blender::bke::pbvh::Type pbvh_type, ReportList &reports)
static bool blender::ed::sculpt_paint::trim::can_exec (const bContext &C, ReportList &reports)
static void blender::ed::sculpt_paint::trim::initialize_cursor_info (bContext &C, const wmOperator &op, gesture::GestureData &gesture_data)
static wmOperatorStatus blender::ed::sculpt_paint::trim::gesture_box_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::sculpt_paint::trim::gesture_box_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::ed::sculpt_paint::trim::gesture_lasso_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::sculpt_paint::trim::gesture_lasso_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::ed::sculpt_paint::trim::gesture_line_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::sculpt_paint::trim::gesture_line_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::ed::sculpt_paint::trim::gesture_polyline_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::sculpt_paint::trim::gesture_polyline_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::ed::sculpt_paint::trim::SCULPT_OT_trim_lasso_gesture (wmOperatorType *ot)
void blender::ed::sculpt_paint::trim::SCULPT_OT_trim_box_gesture (wmOperatorType *ot)
void blender::ed::sculpt_paint::trim::SCULPT_OT_trim_line_gesture (wmOperatorType *ot)
void blender::ed::sculpt_paint::trim::SCULPT_OT_trim_polyline_gesture (wmOperatorType *ot)

Variables

static EnumPropertyItem blender::ed::sculpt_paint::trim::operation_types []
static EnumPropertyItem blender::ed::sculpt_paint::trim::orientation_types []
static EnumPropertyItem blender::ed::sculpt_paint::trim::extrude_modes []
static const EnumPropertyItem blender::ed::sculpt_paint::trim::solver_items []