Blender
V3.3
|
Functions for dealing with object face-maps. More...
Go to the source code of this file.
Functions | |
struct bFaceMap * | BKE_object_facemap_add (struct Object *ob) |
struct bFaceMap * | BKE_object_facemap_add_name (struct Object *ob, const char *name) |
void | BKE_object_facemap_remove (struct Object *ob, struct bFaceMap *fmap) |
void | BKE_object_facemap_clear (struct Object *ob) |
int | BKE_object_facemap_name_index (struct Object *ob, const char *name) |
void | BKE_object_facemap_unique_name (struct Object *ob, struct bFaceMap *fmap) |
struct bFaceMap * | BKE_object_facemap_find_name (struct Object *ob, const char *name) |
void | BKE_object_facemap_copy_list (struct ListBase *outbase, const struct ListBase *inbase) |
int * | BKE_object_facemap_index_map_create (struct Object *ob_src, struct Object *ob_dst, int *r_map_len) |
void | BKE_object_facemap_index_map_apply (int *fmap, int fmap_len, const int *map, int map_len) |
Functions for dealing with object face-maps.
Definition in file BKE_object_facemap.h.
Definition at line 114 of file object_facemap.c.
References BKE_object_facemap_add_name(), and DATA_.
Referenced by face_map_add_exec().
Definition at line 93 of file object_facemap.c.
References Object::actfmap, BKE_object_facemap_unique_name(), BLI_addtail(), BLI_listbase_count(), BLI_strncpy(), Object::fmaps, MEM_callocN, bFaceMap::name, NULL, OB_MESH, and Object::type.
Referenced by BKE_object_facemap_add().
Definition at line 218 of file object_facemap.c.
References Object::actfmap, BKE_object_is_in_editmode_vgroup(), CD_FACEMAP, CustomData_free_layer(), Object::data, ListBase::first, fmap_remove_exec(), Object::fmaps, if(), bFaceMap::next, OB_MESH, Mesh::pdata, Mesh::totpoly, and Object::type.
Referenced by object_copy_data().
Definition at line 244 of file object_facemap.c.
References BLI_findstring(), and Object::fmaps.
Referenced by ED_mesh_join_objects_exec().
void BKE_object_facemap_index_map_apply | ( | int * | fmap, |
int | fmap_len, | ||
const int * | map, | ||
int | map_len | ||
) |
Definition at line 277 of file object_facemap.c.
Referenced by join_mesh_single().
int* BKE_object_facemap_index_map_create | ( | struct Object * | ob_src, |
struct Object * | ob_dst, | ||
int * | r_map_len | ||
) |
Definition at line 249 of file object_facemap.c.
References BKE_object_facemap_name_index(), BLI_listbase_count(), BLI_listbase_is_empty(), ListBase::first, Object::fmaps, MEM_freeN, MEM_malloc_arrayN, Node::name, and NULL.
Referenced by join_mesh_single().
int BKE_object_facemap_name_index | ( | struct Object * | ob, |
const char * | name | ||
) |
Definition at line 239 of file object_facemap.c.
References BLI_findstringindex(), and Object::fmaps.
Referenced by BKE_object_facemap_index_map_create().
Definition at line 213 of file object_facemap.c.
References BKE_object_is_in_editmode(), and fmap_remove_exec().
Referenced by face_map_remove_exec().
Definition at line 81 of file object_facemap.c.
References BLI_uniquename_cb(), data, DATA_, fmap_unique_check(), and bFaceMap::name.
Referenced by BKE_object_facemap_add_name().