|
Blender V5.3
|
#include <ED_uvedit.hh>
Inherits blender::blender::NonCopyable.
Public Member Functions | |
| UVSyncSelectFromMesh (BMesh &bm, char uv_sticky) | |
| UVSyncSelectFromMesh (const UVSyncSelectFromMesh &)=delete | |
| void | apply () |
| void | vert_select_enable (BMVert *v) |
| void | edge_select_enable (BMEdge *f) |
| void | face_select_enable (BMFace *f) |
| void | vert_select_disable (BMVert *v) |
| void | edge_select_disable (BMEdge *f) |
| void | face_select_disable (BMFace *f) |
| void | vert_select_set (BMVert *v, bool value) |
| void | edge_select_set (BMEdge *f, bool value) |
| void | face_select_set (BMFace *f, bool value) |
Static Public Member Functions | |
| static std::unique_ptr< UVSyncSelectFromMesh > | create_if_needed (const ToolSettings &ts, BMesh &bm) |
Abstract away the details of syncing selection from the mesh (viewport) to a UV state which is "synchronized".
Where practical (see note below) this is a preferred alternative to clearing the UV selection state and re-initializing it from the mesh, because there may be UV's selected on one UV island and not another, even though the vertices are shared. Flushing and re-initializing will set both, losing the users selection.
Note that what is considered practical is open to interpretation, picking individual elements and basic selection actions should be supported. Selection actions such as random or by vertex group... isn't so practical.
Definition at line 108 of file ED_uvedit.hh.
|
inline |
Definition at line 122 of file ED_uvedit.hh.
|
delete |
Definition at line 1910 of file uvedit_select.cc.
|
static |
Definition at line 1891 of file uvedit_select.cc.
Referenced by blender::do_lasso_select_mesh(), blender::do_mesh_box_select(), and blender::mesh_circle_select().
Definition at line 1949 of file uvedit_select.cc.
Definition at line 1934 of file uvedit_select.cc.
| void blender::ed::uv::UVSyncSelectFromMesh::edge_select_set | ( | BMEdge * | f, |
| bool | value ) |
Definition at line 1969 of file uvedit_select.cc.
Definition at line 1953 of file uvedit_select.cc.
Definition at line 1938 of file uvedit_select.cc.
| void blender::ed::uv::UVSyncSelectFromMesh::face_select_set | ( | BMFace * | f, |
| bool | value ) |
Definition at line 1978 of file uvedit_select.cc.
Definition at line 1945 of file uvedit_select.cc.
Definition at line 1930 of file uvedit_select.cc.
| void blender::ed::uv::UVSyncSelectFromMesh::vert_select_set | ( | BMVert * | v, |
| bool | value ) |
Definition at line 1960 of file uvedit_select.cc.