Blender V2.61 - r43446

object_intern.h

Go to the documentation of this file.
00001 /*
00002  * ***** BEGIN GPL LICENSE BLOCK *****
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version. 
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software Foundation,
00016  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00017  *
00018  * The Original Code is Copyright (C) 2008 Blender Foundation.
00019  * All rights reserved.
00020  *
00021  * 
00022  * Contributor(s): Blender Foundation
00023  *
00024  * ***** END GPL LICENSE BLOCK *****
00025  */
00026 
00031 #ifndef ED_OBJECT_INTERN_H
00032 #define ED_OBJECT_INTERN_H
00033 
00034 struct wmOperatorType;
00035 struct KeyBlock;
00036 struct Lattice;
00037 struct Curve;
00038 struct Object;
00039 struct Mesh;
00040 struct HookModifierData;
00041 
00042 /* add hook menu */
00043 enum {
00044     OBJECT_ADDHOOK_NEWOB = 1,
00045     OBJECT_ADDHOOK_SELOB,
00046 } eObject_Hook_Add_Mode;
00047 
00048 /* internal exports only */
00049 
00050 /* object_transform.c */
00051 void OBJECT_OT_location_clear(struct wmOperatorType *ot);
00052 void OBJECT_OT_rotation_clear(struct wmOperatorType *ot);
00053 void OBJECT_OT_scale_clear(struct wmOperatorType *ot);
00054 void OBJECT_OT_origin_clear(struct wmOperatorType *ot);
00055 void OBJECT_OT_visual_transform_apply(struct wmOperatorType *ot);
00056 void OBJECT_OT_transform_apply(struct wmOperatorType *ot);
00057 void OBJECT_OT_origin_set(struct wmOperatorType *ot);
00058 
00059 /* object_relations.c */
00060 void OBJECT_OT_parent_set(struct wmOperatorType *ot);
00061 void OBJECT_OT_parent_no_inverse_set(struct wmOperatorType *ot);
00062 void OBJECT_OT_parent_clear(struct wmOperatorType *ot);
00063 void OBJECT_OT_vertex_parent_set(struct wmOperatorType *ot);
00064 void OBJECT_OT_track_set(struct wmOperatorType *ot);
00065 void OBJECT_OT_track_clear(struct wmOperatorType *ot);
00066 void OBJECT_OT_slow_parent_set(struct wmOperatorType *ot);
00067 void OBJECT_OT_slow_parent_clear(struct wmOperatorType *ot);
00068 void OBJECT_OT_make_local(struct wmOperatorType *ot);
00069 void OBJECT_OT_make_single_user(struct wmOperatorType *ot);
00070 void OBJECT_OT_make_links_scene(struct wmOperatorType *ot);
00071 void OBJECT_OT_make_links_data(struct wmOperatorType *ot);
00072 void OBJECT_OT_move_to_layer(struct wmOperatorType *ot);
00073 void OBJECT_OT_drop_named_material(struct wmOperatorType *ot);
00074 
00075 /* object_edit.c */
00076 void OBJECT_OT_mode_set(struct wmOperatorType *ot);
00077 void OBJECT_OT_editmode_toggle(struct wmOperatorType *ot);
00078 void OBJECT_OT_posemode_toggle(struct wmOperatorType *ot);
00079 void OBJECT_OT_hide_view_set(struct wmOperatorType *ot);
00080 void OBJECT_OT_hide_view_clear(struct wmOperatorType *ot);
00081 void OBJECT_OT_hide_render_set(struct wmOperatorType *ot);
00082 void OBJECT_OT_hide_render_clear(struct wmOperatorType *ot);
00083 void OBJECT_OT_proxy_make(struct wmOperatorType *ot);
00084 void OBJECT_OT_shade_smooth(struct wmOperatorType *ot);
00085 void OBJECT_OT_shade_flat(struct wmOperatorType *ot);
00086 void OBJECT_OT_paths_calculate(struct wmOperatorType *ot);
00087 void OBJECT_OT_paths_clear(struct wmOperatorType *ot);
00088 void OBJECT_OT_forcefield_toggle(struct wmOperatorType *ot);
00089 
00090 void OBJECT_OT_game_property_new(struct wmOperatorType *ot);
00091 void OBJECT_OT_game_property_remove(struct wmOperatorType *ot);
00092 void OBJECT_OT_game_property_copy(struct wmOperatorType *ot);
00093 void OBJECT_OT_game_property_clear(struct wmOperatorType *ot);
00094 void OBJECT_OT_logic_bricks_copy(struct wmOperatorType *ot);
00095 void OBJECT_OT_game_physics_copy(struct wmOperatorType *ot);
00096 
00097 /* object_select.c */
00098 void OBJECT_OT_select_all(struct wmOperatorType *ot);
00099 void OBJECT_OT_select_random(struct wmOperatorType *ot);
00100 void OBJECT_OT_select_by_type(struct wmOperatorType *ot);
00101 void OBJECT_OT_select_by_layer(struct wmOperatorType *ot);
00102 void OBJECT_OT_select_linked(struct wmOperatorType *ot);
00103 void OBJECT_OT_select_grouped(struct wmOperatorType *ot);
00104 void OBJECT_OT_select_mirror(struct wmOperatorType *ot);
00105 void OBJECT_OT_select_same_group(struct wmOperatorType *ot);
00106 
00107 /* object_add.c */
00108 void OBJECT_OT_add(struct wmOperatorType *ot);
00109 void OBJECT_OT_add_named(struct wmOperatorType *ot);
00110 void OBJECT_OT_metaball_add(struct wmOperatorType *ot);
00111 void OBJECT_OT_text_add(struct wmOperatorType *ot);
00112 void OBJECT_OT_armature_add(struct wmOperatorType *ot);
00113 void OBJECT_OT_lamp_add(struct wmOperatorType *ot);
00114 void OBJECT_OT_effector_add(struct wmOperatorType *ot);
00115 void OBJECT_OT_camera_add(struct wmOperatorType *ot);
00116 void OBJECT_OT_speaker_add(struct wmOperatorType *ot);
00117 void OBJECT_OT_group_instance_add(struct wmOperatorType *ot);
00118 
00119 void OBJECT_OT_duplicates_make_real(struct wmOperatorType *ot);
00120 void OBJECT_OT_duplicate(struct wmOperatorType *ot);
00121 void OBJECT_OT_delete(struct wmOperatorType *ot);
00122 void OBJECT_OT_join(struct wmOperatorType *ot);
00123 void OBJECT_OT_join_shapes(struct wmOperatorType *ot);
00124 void OBJECT_OT_convert(struct wmOperatorType *ot);
00125 
00126 /* object_hook.c */
00127 void OBJECT_OT_hook_add_selobj(struct wmOperatorType *ot);
00128 void OBJECT_OT_hook_add_newobj(struct wmOperatorType *ot);
00129 void OBJECT_OT_hook_remove(struct wmOperatorType *ot);
00130 void OBJECT_OT_hook_select(struct wmOperatorType *ot);
00131 void OBJECT_OT_hook_assign(struct wmOperatorType *ot);
00132 void OBJECT_OT_hook_reset(struct wmOperatorType *ot);
00133 void OBJECT_OT_hook_recenter(struct wmOperatorType *ot);
00134 
00135 /* object_lattice.c */
00136 void LATTICE_OT_select_all(struct wmOperatorType *ot);
00137 void LATTICE_OT_make_regular(struct wmOperatorType *ot);
00138 
00139 /* object_group.c */
00140 void GROUP_OT_create(struct wmOperatorType *ot);
00141 void GROUP_OT_objects_remove(struct wmOperatorType *ot);
00142 void GROUP_OT_objects_add_active(struct wmOperatorType *ot);
00143 void GROUP_OT_objects_remove_active(struct wmOperatorType *ot);
00144 
00145 /* object_modifier.c */
00146 void OBJECT_OT_modifier_add(struct wmOperatorType *ot);
00147 void OBJECT_OT_modifier_remove(struct wmOperatorType *ot);
00148 void OBJECT_OT_modifier_move_up(struct wmOperatorType *ot);
00149 void OBJECT_OT_modifier_move_down(struct wmOperatorType *ot);
00150 void OBJECT_OT_modifier_apply(struct wmOperatorType *ot);
00151 void OBJECT_OT_modifier_convert(struct wmOperatorType *ot);
00152 void OBJECT_OT_modifier_copy(struct wmOperatorType *ot);
00153 void OBJECT_OT_multires_subdivide(struct wmOperatorType *ot);
00154 void OBJECT_OT_multires_reshape(struct wmOperatorType *ot);
00155 void OBJECT_OT_multires_higher_levels_delete(struct wmOperatorType *ot);
00156 void OBJECT_OT_multires_base_apply(struct wmOperatorType *ot);
00157 void OBJECT_OT_multires_external_save(struct wmOperatorType *ot);
00158 void OBJECT_OT_multires_external_pack(struct wmOperatorType *ot);
00159 void OBJECT_OT_meshdeform_bind(struct wmOperatorType *ot);
00160 void OBJECT_OT_explode_refresh(struct wmOperatorType *ot);
00161 void OBJECT_OT_ocean_bake(struct wmOperatorType *ot);
00162 
00163 /* object_constraint.c */
00164 void OBJECT_OT_constraint_add(struct wmOperatorType *ot);
00165 void OBJECT_OT_constraint_add_with_targets(struct wmOperatorType *ot);
00166 void POSE_OT_constraint_add(struct wmOperatorType *ot);
00167 void POSE_OT_constraint_add_with_targets(struct wmOperatorType *ot);
00168 
00169 void OBJECT_OT_constraints_copy(struct wmOperatorType *ot);
00170 void POSE_OT_constraints_copy(struct wmOperatorType *ot);
00171 
00172 void OBJECT_OT_constraints_clear(struct wmOperatorType *ot);
00173 void POSE_OT_constraints_clear(struct wmOperatorType *ot);
00174 
00175 void POSE_OT_ik_add(struct wmOperatorType *ot);
00176 void POSE_OT_ik_clear(struct wmOperatorType *ot);
00177 
00178 void CONSTRAINT_OT_delete(struct wmOperatorType *ot);
00179 
00180 void CONSTRAINT_OT_move_up(struct wmOperatorType *ot);
00181 void CONSTRAINT_OT_move_down(struct wmOperatorType *ot);
00182 
00183 void CONSTRAINT_OT_stretchto_reset(struct wmOperatorType *ot);
00184 void CONSTRAINT_OT_limitdistance_reset(struct wmOperatorType *ot);
00185 void CONSTRAINT_OT_childof_set_inverse(struct wmOperatorType *ot);
00186 void CONSTRAINT_OT_childof_clear_inverse(struct wmOperatorType *ot);
00187 void CONSTRAINT_OT_objectsolver_set_inverse(struct wmOperatorType *ot);
00188 void CONSTRAINT_OT_objectsolver_clear_inverse (struct wmOperatorType *ot);
00189 
00190 /* object_vgroup.c */
00191 void OBJECT_OT_vertex_group_add(struct wmOperatorType *ot);
00192 void OBJECT_OT_vertex_group_remove(struct wmOperatorType *ot);
00193 void OBJECT_OT_vertex_group_assign(struct wmOperatorType *ot);
00194 void OBJECT_OT_vertex_group_remove_from(struct wmOperatorType *ot);
00195 void OBJECT_OT_vertex_group_select(struct wmOperatorType *ot);
00196 void OBJECT_OT_vertex_group_deselect(struct wmOperatorType *ot);
00197 void OBJECT_OT_vertex_group_copy_to_linked(struct wmOperatorType *ot);
00198 void OBJECT_OT_vertex_group_copy_to_selected(struct wmOperatorType *ot);
00199 void OBJECT_OT_vertex_group_copy(struct wmOperatorType *ot);
00200 void OBJECT_OT_vertex_group_normalize(struct wmOperatorType *ot);
00201 void OBJECT_OT_vertex_group_normalize_all(struct wmOperatorType *ot);
00202 void OBJECT_OT_vertex_group_levels(struct wmOperatorType *ot);
00203 void OBJECT_OT_vertex_group_lock(struct wmOperatorType *ot);
00204 void OBJECT_OT_vertex_group_fix(struct wmOperatorType *ot);
00205 void OBJECT_OT_vertex_group_invert(struct wmOperatorType *ot);
00206 void OBJECT_OT_vertex_group_blend(struct wmOperatorType *ot);
00207 void OBJECT_OT_vertex_group_clean(struct wmOperatorType *ot);
00208 void OBJECT_OT_vertex_group_mirror(struct wmOperatorType *ot);
00209 void OBJECT_OT_vertex_group_set_active(struct wmOperatorType *ot);
00210 void OBJECT_OT_vertex_group_sort(struct wmOperatorType *ot);
00211 void OBJECT_OT_vertex_group_move(struct wmOperatorType *ot);
00212 
00213 /* object_shapekey.c */
00214 void OBJECT_OT_shape_key_add(struct wmOperatorType *ot);
00215 void OBJECT_OT_shape_key_remove(struct wmOperatorType *ot);
00216 void OBJECT_OT_shape_key_clear(struct wmOperatorType *ot);
00217 void OBJECT_OT_shape_key_mirror(struct wmOperatorType *ot);
00218 void OBJECT_OT_shape_key_move(struct wmOperatorType *ot);
00219 
00220 /* object_group.c */
00221 void OBJECT_OT_group_add(struct wmOperatorType *ot);
00222 void OBJECT_OT_group_link(struct wmOperatorType *ot);
00223 void OBJECT_OT_group_remove(struct wmOperatorType *ot);
00224 
00225 /* object_bake.c */
00226 void OBJECT_OT_bake_image(wmOperatorType *ot);
00227 
00228 #endif /* ED_OBJECT_INTERN_H */
00229