41         glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
    42         glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR);
    43         glTexImage2D(GL_TEXTURE_2D, 0, 3, p2x, p2y, 0,
    44                      GL_LUMINANCE, GL_UNSIGNED_BYTE, p2i.
getData());
    51         if(image.empty()) 
return;
    65         glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
    66         glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR);
    67         glTexImage2D(GL_TEXTURE_2D, 0, 3, p2x, p2y, 0, GL_RGB,
    68                      GL_UNSIGNED_BYTE, p2i.
getData());
    85     void draw(
float x, 
float y, 
float sx=1.f, 
float sy=1.f)
 const    88         float bx = x + sx*
m_sx;
    89         float by = y + sy*
m_sy;
    91         glTexCoord2f(0.0f, 0.0f); glVertex2f(  x,  y);
    92         glTexCoord2f(
m_tx, 0.0f); glVertex2f( bx,  y);
    93         glTexCoord2f(
m_tx, 
m_ty); glVertex2f( bx, by);
    94         glTexCoord2f(0.0f, 
m_ty); glVertex2f(  x, by);
 void setImage(const std::vector< Image< byte > > &image)
 
Image< T > & interleave(const std::vector< Image< T > > &img, dword ncomp=0)
 
void setImage(const Image< byte > &image)
 
void draw(float x, float y, float sx=1.f, float sy=1.f) const 
 
GLImage(const Image< byte > &image)
 
GLImage(const std::vector< Image< byte > > &image)
 
void insert(const Image< T > &ii, const int x=0, const int y=0)
 
const T * getData() const