Blender  V3.3
BKE_object_facemap.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #pragma once
4 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 struct ListBase;
15 struct Object;
16 struct bFaceMap;
17 
18 struct bFaceMap *BKE_object_facemap_add(struct Object *ob);
19 struct bFaceMap *BKE_object_facemap_add_name(struct Object *ob, const char *name);
20 void BKE_object_facemap_remove(struct Object *ob, struct bFaceMap *fmap);
21 void BKE_object_facemap_clear(struct Object *ob);
22 
23 int BKE_object_facemap_name_index(struct Object *ob, const char *name);
24 void BKE_object_facemap_unique_name(struct Object *ob, struct bFaceMap *fmap);
25 struct bFaceMap *BKE_object_facemap_find_name(struct Object *ob, const char *name);
26 void BKE_object_facemap_copy_list(struct ListBase *outbase, const struct ListBase *inbase);
27 
29  struct Object *ob_dst,
30  int *r_map_len);
31 void BKE_object_facemap_index_map_apply(int *fmap, int fmap_len, const int *map, int map_len);
32 
33 #ifdef __cplusplus
34 }
35 #endif
int BKE_object_facemap_name_index(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)
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)
void BKE_object_facemap_unique_name(struct Object *ob, struct bFaceMap *fmap)
struct bFaceMap * BKE_object_facemap_add(struct Object *ob)
struct bFaceMap * BKE_object_facemap_find_name(struct Object *ob, const char *name)
struct bFaceMap * BKE_object_facemap_add_name(struct Object *ob, const char *name)
SocketIndexByIdentifierMap * map
char name[64]