Blender V4.3
sculpt_trim.cc File Reference
#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 "DNA_modifier_types.h"
#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 "tools/bmesh_boolean.hh"
#include "tools/bmesh_intersect.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 }
 
enum class  blender::ed::sculpt_paint::trim::SolverMode { blender::ed::sculpt_paint::trim::Exact = 0 , blender::ed::sculpt_paint::trim::Fast = 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 int blender::ed::sculpt_paint::trim::bm_face_isect_pair (BMFace *f, void *)
 
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 int blender::ed::sculpt_paint::trim::gesture_box_exec (bContext *C, wmOperator *op)
 
static int blender::ed::sculpt_paint::trim::gesture_box_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int blender::ed::sculpt_paint::trim::gesture_lasso_exec (bContext *C, wmOperator *op)
 
static int blender::ed::sculpt_paint::trim::gesture_lasso_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int blender::ed::sculpt_paint::trim::gesture_line_exec (bContext *C, wmOperator *op)
 
static int blender::ed::sculpt_paint::trim::gesture_line_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int blender::ed::sculpt_paint::trim::gesture_polyline_exec (bContext *C, wmOperator *op)
 
static int 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 EnumPropertyItem blender::ed::sculpt_paint::trim::solver_modes []