|
Blender V5.3
|
#include "MEM_guardedalloc.h"#include "BLI_ghash.hh"#include "BLI_math_base_safe.hh"#include "BLI_math_geom_c.hh"#include "BLI_math_vector_c.hh"#include "BLI_utildefines.hh"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "BKE_brush.hh"#include "BKE_colortools.hh"#include "BKE_context.hh"#include "BKE_customdata.hh"#include "BKE_editmesh.hh"#include "BKE_image.hh"#include "BKE_mesh_mapping.hh"#include "BKE_paint.hh"#include "DEG_depsgraph.hh"#include "ED_image.hh"#include "ED_mesh.hh"#include "ED_screen.hh"#include "ED_uvedit.hh"#include "WM_api.hh"#include "WM_types.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "paint_intern.hh"#include "uvedit_intern.hh"#include "UI_view2d.hh"Go to the source code of this file.
Classes | |
| struct | blender::Temp_UVData |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | MARK_BOUNDARY 1 |
Functions | |
| static void | blender::apply_sculpt_data_constraints (UvSculptData *sculptdata, float uv[2]) |
| static float | blender::calc_strength (const UvSculptData *sculptdata, float p, const float len) |
| static void | blender::uv_sculpt_stroke_apply (bContext *C, wmOperator *op, const wmEvent *event, Object *obedit) |
| static void | blender::uv_sculpt_stroke_exit (bContext *C, wmOperator *op) |
| static int | blender::uv_element_offset_from_face_get (UvElementMap *map, BMLoop *l, int island_index, const bool do_islands) |
| static uint | blender::uv_edge_hash (const void *key) |
| static bool | blender::uv_edge_compare (const void *a, const void *b) |
| static void | blender::set_element_flag (UvElement *element, const int flag) |
| static UvSculptData * | blender::uv_sculpt_stroke_init (bContext *C, wmOperator *op, const wmEvent *event) |
| static wmOperatorStatus | blender::uv_sculpt_stroke_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| static wmOperatorStatus | blender::uv_sculpt_stroke_modal (bContext *C, wmOperator *op, const wmEvent *event) |
| static void | blender::register_common_props (wmOperatorType *ot) |
| void | blender::SCULPT_OT_uv_sculpt_grab (wmOperatorType *ot) |
| void | blender::SCULPT_OT_uv_sculpt_relax (wmOperatorType *ot) |
| void | blender::SCULPT_OT_uv_sculpt_pinch (wmOperatorType *ot) |
Improved Laplacian Relaxation Operator | |
Original code by Raul Fernandez Hernandez "farsthary" adapted to uv smoothing by Antony Riakiatakis | |
| static void | blender::HC_relaxation_iteration_uv (UvSculptData *sculptdata, const int cd_loop_uv_offset, const float mouse_coord[2], const float alpha, const float radius_sq, const float aspectRatio) |
| static void | blender::laplacian_relaxation_iteration_uv (UvSculptData *sculptdata, const int cd_loop_uv_offset, const float mouse_coord[2], const float alpha, const float radius_sq, const float aspectRatio) |
| static void | blender::add_weighted_edge (float(*delta_buf)[3], const UvElement *storage, const UvElement *ele_next, const UvElement *ele_prev, const float luv_next[2], const float luv_prev[2], const float weight) |
| static float | blender::tri_weight_v3 (int method, const float *v1, const float *v2, const float *v3) |
| static void | blender::relaxation_iteration_uv (UvSculptData *sculptdata, const int cd_loop_uv_offset, const float mouse_coord[2], const float alpha, const float radius_sq, const float aspect_ratio, const int method) |
UV Sculpt tools.
Definition in file sculpt_uv.cc.
| #define MARK_BOUNDARY 1 |
Definition at line 67 of file sculpt_uv.cc.
Referenced by blender::add_weighted_edge(), and blender::uv_sculpt_stroke_init().