Blender  V2.59
Defines | Enumerations | Functions | Variables
ED_object.h File Reference

Go to the source code of this file.

Defines

#define EM_FREEDATA   1
#define EM_FREEUNDO   2
#define EM_WAITCURSOR   4
#define EM_DO_UNDO   8
#define EM_IGNORE_LAYER   16

Enumerations

enum  { MODIFIER_APPLY_DATA = 1, MODIFIER_APPLY_SHAPE }

Functions

struct ObjectED_object_active_context (struct bContext *C)
void ED_operatortypes_object (void)
void ED_operatormacros_object (void)
void ED_keymap_object (struct wmKeyConfig *keyconf)
void ED_object_generic_keymap (struct wmKeyConfig *keyconf, struct wmKeyMap *keymap, int do_pet)
void ED_base_object_select (struct Base *base, short mode)
void ED_base_object_activate (struct bContext *C, struct Base *base)
void ED_base_object_free_and_unlink (struct Main *bmain, struct Scene *scene, struct Base *base)
struct BaseED_object_add_duplicate (struct Main *bmain, struct Scene *scene, struct Base *base, int dupflag)
void ED_object_parent (struct Object *ob, struct Object *parent, int type, const char *substr)
void ED_object_toggle_modes (struct bContext *C, int mode)
void ED_object_exit_editmode (struct bContext *C, int flag)
void ED_object_enter_editmode (struct bContext *C, int flag)
void ED_object_location_from_view (struct bContext *C, float *loc)
void ED_object_rotation_from_view (struct bContext *C, float *rot)
void ED_object_base_init_transform (struct bContext *C, struct Base *base, float *loc, float *rot)
float ED_object_new_primitive_matrix (struct bContext *C, struct Object *editob, float *loc, float *rot, float primmat[][4])
void ED_object_add_generic_props (struct wmOperatorType *ot, int do_editmode)
int ED_object_add_generic_invoke (struct bContext *C, struct wmOperator *op, struct wmEvent *event)
int ED_object_add_generic_get_opts (struct bContext *C, struct wmOperator *op, float *loc, float *rot, int *enter_editmode, unsigned int *layer)
struct ObjectED_object_add_type (struct bContext *C, int type, float *loc, float *rot, int enter_editmode, unsigned int layer)
void ED_object_single_users (struct Main *bmain, struct Scene *scene, int full)
void ED_object_single_user (struct Scene *scene, struct Object *ob)
void ED_objects_clear_paths (struct bContext *C)
void ED_objects_recalculate_paths (struct bContext *C, struct Scene *scene)
struct ListBaseget_active_constraints (struct Object *ob)
struct ListBaseget_constraint_lb (struct Object *ob, struct bConstraint *con, struct bPoseChannel **pchan_r)
struct bConstraintget_active_constraint (struct Object *ob)
void object_test_constraints (struct Object *ob)
void ED_object_constraint_set_active (struct Object *ob, struct bConstraint *con)
void ED_object_constraint_update (struct Object *ob)
void ED_object_constraint_dependency_update (struct Main *bmain, struct Scene *scene, struct Object *ob)
int mouse_lattice (struct bContext *C, const int mval[2], int extend)
void undo_push_lattice (struct bContext *C, const char *name)
void ED_setflagsLatt (struct Object *obedit, int flag)
struct ModifierDataED_object_modifier_add (struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, const char *name, int type)
int ED_object_modifier_remove (struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, struct ModifierData *md)
int ED_object_modifier_move_down (struct ReportList *reports, struct Object *ob, struct ModifierData *md)
int ED_object_modifier_move_up (struct ReportList *reports, struct Object *ob, struct ModifierData *md)
int ED_object_modifier_convert (struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, struct ModifierData *md)
int ED_object_modifier_apply (struct ReportList *reports, struct Scene *scene, struct Object *ob, struct ModifierData *md, int mode)
int ED_object_modifier_copy (struct ReportList *reports, struct Object *ob, struct ModifierData *md)

Variables

enum { ... }  eModifier_Apply_Mode

Detailed Description

Definition in file ED_object.h.


Define Documentation

#define EM_DO_UNDO   8
#define EM_FREEDATA   1
#define EM_FREEUNDO   2
#define EM_IGNORE_LAYER   16

Definition at line 96 of file ED_object.h.

Referenced by ED_object_add_type(), ED_object_enter_editmode(), and make_prim_ext().

#define EM_WAITCURSOR   4

Enumeration Type Documentation

anonymous enum
Enumerator:
MODIFIER_APPLY_DATA 
MODIFIER_APPLY_SHAPE 

Definition at line 137 of file ED_object.h.


Function Documentation

void ED_base_object_activate ( struct bContext C,
struct Base base 
)
void ED_base_object_free_and_unlink ( struct Main bmain,
struct Scene scene,
struct Base base 
)
void ED_base_object_select ( struct Base base,
short  mode 
)
void ED_keymap_object ( struct wmKeyConfig keyconf)
struct Object* ED_object_active_context ( struct bContext C) [read]
struct Base* ED_object_add_duplicate ( struct Main bmain,
struct Scene scene,
struct Base base,
int  dupflag 
) [read]
int ED_object_add_generic_get_opts ( struct bContext C,
struct wmOperator op,
float *  loc,
float *  rot,
int *  enter_editmode,
unsigned int *  layer 
)
int ED_object_add_generic_invoke ( struct bContext C,
struct wmOperator op,
struct wmEvent event 
)
void ED_object_add_generic_props ( struct wmOperatorType ot,
int  do_editmode 
)
struct Object* ED_object_add_type ( struct bContext C,
int  type,
float *  loc,
float *  rot,
int  enter_editmode,
unsigned int  layer 
) [read]
void ED_object_base_init_transform ( struct bContext C,
struct Base base,
float *  loc,
float *  rot 
)
void ED_object_constraint_dependency_update ( struct Main bmain,
struct Scene scene,
struct Object ob 
)
void ED_object_constraint_set_active ( struct Object ob,
struct bConstraint con 
)
void ED_object_constraint_update ( struct Object ob)
void ED_object_enter_editmode ( struct bContext C,
int  flag 
)
void ED_object_exit_editmode ( struct bContext C,
int  flag 
)
void ED_object_generic_keymap ( struct wmKeyConfig keyconf,
struct wmKeyMap keymap,
int  do_pet 
)
void ED_object_location_from_view ( struct bContext C,
float *  loc 
)
struct ModifierData* ED_object_modifier_add ( struct ReportList reports,
struct Main bmain,
struct Scene scene,
struct Object ob,
const char *  name,
int  type 
) [read]
int ED_object_modifier_apply ( struct ReportList reports,
struct Scene scene,
struct Object ob,
struct ModifierData md,
int  mode 
)
int ED_object_modifier_convert ( struct ReportList reports,
struct Main bmain,
struct Scene scene,
struct Object ob,
struct ModifierData md 
)

Referenced by modifier_convert_exec().

int ED_object_modifier_copy ( struct ReportList reports,
struct Object ob,
struct ModifierData md 
)

Referenced by modifier_copy_exec().

int ED_object_modifier_move_down ( struct ReportList reports,
struct Object ob,
struct ModifierData md 
)
int ED_object_modifier_move_up ( struct ReportList reports,
struct Object ob,
struct ModifierData md 
)
int ED_object_modifier_remove ( struct ReportList reports,
struct Main bmain,
struct Scene scene,
struct Object ob,
struct ModifierData md 
)
float ED_object_new_primitive_matrix ( struct bContext C,
struct Object editob,
float *  loc,
float *  rot,
float  primmat[][4] 
)
void ED_object_parent ( struct Object ob,
struct Object parent,
int  type,
const char *  substr 
)
void ED_object_rotation_from_view ( struct bContext C,
float *  rot 
)
void ED_object_single_user ( struct Scene scene,
struct Object ob 
)

Definition at line 1407 of file object_relations.c.

References FIRSTBASE, Base::flag, Base::next, NULL, OB_DONE, Base::object, and single_object_users().

Referenced by template_id_cb().

void ED_object_single_users ( struct Main bmain,
struct Scene scene,
int  full 
)
void ED_object_toggle_modes ( struct bContext C,
int  mode 
)
void ED_objects_clear_paths ( struct bContext C)
void ED_objects_recalculate_paths ( struct bContext C,
struct Scene scene 
)
void ED_operatormacros_object ( void  )
void ED_operatortypes_object ( void  )

Definition at line 61 of file object_ops.c.

References CONSTRAINT_OT_childof_clear_inverse(), CONSTRAINT_OT_childof_set_inverse(), CONSTRAINT_OT_delete(), CONSTRAINT_OT_limitdistance_reset(), CONSTRAINT_OT_move_down(), CONSTRAINT_OT_move_up(), CONSTRAINT_OT_stretchto_reset(), GROUP_OT_create(), GROUP_OT_objects_add_active(), GROUP_OT_objects_remove(), GROUP_OT_objects_remove_active(), LATTICE_OT_make_regular(), LATTICE_OT_select_all(), OBJECT_OT_add(), OBJECT_OT_add_named(), OBJECT_OT_armature_add(), OBJECT_OT_bake_image(), OBJECT_OT_camera_add(), OBJECT_OT_constraint_add(), OBJECT_OT_constraint_add_with_targets(), OBJECT_OT_constraints_clear(), OBJECT_OT_constraints_copy(), OBJECT_OT_convert(), OBJECT_OT_delete(), OBJECT_OT_drop_named_material(), OBJECT_OT_duplicate(), OBJECT_OT_duplicates_make_real(), OBJECT_OT_editmode_toggle(), OBJECT_OT_effector_add(), OBJECT_OT_explode_refresh(), OBJECT_OT_forcefield_toggle(), OBJECT_OT_game_property_clear(), OBJECT_OT_game_property_copy(), OBJECT_OT_game_property_new(), OBJECT_OT_game_property_remove(), OBJECT_OT_group_add(), OBJECT_OT_group_instance_add(), OBJECT_OT_group_link(), OBJECT_OT_group_remove(), OBJECT_OT_hide_render_clear(), OBJECT_OT_hide_render_set(), OBJECT_OT_hide_view_clear(), OBJECT_OT_hide_view_set(), OBJECT_OT_hook_add_newobj(), OBJECT_OT_hook_add_selobj(), OBJECT_OT_hook_assign(), OBJECT_OT_hook_recenter(), OBJECT_OT_hook_remove(), OBJECT_OT_hook_reset(), OBJECT_OT_hook_select(), OBJECT_OT_join(), OBJECT_OT_join_shapes(), OBJECT_OT_lamp_add(), OBJECT_OT_location_clear(), OBJECT_OT_logic_bricks_copy(), OBJECT_OT_make_links_data(), OBJECT_OT_make_links_scene(), OBJECT_OT_make_local(), OBJECT_OT_make_single_user(), OBJECT_OT_meshdeform_bind(), OBJECT_OT_metaball_add(), OBJECT_OT_mode_set(), OBJECT_OT_modifier_add(), OBJECT_OT_modifier_apply(), OBJECT_OT_modifier_convert(), OBJECT_OT_modifier_copy(), OBJECT_OT_modifier_move_down(), OBJECT_OT_modifier_move_up(), OBJECT_OT_modifier_remove(), OBJECT_OT_move_to_layer(), OBJECT_OT_multires_base_apply(), OBJECT_OT_multires_external_pack(), OBJECT_OT_multires_external_save(), OBJECT_OT_multires_higher_levels_delete(), OBJECT_OT_multires_reshape(), OBJECT_OT_multires_subdivide(), OBJECT_OT_origin_clear(), OBJECT_OT_origin_set(), OBJECT_OT_parent_clear(), OBJECT_OT_parent_no_inverse_set(), OBJECT_OT_parent_set(), OBJECT_OT_paths_calculate(), OBJECT_OT_paths_clear(), OBJECT_OT_posemode_toggle(), OBJECT_OT_proxy_make(), OBJECT_OT_rotation_clear(), OBJECT_OT_scale_clear(), OBJECT_OT_select_all(), OBJECT_OT_select_by_layer(), OBJECT_OT_select_by_type(), OBJECT_OT_select_grouped(), OBJECT_OT_select_inverse(), OBJECT_OT_select_linked(), OBJECT_OT_select_mirror(), OBJECT_OT_select_name(), OBJECT_OT_select_random(), OBJECT_OT_select_same_group(), OBJECT_OT_shade_flat(), OBJECT_OT_shade_smooth(), OBJECT_OT_shape_key_add(), OBJECT_OT_shape_key_clear(), OBJECT_OT_shape_key_mirror(), OBJECT_OT_shape_key_move(), OBJECT_OT_shape_key_remove(), OBJECT_OT_slow_parent_clear(), OBJECT_OT_slow_parent_set(), OBJECT_OT_text_add(), OBJECT_OT_track_clear(), OBJECT_OT_track_set(), OBJECT_OT_transform_apply(), OBJECT_OT_vertex_group_add(), OBJECT_OT_vertex_group_assign(), OBJECT_OT_vertex_group_blend(), OBJECT_OT_vertex_group_clean(), OBJECT_OT_vertex_group_copy(), OBJECT_OT_vertex_group_copy_to_linked(), OBJECT_OT_vertex_group_copy_to_selected(), OBJECT_OT_vertex_group_deselect(), OBJECT_OT_vertex_group_invert(), OBJECT_OT_vertex_group_levels(), OBJECT_OT_vertex_group_mirror(), OBJECT_OT_vertex_group_move(), OBJECT_OT_vertex_group_normalize(), OBJECT_OT_vertex_group_normalize_all(), OBJECT_OT_vertex_group_remove(), OBJECT_OT_vertex_group_remove_from(), OBJECT_OT_vertex_group_select(), OBJECT_OT_vertex_group_set_active(), OBJECT_OT_vertex_group_sort(), OBJECT_OT_vertex_parent_set(), OBJECT_OT_visual_transform_apply(), POSE_OT_constraint_add(), POSE_OT_constraint_add_with_targets(), POSE_OT_constraints_clear(), POSE_OT_constraints_copy(), POSE_OT_ik_add(), POSE_OT_ik_clear(), and WM_operatortype_append().

Referenced by ED_spacetypes_init().

void ED_setflagsLatt ( struct Object obedit,
int  flag 
)
struct bConstraint* get_active_constraint ( struct Object ob) [read]

Definition at line 140 of file object_constraint.c.

References constraints_get_active(), and get_active_constraints().

struct ListBase* get_active_constraints ( struct Object ob) [read]
struct ListBase* get_constraint_lb ( struct Object ob,
struct bConstraint con,
struct bPoseChannel **  pchan_r 
) [read]
int mouse_lattice ( struct bContext C,
const int  mval[2],
int  extend 
)
void object_test_constraints ( struct Object ob)
void undo_push_lattice ( struct bContext C,
const char *  name 
)

Variable Documentation

enum { ... } eModifier_Apply_Mode