Blender V2.61 - r43446
Functions | Variables

MOD_cast.c File Reference

#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "BLI_string.h"
#include "BKE_deform.h"
#include "BKE_DerivedMesh.h"
#include "BKE_modifier.h"
#include "depsgraph_private.h"
#include "MOD_util.h"

Go to the source code of this file.

Functions

static void initData (ModifierData *md)
static void copyData (ModifierData *md, ModifierData *target)
static int isDisabled (ModifierData *md, int UNUSED(useRenderParams))
static CustomDataMask requiredDataMask (Object *UNUSED(ob), ModifierData *md)
static void foreachObjectLink (ModifierData *md, Object *ob, void(*walk)(void *userData, Object *ob, Object **obpoin), void *userData)
static void updateDepgraph (ModifierData *md, DagForest *forest, struct Scene *UNUSED(scene), Object *UNUSED(ob), DagNode *obNode)
static void sphere_do (CastModifierData *cmd, Object *ob, DerivedMesh *dm, float(*vertexCos)[3], int numVerts)
static void cuboid_do (CastModifierData *cmd, Object *ob, DerivedMesh *dm, float(*vertexCos)[3], int numVerts)
static void deformVerts (ModifierData *md, Object *ob, DerivedMesh *derivedData, float(*vertexCos)[3], int numVerts, int UNUSED(useRenderParams), int UNUSED(isFinalCalc))
static void deformVertsEM (ModifierData *md, Object *ob, struct EditMesh *editData, DerivedMesh *derivedData, float(*vertexCos)[3], int numVerts)

Variables

ModifierTypeInfo modifierType_Cast

Detailed Description

Definition in file MOD_cast.c.


Function Documentation

static void copyData ( ModifierData md,
ModifierData target 
) [static]
static void cuboid_do ( CastModifierData cmd,
Object ob,
DerivedMesh dm,
float(*)  vertexCos[3],
int  numVerts 
) [static]
static void deformVerts ( ModifierData md,
Object ob,
DerivedMesh derivedData,
float(*)  vertexCos[3],
int  numVerts,
int   UNUSEDuseRenderParams,
int   UNUSEDisFinalCalc 
) [static]
static void deformVertsEM ( ModifierData md,
Object ob,
struct EditMesh editData,
DerivedMesh derivedData,
float(*)  vertexCos[3],
int  numVerts 
) [static]
static void foreachObjectLink ( ModifierData md,
Object ob,
void(*)(void *userData, Object *ob, Object **obpoin)  walk,
void *  userData 
) [static]

Definition at line 105 of file MOD_cast.c.

References CastModifierData::object.

static void initData ( ModifierData md) [static]
static int isDisabled ( ModifierData md,
int   UNUSEDuseRenderParams 
) [static]
static CustomDataMask requiredDataMask ( Object UNUSEDob,
ModifierData md 
) [static]

Definition at line 94 of file MOD_cast.c.

References CD_MASK_MDEFORMVERT, and CastModifierData::defgrp_name.

static void sphere_do ( CastModifierData cmd,
Object ob,
DerivedMesh dm,
float(*)  vertexCos[3],
int  numVerts 
) [static]
static void updateDepgraph ( ModifierData md,
DagForest forest,
struct Scene UNUSEDscene,
Object UNUSEDob,
DagNode obNode 
) [static]

Variable Documentation