Blender V2.61 - r43446
|
#include "BLI_listbase.h"
#include "MEM_guardedalloc.h"
#include "BKE_bmesh.h"
#include "bmesh_private.h"
Go to the source code of this file.
Defines | |
#define | VHALT(halt) {BME_error(); if(halt) return 0;} |
Functions | |
BME_Mesh * | BME_make_mesh (int allocsize[4]) |
void | BME_free_mesh (BME_Mesh *bm) |
int | BME_model_begin (BME_Mesh *bm) |
void | BME_model_end (BME_Mesh *bm) |
int | BME_validate_mesh (struct BME_Mesh *bm, int halt) |
void | BME_error (void) |
Definition in file BME_mesh.c.
#define VHALT | ( | halt | ) | {BME_error(); if(halt) return 0;} |
Definition at line 183 of file BME_mesh.c.
Referenced by BME_validate_mesh().
void BME_error | ( | void | ) |
Definition at line 283 of file BME_mesh.c.
Referenced by BME_JEKV(), BME_JFKE(), BME_KE(), BME_loop_reverse(), BME_ME(), BME_MF(), BME_model_end(), and BME_SEMV().
void BME_free_mesh | ( | BME_Mesh * | bm | ) |
Definition at line 70 of file BME_mesh.c.
References BLI_mempool_destroy(), CustomData_bmesh_free_block(), CustomData_free(), BME_Loop::data, BME_Poly::data, BME_Edge::data, BME_Vert::data, credits_svn_gen::e, BME_Mesh::edges, BME_Mesh::epool, ListBase::first, BME_Mesh::ldata, BME_Poly::loopbase, BME_Mesh::lpool, MEM_freeN(), BME_Loop::next, BME_Poly::next, BME_Edge::next, BME_Vert::next, BME_Mesh::polys, CustomData::pool, BME_Mesh::ppool, CustomData::totlayer, BME_Mesh::verts, and BME_Mesh::vpool.
Referenced by applyModifier(), and bevel_menu().
BME_Mesh* BME_make_mesh | ( | int | allocsize[4] | ) | [read] |
Definition at line 53 of file BME_mesh.c.
References BLI_mempool_create(), BME_Mesh::epool, FALSE, BME_Mesh::lpool, MEM_callocN(), BME_Mesh::ppool, and BME_Mesh::vpool.
Referenced by BME_derivedmesh_to_bmesh(), and BME_editmesh_to_bmesh().
int BME_model_begin | ( | BME_Mesh * | bm | ) |
Definition at line 125 of file BME_mesh.c.
References BME_Mesh::edar, BME_Mesh::edarlen, BME_Mesh::lpar, BME_Mesh::lparlen, MEM_callocN(), BME_Mesh::plar, BME_Mesh::plarlen, BME_Mesh::vtar, and BME_Mesh::vtarlen.
Referenced by BME_bevel(), BME_derivedmesh_to_bmesh(), and BME_editmesh_to_bmesh().
void BME_model_end | ( | BME_Mesh * | bm | ) |
Definition at line 137 of file BME_mesh.c.
References BLI_countlist(), BME_error(), BME_validate_mesh(), BME_Mesh::edar, BME_Mesh::edarlen, BME_Mesh::edges, BME_Mesh::lpar, BME_Mesh::lparlen, MEM_freeN(), NULL, BME_Mesh::plar, BME_Mesh::plarlen, BME_Mesh::polys, BME_Mesh::totedge, BME_Mesh::totpoly, BME_Mesh::totvert, BME_Mesh::verts, BME_Mesh::vtar, and BME_Mesh::vtarlen.
Referenced by BME_bevel(), BME_derivedmesh_to_bmesh(), and BME_editmesh_to_bmesh().
int BME_validate_mesh | ( | struct BME_Mesh * | bm, |
int | halt | ||
) |
Definition at line 185 of file BME_mesh.c.
References BME_cycle_length(), BME_cycle_validate(), BME_disk_getpointer(), BME_disk_hasedge(), BME_disk_nextedge(), BME_vert_in_edge(), BME_verts_in_edge(), BME_Edge::d2, BME_Edge::data, BME_CycleNode::data, BME_Loop::e, credits_svn_gen::e, BME_Vert::edge, BME_Mesh::edges, BME_Loop::f, ListBase::first, i, BME_Edge::loop, BME_Poly::loopbase, BME_Poly::next, BME_Loop::next, BME_Edge::next, BME_Vert::next, NULL, BME_Mesh::polys, BME_Loop::radial, BME_Poly::tflag1, BME_Vert::tflag1, BME_Vert::tflag2, BME_Edge::tflag2, BME_Loop::v, BME_Edge::v1, BME_Edge::v2, BME_Mesh::verts, and VHALT.
Referenced by BME_model_end().