~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/modifiers/intern/MOD_util.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * $Id: MOD_util.h 28406 2010-04-25 01:10:03Z campbellbarton $
3
 
 *
 
1
/*
4
2
 * ***** BEGIN GPL LICENSE BLOCK *****
5
3
 *
6
4
 * This program is free software; you can redistribute it and/or
7
5
 * modify it under the terms of the GNU General Public License
8
6
 * as published by the Free Software Foundation; either version 2
9
 
 * of the License, or (at your option) any later version. The Blender
10
 
 * Foundation also sells licenses for use in proprietary software under
11
 
 * the Blender License.  See http://www.blender.org/BL/ for information
12
 
 * about this.
 
7
 * of the License, or (at your option) any later version.
13
8
 *
14
 
 * This program is distributed in the hope that it will be useful;
 
9
 * This program is distributed in the hope that it will be useful,
15
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
12
 * GNU General Public License for more details.
18
13
 *
19
14
 * You should have received a copy of the GNU General Public License
20
 
 * along with this program; if not, write to the Free Software Foundation;
21
 
 * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
15
 * along with this program; if not, write to the Free Software Foundation,
 
16
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
17
 *
23
18
 * Contributor(s): Ben Batt
24
19
 *
25
20
 * ***** END GPL LICENSE BLOCK *****
26
21
 */
27
22
 
28
 
#ifndef MOD_UTIL_H
29
 
#define MOD_UTIL_H
30
 
 
31
 
struct Tex;
32
 
struct TexResult;
 
23
/** \file blender/modifiers/intern/MOD_util.h
 
24
 *  \ingroup modifiers
 
25
 */
 
26
 
 
27
 
 
28
#ifndef __MOD_UTIL_H__
 
29
#define __MOD_UTIL_H__
 
30
 
 
31
/* so modifier types match their defines */
 
32
#include "MOD_modifiertypes.h"
 
33
 
33
34
struct CustomData;
34
35
struct DerivedMesh;
 
36
struct MDeformVert;
 
37
struct ModifierData;
35
38
struct Object;
36
39
struct Scene;
37
 
struct EditMesh;
38
 
struct ModifierData;
 
40
struct Tex;
 
41
struct TexResult;
39
42
 
 
43
void modifier_init_texture(struct Scene *scene, struct Tex *texture);
40
44
void get_texture_value(struct Tex *texture, float *tex_co, struct TexResult *texres);
 
45
void get_texture_coords(struct MappingInfoModifierData *dmd, struct Object *ob, struct DerivedMesh *dm, float (*co)[3], float (*texco)[3], int numVerts);
41
46
void modifier_vgroup_cache(struct ModifierData *md, float (*vertexCos)[3]);
42
 
void validate_layer_name(const struct CustomData *data, int type, char *name, char *outname);
43
 
struct DerivedMesh *get_cddm(struct Scene *scene, struct Object *ob, struct EditMesh *em, struct DerivedMesh *dm, float (*vertexCos)[3]);
44
 
struct DerivedMesh *get_dm(struct Scene *scene, struct Object *ob, struct EditMesh *em, struct DerivedMesh *dm, float (*vertexCos)[3], int orco);
45
 
 
46
 
void modifier_type_init(struct ModifierTypeInfo *types[], ModifierType type);
47
 
 
48
 
#endif /* MOD_UTIL_H */
 
47
struct DerivedMesh *get_cddm(struct Object *ob, struct BMEditMesh *em, struct DerivedMesh *dm, float (*vertexCos)[3]);
 
48
struct DerivedMesh *get_dm(struct Object *ob, struct BMEditMesh *em, struct DerivedMesh *dm, float (*vertexCos)[3], int orco);
 
49
void modifier_get_vgroup(struct Object *ob, struct DerivedMesh *dm, const char *name, struct MDeformVert **dvert, int *defgrp_index);
 
50
 
 
51
#endif /* __MOD_UTIL_H__ */