Blender V2.61 - r43446
Defines | Functions

MOD_util.c File Reference

#include <string.h>
#include "DNA_lattice_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "DNA_curve_types.h"
#include "DNA_meshdata_types.h"
#include "BLI_utildefines.h"
#include "BLI_math_vector.h"
#include "BLI_math_matrix.h"
#include "BKE_cdderivedmesh.h"
#include "BKE_deform.h"
#include "BKE_lattice.h"
#include "BKE_mesh.h"
#include "BKE_displist.h"
#include "BKE_modifier.h"
#include "MOD_util.h"
#include "MOD_modifiertypes.h"
#include "MEM_guardedalloc.h"
#include "RE_shader_ext.h"

Go to the source code of this file.

Defines

#define INIT_TYPE(typeName)   (types[eModifierType_##typeName] = &modifierType_##typeName)

Functions

void get_texture_value (Tex *texture, float *tex_co, TexResult *texres)
void get_texture_coords (MappingInfoModifierData *dmd, Object *ob, DerivedMesh *dm, float(*co)[3], float(*texco)[3], int numVerts)
void modifier_vgroup_cache (ModifierData *md, float(*vertexCos)[3])
DerivedMeshget_cddm (Object *ob, struct EditMesh *em, DerivedMesh *dm, float(*vertexCos)[3])
DerivedMeshget_dm (Object *ob, struct EditMesh *em, DerivedMesh *dm, float(*vertexCos)[3], int orco)
void modifier_get_vgroup (Object *ob, DerivedMesh *dm, const char *name, MDeformVert **dvert, int *defgrp_index)
void modifier_type_init (ModifierTypeInfo *types[])

Detailed Description

Definition in file MOD_util.c.


Define Documentation

#define INIT_TYPE (   typeName)    (types[eModifierType_##typeName] = &modifierType_##typeName)

Function Documentation

DerivedMesh* get_cddm ( Object ob,
struct EditMesh em,
DerivedMesh dm,
float(*)  vertexCos[3] 
) [read]
DerivedMesh* get_dm ( Object ob,
struct EditMesh em,
DerivedMesh dm,
float(*)  vertexCos[3],
int  orco 
) [read]
void get_texture_coords ( MappingInfoModifierData dmd,
Object ob,
DerivedMesh dm,
float(*)  co[3],
float(*)  texco[3],
int  numVerts 
)
void get_texture_value ( Tex texture,
float *  tex_co,
TexResult texres 
)
void modifier_get_vgroup ( Object ob,
DerivedMesh dm,
const char *  name,
MDeformVert **  dvert,
int *  defgrp_index 
)
void modifier_type_init ( ModifierTypeInfo types[])

Definition at line 218 of file MOD_util.c.

References Bevel(), Displace, INIT_TYPE, Mask, Mirror(), None, and Warp().

Referenced by modifierType_getInfo().

void modifier_vgroup_cache ( ModifierData md,
float(*)  vertexCos[3] 
)