HDK
|
#include <TIL_UVEnlarger.h>
Public Types | |
enum | Scheme { SCHEME_FILL_AVERAGE, SCHEME_FLOOD_FILL, SCHEME_DIFFUSE_FILL, SCHEME_INVALID } |
Public Member Functions | |
TIL_UVEnlarger (PXL_Raster &raster, PXL_Raster *craster, Scheme scheme=SCHEME_FLOOD_FILL, int fillPadding=4) | |
~TIL_UVEnlarger () | |
void | setFillPadding (int fp) |
void | setScheme (Scheme scheme) |
Sets the scheme to use when enlarging. More... | |
bool | enlarge (bool doUnpremult=true) |
Definition at line 22 of file TIL_UVEnlarger.h.
Definition at line 25 of file TIL_UVEnlarger.h.
TIL_UVEnlarger::TIL_UVEnlarger | ( | PXL_Raster & | raster, |
PXL_Raster * | craster, | ||
Scheme | scheme = SCHEME_FLOOD_FILL , |
||
int | fillPadding = 4 |
||
) |
If craster is NULL, then pixels in raster that has zero value will be assumed to have zero alpha.
TIL_UVEnlarger::~TIL_UVEnlarger | ( | ) |
bool TIL_UVEnlarger::enlarge | ( | bool | doUnpremult = true | ) |
How many pixels to pad each UV island with, when using the flood filling scheme for enlarging.
Definition at line 54 of file TIL_UVEnlarger.h.
Sets the scheme to use when enlarging.
Definition at line 58 of file TIL_UVEnlarger.h.