Blender V2.61 - r43446
|
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.h"
#include "BLI_rand.h"
#include "BLI_ghash.h"
#include "DNA_scene_types.h"
#include "DNA_meshdata_types.h"
#include "BKE_cdderivedmesh.h"
#include "BKE_mesh.h"
#include "BKE_modifier.h"
#include "BKE_object.h"
#include "BKE_particle.h"
#include "BKE_scene.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 | dependsOnTime (ModifierData *UNUSED(md)) |
static DerivedMesh * | applyModifier (ModifierData *md, Object *UNUSED(ob), DerivedMesh *derivedData, int UNUSED(useRenderParams), int UNUSED(isFinalCalc)) |
Variables | |
ModifierTypeInfo | modifierType_Build |
Definition in file MOD_build.c.
static DerivedMesh* applyModifier | ( | ModifierData * | md, |
Object * | UNUSEDob, | ||
DerivedMesh * | derivedData, | ||
int | UNUSEDuseRenderParams, | ||
int | UNUSEDisFinalCalc | ||
) | [static] |
Definition at line 78 of file MOD_build.c.
References BKE_curframe(), BLI_array_randomize(), BLI_ghash_free(), BLI_ghash_haskey(), BLI_ghash_insert(), BLI_ghash_lookup(), BLI_ghash_new(), BLI_ghash_size(), BLI_ghashIterator_free(), BLI_ghashIterator_getKey(), BLI_ghashIterator_getValue(), BLI_ghashIterator_isDone(), BLI_ghashIterator_new(), BLI_ghashIterator_step(), BLI_ghashutil_intcmp(), BLI_ghashutil_inthash(), CDDM_calc_normals(), CDDM_from_template(), CDDM_get_edge(), CDDM_get_face(), CDDM_get_vert(), CLAMP(), DM_copy_edge_data(), DM_copy_face_data(), DM_copy_vert_data(), DerivedMesh::faceData, faceMap, GET_INT_FROM_POINTER, DerivedMesh::getEdge, DerivedMesh::getFace, DerivedMesh::getNumEdges, DerivedMesh::getNumFaces, DerivedMesh::getNumVerts, DerivedMesh::getVert, i, BuildModifierData::length, MEM_callocN(), MEM_freeN(), NULL, BuildModifierData::randomize, ModifierData::scene, BuildModifierData::seed, SET_INT_IN_POINTER, BuildModifierData::start, test_index_face(), MEdge::v1, MFace::v1, MEdge::v2, MFace::v2, MFace::v3, and MFace::v4.
static void copyData | ( | ModifierData * | md, |
ModifierData * | target | ||
) | [static] |
Definition at line 62 of file MOD_build.c.
References BuildModifierData::length, BuildModifierData::randomize, BuildModifierData::seed, and BuildModifierData::start.
static int dependsOnTime | ( | ModifierData * | UNUSEDmd | ) | [static] |
Definition at line 73 of file MOD_build.c.
Referenced by mesh_calc_modifiers().
static void initData | ( | ModifierData * | md | ) | [static] |
Definition at line 54 of file MOD_build.c.
References BuildModifierData::length, and BuildModifierData::start.
{ "Build", "BuildModifierData", sizeof(BuildModifierData), eModifierTypeType_Nonconstructive, eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_AcceptsCVs, copyData, NULL, NULL, NULL, NULL, applyModifier, NULL, initData, NULL, NULL, NULL, NULL, dependsOnTime, NULL, NULL, NULL, NULL, }
Definition at line 273 of file MOD_build.c.