Blender V2.61 - r43446
Functions | Variables

BKE_key.h File Reference

Go to the source code of this file.

Functions

void free_key (struct Key *sc)
struct Keyadd_key (struct ID *id)
struct Keycopy_key (struct Key *key)
void make_local_key (struct Key *key)
void sort_keys (struct Key *key)
void key_curve_position_weights (float t, float *data, int type)
void key_curve_tangent_weights (float t, float *data, int type)
void key_curve_normal_weights (float t, float *data, int type)
float * do_ob_key (struct Scene *scene, struct Object *ob)
struct Keyob_get_key (struct Object *ob)
struct KeyBlockadd_keyblock (struct Key *key, const char *name)
struct KeyBlockob_get_keyblock (struct Object *ob)
struct KeyBlockob_get_reference_keyblock (struct Object *ob)
struct KeyBlockkey_get_keyblock (struct Key *key, int index)
struct KeyBlockkey_get_named_keyblock (struct Key *key, const char name[])
char * key_get_curValue_rnaPath (struct Key *key, struct KeyBlock *kb)
void do_rel_key (const int start, int end, const int tot, char *basispoin, struct Key *key, struct KeyBlock *actkb, const int mode)
void key_to_mesh (struct KeyBlock *kb, struct Mesh *me)
void mesh_to_key (struct Mesh *me, struct KeyBlock *kb)
void key_to_latt (struct KeyBlock *kb, struct Lattice *lt)
void latt_to_key (struct Lattice *lt, struct KeyBlock *kb)
void key_to_curve (struct KeyBlock *kb, struct Curve *cu, struct ListBase *nurb)
void curve_to_key (struct Curve *cu, struct KeyBlock *kb, struct ListBase *nurb)
float(* key_to_vertcos (struct Object *ob, struct KeyBlock *kb))[3]
void vertcos_to_key (struct Object *ob, struct KeyBlock *kb, float(*vertCos)[3])
void offset_to_key (struct Object *ob, struct KeyBlock *kb, float(*ofs)[3])

Variables

int slurph_opt

Detailed Description

Since:
March 2001
Author:
nzc

Definition in file BKE_key.h.


Function Documentation

struct Key* add_key ( struct ID id) [read]
struct KeyBlock* add_keyblock ( struct Key key,
const char *  name 
) [read]
struct Key* copy_key ( struct Key key) [read]
void curve_to_key ( struct Curve cu,
struct KeyBlock kb,
struct ListBase nurb 
)
float* do_ob_key ( struct Scene scene,
struct Object ob 
)
void do_rel_key ( const int  start,
int  end,
const int  tot,
char *  basispoin,
struct Key key,
struct KeyBlock actkb,
const int  mode 
)
void free_key ( struct Key sc)
void key_curve_normal_weights ( float  t,
float *  data,
int  type 
)

Definition at line 324 of file key.c.

References KEY_BSPLINE, KEY_CARDINAL, and KEY_LINEAR.

void key_curve_position_weights ( float  t,
float *  data,
int  type 
)
void key_curve_tangent_weights ( float  t,
float *  data,
int  type 
)

Definition at line 294 of file key.c.

References KEY_BSPLINE, KEY_CARDINAL, and KEY_LINEAR.

Referenced by strand_eval_point(), and where_on_path().

char* key_get_curValue_rnaPath ( struct Key key,
struct KeyBlock kb 
)
struct KeyBlock* key_get_keyblock ( struct Key key,
int  index 
) [read]

Definition at line 1502 of file key.c.

References Key::block, ListBase::first, i, KeyBlock::next, NULL, and Key::totkey.

Referenced by get_orco_coords_dm().

struct KeyBlock* key_get_named_keyblock ( struct Key key,
const char  name[] 
) [read]

Definition at line 1522 of file key.c.

References BLI_findstring(), Key::block, and NULL.

Referenced by join_mesh_exec(), and sculpt_undo_restore().

void key_to_curve ( struct KeyBlock kb,
struct Curve cu,
struct ListBase nurb 
)
void key_to_latt ( struct KeyBlock kb,
struct Lattice lt 
)
void key_to_mesh ( struct KeyBlock kb,
struct Mesh me 
)
float(* key_to_vertcos ( struct Object ob,
struct KeyBlock kb 
) )[3]
void latt_to_key ( struct Lattice lt,
struct KeyBlock kb 
)
void make_local_key ( struct Key key)

Definition at line 175 of file key.c.

References Key::id, ID::lib, new_id(), and NULL.

Referenced by id_make_local().

void mesh_to_key ( struct Mesh me,
struct KeyBlock kb 
)
struct Key* ob_get_key ( struct Object ob) [read]
struct KeyBlock* ob_get_keyblock ( struct Object ob) [read]
struct KeyBlock* ob_get_reference_keyblock ( struct Object ob) [read]

Definition at line 1491 of file key.c.

References NULL, ob_get_key(), and Key::refkey.

void offset_to_key ( struct Object ob,
struct KeyBlock kb,
float(*)  ofs[3] 
)
void sort_keys ( struct Key key)
void vertcos_to_key ( struct Object ob,
struct KeyBlock kb,
float(*)  vertCos[3] 
)

Variable Documentation

Definition at line 76 of file key.c.

Referenced by database_fromscene_vectors(), do_curve_key(), do_mesh_key(), and RE_Database_FromScene().