|
Blender V4.3
|
#include <BKE_mesh_mapping.hh>
Public Attributes | |
| UvElement * | storage |
| int | total_uvs |
| int | total_unique_uvs |
| UvElement ** | vertex |
| UvElement ** | head_table |
| int * | unique_index_table |
| int | total_islands |
| int * | island_indices |
| int * | island_total_uvs |
| int * | island_total_unique_uvs |
UvElementMap is a container for UvElements of a BMesh.
It simplifies access to UV information and ensures the different UV selection modes are respected.
If islands are calculated, it also stores UvElements belonging to the same uv island in sequence and the number of uvs per island.
mutable, as they are created on demand, and never changed after creation. Definition at line 67 of file BKE_mesh_mapping.hh.
| UvElement** UvElementMap::head_table |
If Non-NULL, pointer to local head of each unique UV.
Definition at line 79 of file BKE_mesh_mapping.hh.
Referenced by bm_uv_edge_select_build_islands(), BM_uv_element_map_ensure_head_table(), and BM_uv_element_map_free().
| int* UvElementMap::island_indices |
Array of starting index in storage where each island begins.
Definition at line 87 of file BKE_mesh_mapping.hh.
Referenced by UV_ClipboardBuffer::append(), bm_uv_build_islands(), BM_uv_element_map_free(), build_iso_graph(), iso_index_for_loop(), uvedit_uv_straighten(), and UV_ClipboardBuffer::write_uvs().
| int* UvElementMap::island_total_unique_uvs |
Array of number of unique UVs in each island.
Definition at line 91 of file BKE_mesh_mapping.hh.
Referenced by bm_uv_build_islands(), BM_uv_element_map_free(), build_iso_graph(), find_isomorphism(), UV_ClipboardBuffer::find_isomorphism(), and UV_ClipboardBuffer::write_uvs().
| int* UvElementMap::island_total_uvs |
Array of number of UVs in each island.
Definition at line 89 of file BKE_mesh_mapping.hh.
Referenced by UV_ClipboardBuffer::append(), bm_uv_build_islands(), BM_uv_element_map_free(), build_iso_graph(), uvedit_uv_straighten(), and UV_ClipboardBuffer::write_uvs().
| UvElement* UvElementMap::storage |
UvElement Storage.
Definition at line 69 of file BKE_mesh_mapping.hh.
Referenced by UV_ClipboardBuffer::append(), bm_uv_assign_island(), bm_uv_build_islands(), bm_uv_edge_select_build_islands(), BM_uv_element_get_unique_index(), BM_uv_element_map_create(), BM_uv_element_map_ensure_head_table(), BM_uv_element_map_ensure_unique_index(), BM_uv_element_map_free(), build_iso_graph(), iso_index_for_loop(), relaxation_iteration_uv(), stitch_uv_edge_generate_linked_edges(), uvedit_uv_straighten(), and UV_ClipboardBuffer::write_uvs().
| int UvElementMap::total_islands |
Number of islands, or zero if not calculated.
Definition at line 85 of file BKE_mesh_mapping.hh.
Referenced by UV_ClipboardBuffer::append(), bm_uv_build_islands(), createTransUVs(), goto_next_island(), uv_isolate_selected_islands(), uv_paste_exec(), and uvedit_uv_straighten().
| int UvElementMap::total_unique_uvs |
Total number of unique UVs.
Definition at line 73 of file BKE_mesh_mapping.hh.
Referenced by BM_uv_element_map_create(), and BM_uv_element_map_ensure_unique_index().
| int UvElementMap::total_uvs |
Total number of UVs.
Definition at line 71 of file BKE_mesh_mapping.hh.
Referenced by bm_uv_build_islands(), bm_uv_edge_select_build_islands(), BM_uv_element_map_create(), BM_uv_element_map_ensure_head_table(), BM_uv_element_map_ensure_unique_index(), and relaxation_iteration_uv().
| int* UvElementMap::unique_index_table |
If Non-NULL, pointer to index of each unique UV.
Definition at line 82 of file BKE_mesh_mapping.hh.
Referenced by BM_uv_element_map_ensure_unique_index(), and BM_uv_element_map_free().
| UvElement** UvElementMap::vertex |
If Non-NULL, address UvElements by BM_elem_index_get(BMVert*).
Definition at line 76 of file BKE_mesh_mapping.hh.
Referenced by bm_uv_build_islands(), BM_uv_element_get(), BM_uv_element_get_head(), BM_uv_element_map_create(), and BM_uv_element_map_free().