Blender V2.61 - r43446
Functions

BKE_group.h File Reference

Go to the source code of this file.

Functions

void free_group_objects (struct Group *group)
void unlink_group (struct Group *group)
struct Groupadd_group (const char *name)
struct Groupcopy_group (struct Group *group)
int add_to_group (struct Group *group, struct Object *ob, struct Scene *scene, struct Base *base)
int rem_from_group (struct Group *group, struct Object *ob, struct Scene *scene, struct Base *base)
struct Groupfind_group (struct Object *ob, struct Group *group)
int object_in_group (struct Object *ob, struct Group *group)
int group_is_animated (struct Object *parent, struct Group *group)
void group_tag_recalc (struct Group *group)
void group_handle_recalc_and_update (struct Scene *scene, struct Object *parent, struct Group *group)

Detailed Description

Since:
March 2001
Author:
nzc

Definition in file BKE_group.h.


Function Documentation

struct Group* add_group ( const char *  name) [read]

Definition at line 141 of file group.c.

References alloc_libblock(), G, ID_GR, and Group::layer.

Referenced by group_add_exec(), and group_create_exec().

int add_to_group ( struct Group group,
struct Object ob,
struct Scene scene,
struct Base base 
)
struct Group* copy_group ( struct Group group) [read]

Definition at line 150 of file group.c.

References BLI_duplicatelist(), Group::gobject, and MEM_dupallocN().

Referenced by id_copy().

struct Group* find_group ( struct Object ob,
struct Group group 
) [read]

Definition at line 254 of file group.c.

References G, Group::id, ID::next, NULL, and object_in_group().

Referenced by group_objects_remove_exec(), rem_from_group(), and unlink_group().

void free_group_objects ( struct Group group)

Definition at line 64 of file group.c.

References BLI_remlink(), ListBase::first, free_group_object(), and Group::gobject.

Referenced by free_libblock(), and unlink_group().

void group_handle_recalc_and_update ( struct Scene scene,
struct Object parent,
struct Group group 
)
int group_is_animated ( struct Object parent,
struct Group group 
)

Referenced by group_duplilist().

void group_tag_recalc ( struct Group group)
int object_in_group ( struct Object ob,
struct Group group 
)
int rem_from_group ( struct Group group,
struct Object ob,
struct Scene scene,
struct Base base 
)
void unlink_group ( struct Group group)