Blender V2.61 - r43446
|
Filling meshes. More...
Go to the source code of this file.
Functions | |
struct EditVert * | BLI_addfillvert (float *vec) |
struct EditEdge * | BLI_addfilledge (struct EditVert *v1, struct EditVert *v2) |
int | BLI_edgefill (short mat_nr) |
void | BLI_end_edgefill (void) |
void | BLI_setErrorCallBack (void(*f)(const char *)) |
void | BLI_setInterruptCallBack (int(*f)(void)) |
Variables | |
struct ListBase | fillvertbase |
struct ListBase | filledgebase |
struct ListBase | fillfacebase |
Definition at line 206 of file scanfill.c.
References BLI_addtail(), new_mem_element(), EditEdge::v1, and EditEdge::v2.
Referenced by draw_filled_lasso(), fill_mesh(), filldisplist(), scanfill(), and testvertexnearedge().
struct EditVert* BLI_addfillvert | ( | float * | vec | ) | [read] |
Definition at line 192 of file scanfill.c.
References BLI_addtail(), EditVert::co, and new_mem_element().
Referenced by draw_filled_lasso(), fill_mesh(), and filldisplist().
int BLI_edgefill | ( | short | mat_nr | ) |
Definition at line 754 of file scanfill.c.
References axis_dominant_v3(), BLI_movelisttolist(), BLI_remlink(), boundisect(), callLocalErrorCallBack(), EditVert::co, compare_v3v3(), COMPLIMIT, cox, coy, PolyFill::edges, PolyFill::f, EditEdge::f, EditVert::f, EditEdge::f1, ListBase::first, EditEdge::h, EditVert::h, ListBase::last, len(), PolyFill::max, MEM_callocN(), MEM_freeN(), mergepolysSimp(), PolyFill::min, EditEdge::next, EditVert::next, norm(), normal_tri_v3(), PolyFill::nr, pf, EditEdge::prev, scanfill(), splitlist(), testvertexnearedge(), EditEdge::v1, EditEdge::v2, vergpoly(), PolyFill::verts, and EditVert::xs.
Referenced by draw_filled_lasso(), fill_mesh(), and filldisplist().
void BLI_end_edgefill | ( | void | ) |
Definition at line 181 of file scanfill.c.
References ListBase::first, ListBase::last, and new_mem_element().
Referenced by draw_filled_lasso(), fill_mesh(), and filldisplist().
void BLI_setErrorCallBack | ( | void(*)(const char *) | f | ) |
Set a function taking a char* as argument to flag errors. If the callback is not set, the error is discarded.
f | The function to use as callback |
Definition at line 46 of file scanfill.c.
References BLI_localErrorCallBack.
Referenced by setCallbacks().
void BLI_setInterruptCallBack | ( | int(*)(void) | f | ) |
Set a function to be able to interrupt the execution of processing in this module. If the function returns true, the execution will terminate gracefully. If the callback is not set, interruption is not possible.
f | The function to use as callback |
Definition at line 51 of file scanfill.c.
References BLI_localInterruptCallBack.
struct ListBase filledgebase |
Definition at line 96 of file scanfill.c.
Referenced by fill_mesh().
struct ListBase fillfacebase |
Definition at line 97 of file scanfill.c.
Referenced by draw_filled_lasso(), fill_mesh(), and filldisplist().
struct ListBase fillvertbase |
Definition at line 95 of file scanfill.c.
Referenced by filldisplist().