HDK
|
#include <IMG_FileTTMap.h>
Public Member Functions | |
IMG_TTChannel () | |
virtual | ~IMG_TTChannel () |
virtual void | getRes (int &xres, int &yres, int &tile_xres, int &tile_yres) const =0 |
virtual int64 | getMemoryUsage (bool inclusive) const =0 |
virtual void | filterPixels (float *rgba, int nchan, int first_x, int first_y, const IMG_TextureFilter &filter, const float *xweights, const float *yweights, int usize, int vsize)=0 |
virtual void | getPixel (float *rgba, int nchan, int iu, int iv, const IMG_TextureFilter &filter)=0 |
virtual void | getPixel (void *pixel, int iu, int iv)=0 |
This method returns the raw pixel data. More... | |
virtual void | getScanline (void *scanline, int y, int xres, size_t bpp) |
Return raw scanline data. More... | |
virtual void | getTile (const UT_DimRect ®ion, void *data, int bytes_per_pixel, int bytes_per_scanline) |
Return raw tile data. More... | |
virtual void | closeChannel () |
This method is called when the channel is destroyed. More... | |
An IMG_TTChannel is used to retrieve pixel data from the image. Each image owns an array of IMG_TTChannel objects that could represent environment map rasters or mipmap levels.
Definition at line 31 of file IMG_FileTTMap.h.
IMG_TTChannel::IMG_TTChannel | ( | ) |
|
virtual |
|
inlinevirtual |
This method is called when the channel is destroyed.
Definition at line 67 of file IMG_FileTTMap.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
This method returns the raw pixel data.
|
pure virtual |
Return raw scanline data.
|
virtual |
Return raw tile data.