Blender  V3.3
MOD_util.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 /* so modifier types match their defines */
10 #include "MOD_modifiertypes.h"
11 
12 #include "DEG_depsgraph_build.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 struct MDeformVert;
19 struct Mesh;
20 struct ModifierData;
21 struct ModifierEvalContext;
22 struct Object;
23 
24 void MOD_init_texture(struct MappingInfoModifierData *dmd, const struct ModifierEvalContext *ctx);
29  const struct ModifierEvalContext *ctx,
30  struct Object *ob,
31  struct Mesh *mesh,
32  float (*cos)[3],
33  float (*r_texco)[3]);
34 
35 void MOD_previous_vcos_store(struct ModifierData *md, const float (*vert_coords)[3]);
36 
40 struct Mesh *MOD_deform_mesh_eval_get(struct Object *ob,
41  struct BMEditMesh *em,
42  struct Mesh *mesh,
43  const float (*vertexCos)[3],
44  int verts_num,
45  bool use_normals,
46  bool use_orco);
47 
48 void MOD_get_vgroup(struct Object *ob,
49  struct Mesh *mesh,
50  const char *name,
51  struct MDeformVert **dvert,
52  int *defgrp_index);
53 
54 void MOD_depsgraph_update_object_bone_relation(struct DepsNodeHandle *node,
55  struct Object *object,
56  const char *bonename,
57  const char *description);
58 
59 #ifdef __cplusplus
60 }
61 #endif
struct Mesh * MOD_deform_mesh_eval_get(struct Object *ob, struct BMEditMesh *em, struct Mesh *mesh, const float(*vertexCos)[3], int verts_num, bool use_normals, bool use_orco)
Definition: MOD_util.c:167
void MOD_get_texture_coords(struct MappingInfoModifierData *dmd, const struct ModifierEvalContext *ctx, struct Object *ob, struct Mesh *mesh, float(*cos)[3], float(*r_texco)[3])
void MOD_previous_vcos_store(struct ModifierData *md, const float(*vert_coords)[3])
Definition: MOD_util.c:153
void MOD_get_vgroup(struct Object *ob, struct Mesh *mesh, const char *name, struct MDeformVert **dvert, int *defgrp_index)
Definition: MOD_util.c:235
void MOD_depsgraph_update_object_bone_relation(struct DepsNodeHandle *node, struct Object *object, const char *bonename, const char *description)
Definition: MOD_util.c:258
void MOD_init_texture(struct MappingInfoModifierData *dmd, const struct ModifierEvalContext *ctx)
OperationNode * node
INLINE Rall1d< T, V, S > cos(const Rall1d< T, V, S > &arg)
Definition: rall1d.h:319
struct MDeformVert * dvert
ustring name
Definition: graph/node.h:174