|
Blender
V2.59
|
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 208 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 194 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 756 of file scanfill.c.
References BLI_movelisttolist(), BLI_remlink(), boundisect(), callLocalErrorCallBack(), EditVert::co, compare_v3v3(), COMPLIMIT, cox, coy, PolyFill::edges, EditVert::f, PolyFill::f, EditEdge::f, EditEdge::f1, fabs(), ListBase::first, EditVert::h, EditEdge::h, ListBase::last, PolyFill::max, MEM_callocN(), MEM_freeN(), mergepolysSimp(), PolyFill::min, EditVert::next, EditEdge::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 183 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 48 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 53 of file scanfill.c.
References BLI_localInterruptCallBack.
| struct ListBase filledgebase |
Definition at line 98 of file scanfill.c.
Referenced by fill_mesh().
| struct ListBase fillfacebase |
Definition at line 99 of file scanfill.c.
Referenced by draw_filled_lasso(), fill_mesh(), and filldisplist().
| struct ListBase fillvertbase |
Definition at line 97 of file scanfill.c.
Referenced by filldisplist().