Blender V2.61 - r43446
|
#include "DNA_scene_types.h"
#include "DNA_object_fluidsim.h"
#include "DNA_object_types.h"
#include "BLI_utildefines.h"
#include "BKE_cdderivedmesh.h"
#include "BKE_modifier.h"
#include "depsgraph_private.h"
#include "MOD_util.h"
#include "MOD_fluidsim_util.h"
#include "MEM_guardedalloc.h"
Go to the source code of this file.
Functions | |
static void | initData (ModifierData *md) |
static void | freeData (ModifierData *md) |
static void | copyData (ModifierData *md, ModifierData *target) |
static DerivedMesh * | applyModifier (ModifierData *md, Object *ob, DerivedMesh *dm, int useRenderParams, int isFinalCalc) |
static void | updateDepgraph (ModifierData *md, DagForest *forest, Scene *scene, Object *ob, DagNode *obNode) |
static int | dependsOnTime (ModifierData *UNUSED(md)) |
Variables | |
ModifierTypeInfo | modifierType_Fluidsim |
Definition in file MOD_fluidsim.c.
static DerivedMesh* applyModifier | ( | ModifierData * | md, |
Object * | ob, | ||
DerivedMesh * | dm, | ||
int | useRenderParams, | ||
int | isFinalCalc | ||
) | [static] |
Definition at line 79 of file MOD_fluidsim.c.
References fluidsimModifier_do(), FluidsimModifierData::fss, initData(), NULL, and ModifierData::scene.
static void copyData | ( | ModifierData * | md, |
ModifierData * | target | ||
) | [static] |
Definition at line 66 of file MOD_fluidsim.c.
References FluidsimModifierData::fss, MEM_dupallocN(), and MEM_freeN().
static int dependsOnTime | ( | ModifierData * | UNUSEDmd | ) | [static] |
Definition at line 131 of file MOD_fluidsim.c.
static void freeData | ( | ModifierData * | md | ) | [static] |
Definition at line 59 of file MOD_fluidsim.c.
References fluidsim_free().
static void initData | ( | ModifierData * | md | ) | [static] |
Definition at line 53 of file MOD_fluidsim.c.
References fluidsim_init().
Referenced by applyModifier().
static void updateDepgraph | ( | ModifierData * | md, |
DagForest * | forest, | ||
Scene * | scene, | ||
Object * | ob, | ||
DagNode * | obNode | ||
) | [static] |
Definition at line 101 of file MOD_fluidsim.c.
References Scene::base, dag_add_relation(), dag_get_node(), DAG_RL_DATA_DATA, DAG_RL_OB_DATA, eModifierType_Fluidsim, ListBase::first, FluidsimModifierData::fss, modifiers_findByType(), Base::next, OB_FLUIDSIM_DOMAIN, Base::object, and FluidsimSettings::type.
{ "Fluidsim", "FluidsimModifierData", sizeof(FluidsimModifierData), eModifierTypeType_Nonconstructive, eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_RequiresOriginalData | eModifierTypeFlag_Single, copyData, NULL, NULL, NULL, NULL, applyModifier, NULL, initData, NULL, freeData, NULL, updateDepgraph, dependsOnTime, NULL, NULL, NULL, NULL, }
Definition at line 137 of file MOD_fluidsim.c.