Blender  V3.3
Functions
BKE_object_facemap.h File Reference

Functions for dealing with object face-maps. More...

Go to the source code of this file.

Functions

struct bFaceMapBKE_object_facemap_add (struct Object *ob)
 
struct bFaceMapBKE_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 bFaceMapBKE_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)
 

Detailed Description

Functions for dealing with object face-maps.

Definition in file BKE_object_facemap.h.

Function Documentation

◆ BKE_object_facemap_add()

struct bFaceMap* BKE_object_facemap_add ( struct Object ob)

Definition at line 114 of file object_facemap.c.

References BKE_object_facemap_add_name(), and DATA_.

Referenced by face_map_add_exec().

◆ BKE_object_facemap_add_name()

struct bFaceMap* BKE_object_facemap_add_name ( struct Object ob,
const char *  name 
)

◆ BKE_object_facemap_clear()

void BKE_object_facemap_clear ( struct Object ob)

◆ BKE_object_facemap_copy_list()

void BKE_object_facemap_copy_list ( struct ListBase outbase,
const struct ListBase inbase 
)

Referenced by object_copy_data().

◆ BKE_object_facemap_find_name()

struct bFaceMap* BKE_object_facemap_find_name ( struct Object ob,
const char *  name 
)

Definition at line 244 of file object_facemap.c.

References BLI_findstring(), and Object::fmaps.

Referenced by ED_mesh_join_objects_exec().

◆ BKE_object_facemap_index_map_apply()

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.

References map, and NULL.

Referenced by join_mesh_single().

◆ BKE_object_facemap_index_map_create()

int* BKE_object_facemap_index_map_create ( struct Object ob_src,
struct Object ob_dst,
int *  r_map_len 
)

◆ BKE_object_facemap_name_index()

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().

◆ BKE_object_facemap_remove()

void BKE_object_facemap_remove ( struct Object ob,
struct bFaceMap fmap 
)

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().

◆ BKE_object_facemap_unique_name()

void BKE_object_facemap_unique_name ( struct Object ob,
struct bFaceMap fmap 
)

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().