Blender V5.3
uvedit_islands.cc File Reference
#include "BLI_listbase.hh"
#include "BLI_math_vector_c.hh"
#include "BKE_editmesh.hh"
#include "DNA_image_types.h"
#include "ED_uvedit.hh"

Go to the source code of this file.

Classes

struct  blender::SharedUVLoopData

Namespaces

namespace  blender
 BMesh Iterators.

Functions

UDIM packing helper functions
bool blender::uv_coords_isect_udim (const Image *image, const int udim_grid[2], const float coords[2])
Calculate UV Islands
static bool blender::bm_loop_uv_shared_edge_check (const BMLoop *l_a, const BMLoop *l_b, void *user_data)
static bool blender::uvedit_is_face_affected_for_calc_uv_islands (const Scene *scene, const BMesh *bm, BMFace *efa, const bool only_selected_faces, const bool only_selected_uvs)
int blender::bm_mesh_calc_uv_islands (const Scene *scene, BMesh *bm, ListBaseT< FaceIsland > *island_list, const bool only_selected_faces, const bool only_selected_uvs, const bool use_seams, const float aspect_y, const BMUVOffsets &offsets)

Detailed Description

Utilities for manipulating UV islands.

Note
This is similar to GEO_uv_parametrizer.hh, however the data structures there don't support arbitrary topology such as an edge with 3 or more faces using it. This API uses #BMesh data structures and doesn't have limitations for manifold meshes.

Definition in file uvedit_islands.cc.