Blender  V2.59
ED_sculpt.h
Go to the documentation of this file.
00001 /*
00002  * $Id: ED_sculpt.h 35016 2011-02-21 07:25:24Z jesterking $
00003  *
00004  * ***** BEGIN GPL LICENSE BLOCK *****
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version. 
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software Foundation,
00018  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00019  *
00020  * The Original Code is Copyright (C) 2008 Blender Foundation.
00021  * All rights reserved.
00022  *
00023  * Contributor(s): Nicholas Bishop
00024  *
00025  * ***** END GPL LICENSE BLOCK *****
00026  */
00027 
00032 #ifndef ED_SCULPT_H
00033 #define ED_SCULPT_H
00034 
00035 struct ARegion;
00036 struct bContext;
00037 struct Object;
00038 struct RegionView3D;
00039 struct wmKeyConfig;
00040 struct wmWindowManager;
00041 
00042 /* sculpt.c */
00043 void ED_operatortypes_sculpt(void);
00044 void sculpt_get_redraw_planes(float planes[4][4], struct ARegion *ar,
00045                                    struct RegionView3D *rv3d, struct Object *ob);
00046 void ED_sculpt_force_update(struct bContext *C);
00047 void ED_sculpt_modifiers_changed(struct Object *ob);
00048 
00049 /* paint_ops.c */
00050 void ED_operatortypes_paint(void);
00051 void ED_keymap_paint(struct wmKeyConfig *keyconf);
00052 
00053 /* paint_undo.c */
00054 #define UNDO_PAINT_IMAGE        0
00055 #define UNDO_PAINT_MESH         1
00056 
00057 int ED_undo_paint_step(struct bContext *C, int type, int step, const char *name);
00058 void ED_undo_paint_free(void);
00059 int ED_undo_paint_valid(int type, const char *name);
00060 
00061 #endif