Blender V2.61 - r43446
Functions | Variables

BLI_scanfill.h File Reference

Filling meshes. More...

Go to the source code of this file.

Functions

struct EditVertBLI_addfillvert (float *vec)
struct EditEdgeBLI_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

Detailed Description

Filling meshes.

Since:
March 2001
Author:
nzc

Definition in file BLI_scanfill.h.


Function Documentation

struct EditEdge* BLI_addfilledge ( struct EditVert v1,
struct EditVert v2 
) [read]
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)
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.

Parameters:
fThe function to use as callback
Attention:
used in creator.c

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.

Parameters:
fThe function to use as callback
Attention:
used in creator.c

Definition at line 51 of file scanfill.c.

References BLI_localInterruptCallBack.


Variable Documentation

Definition at line 96 of file scanfill.c.

Referenced by fill_mesh().

Definition at line 97 of file scanfill.c.

Referenced by draw_filled_lasso(), fill_mesh(), and filldisplist().

Attention:
Defined in scanfill.c

Definition at line 95 of file scanfill.c.

Referenced by filldisplist().