HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IMG_TTChannel Class Referenceabstract

#include <IMG_FileTTMap.h>

Public Member Functions

 IMG_TTChannel ()
 
virtual ~IMG_TTChannel ()
 
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 closeChannel ()
 This method is called when the channel is destroyed. More...
 

Detailed Description

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 29 of file IMG_FileTTMap.h.

Constructor & Destructor Documentation

IMG_TTChannel::IMG_TTChannel ( )
virtual IMG_TTChannel::~IMG_TTChannel ( )
virtual

Member Function Documentation

virtual void IMG_TTChannel::closeChannel ( )
inlinevirtual

This method is called when the channel is destroyed.

Definition at line 54 of file IMG_FileTTMap.h.

virtual void IMG_TTChannel::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 
)
pure virtual
virtual int64 IMG_TTChannel::getMemoryUsage ( bool  inclusive) const
pure virtual
virtual void IMG_TTChannel::getPixel ( float *  rgba,
int  nchan,
int  iu,
int  iv,
const IMG_TextureFilter filter 
)
pure virtual
virtual void IMG_TTChannel::getPixel ( void pixel,
int  iu,
int  iv 
)
pure virtual

This method returns the raw pixel data.

virtual void IMG_TTChannel::getScanline ( void scanline,
int  y,
int  xres,
size_t  bpp 
)
virtual

Return raw scanline data.


The documentation for this class was generated from the following file: