Blender V2.61 - r43446
Functions | Variables

MOD_weightvgmix.c File Reference

#include "BLI_utildefines.h"
#include "BLI_math.h"
#include "BLI_string.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "BKE_cdderivedmesh.h"
#include "BKE_deform.h"
#include "BKE_mesh.h"
#include "BKE_modifier.h"
#include "BKE_texture.h"
#include "depsgraph_private.h"
#include "MEM_guardedalloc.h"
#include "MOD_util.h"
#include "MOD_weightvg_util.h"

Go to the source code of this file.

Functions

static float mix_weight (float weight, float weight2, char mix_mode)
static void initData (ModifierData *md)
static void copyData (ModifierData *md, ModifierData *target)
static CustomDataMask requiredDataMask (Object *UNUSED(ob), ModifierData *md)
static int dependsOnTime (ModifierData *md)
static void foreachObjectLink (ModifierData *md, Object *ob, void(*walk)(void *userData, Object *ob, Object **obpoin), void *userData)
static void foreachIDLink (ModifierData *md, Object *ob, IDWalkFunc walk, void *userData)
static void foreachTexLink (ModifierData *md, Object *ob, TexWalkFunc walk, void *userData)
static void updateDepgraph (ModifierData *md, DagForest *forest, struct Scene *UNUSED(scene), Object *UNUSED(ob), DagNode *obNode)
static int isDisabled (ModifierData *md, int UNUSED(useRenderParams))
static DerivedMeshapplyModifier (ModifierData *md, Object *ob, DerivedMesh *derivedData, int UNUSED(useRenderParams), int UNUSED(isFinalCalc))
static DerivedMeshapplyModifierEM (ModifierData *md, Object *ob, struct EditMesh *UNUSED(editData), DerivedMesh *derivedData)

Variables

ModifierTypeInfo modifierType_WeightVGMix

Detailed Description

Definition in file MOD_weightvgmix.c.


Function Documentation

static DerivedMesh* applyModifier ( ModifierData md,
Object ob,
DerivedMesh derivedData,
int   UNUSEDuseRenderParams,
int   UNUSEDisFinalCalc 
) [static]
static DerivedMesh* applyModifierEM ( ModifierData md,
Object ob,
struct EditMesh UNUSEDeditData,
DerivedMesh derivedData 
) [static]

Definition at line 377 of file MOD_weightvgmix.c.

References applyModifier().

static void copyData ( ModifierData md,
ModifierData target 
) [static]
static int dependsOnTime ( ModifierData md) [static]
static void foreachIDLink ( ModifierData md,
Object ob,
IDWalkFunc  walk,
void *  userData 
) [static]
static void foreachObjectLink ( ModifierData md,
Object ob,
void(*)(void *userData, Object *ob, Object **obpoin)  walk,
void *  userData 
) [static]

Definition at line 171 of file MOD_weightvgmix.c.

References WeightVGMixModifierData::mask_tex_map_obj.

Referenced by foreachIDLink().

static void foreachTexLink ( ModifierData md,
Object ob,
TexWalkFunc  walk,
void *  userData 
) [static]

Definition at line 188 of file MOD_weightvgmix.c.

static void initData ( ModifierData md) [static]
static int isDisabled ( ModifierData md,
int   UNUSEDuseRenderParams 
) [static]

Definition at line 211 of file MOD_weightvgmix.c.

References WeightVGMixModifierData::defgrp_name_a.

static float mix_weight ( float  weight,
float  weight2,
char  mix_mode 
) [static]
static CustomDataMask requiredDataMask ( Object UNUSEDob,
ModifierData md 
) [static]
static void updateDepgraph ( ModifierData md,
DagForest forest,
struct Scene UNUSEDscene,
Object UNUSEDob,
DagNode obNode 
) [static]

Variable Documentation