Structural deformable models
|
#include <glImage.h>
Public Member Functions | |
GLImage () | |
GLImage (const std::vector< Image< byte > > &image) | |
GLImage (const Image< byte > &image) | |
~GLImage () | |
void | setImage (const Image< byte > &image) |
void | setImage (const std::vector< Image< byte > > &image) |
void | unsetImage () |
bool | bindTexture () const |
void | draw (float x, float y, float sx=1.f, float sy=1.f) const |
operator bool () const | |
float | getSizeX () const |
float | getSizeY () const |
Protected Attributes | |
GLuint | m_gltexture |
int | m_sx |
int | m_sy |
float | m_tx |
float | m_ty |
bool | m_Initialized |
|
inline |
Definition at line 22 of file glImage.h.
References unsetImage().
|
inline |
Definition at line 79 of file glImage.h.
References m_gltexture, and m_Initialized.
Referenced by draw().
|
inline |
Definition at line 85 of file glImage.h.
References bindTexture(), m_sx, m_sy, m_tx, and m_ty.
Referenced by Dataset::draw().
|
inline |
Definition at line 27 of file glImage.h.
References Image< T >::getData(), Image< T >::getSizeX(), Image< T >::getSizeY(), Image< T >::insert(), m_gltexture, m_Initialized, m_sx, m_sy, m_tx, m_ty, power2(), and unsetImage().
Referenced by Dataset::draw(), and GLImage().
Definition at line 48 of file glImage.h.
References Image< T >::getData(), Image< T >::getSizeX(), Image< T >::getSizeY(), Image< T >::insert(), Image< T >::interleave(), m_gltexture, m_Initialized, m_sx, m_sy, m_tx, m_ty, power2(), and unsetImage().
|
inline |
Definition at line 72 of file glImage.h.
References m_gltexture, and m_Initialized.
Referenced by Dataset::draw(), setImage(), and ~GLImage().
|
protected |
Definition at line 103 of file glImage.h.
Referenced by bindTexture(), setImage(), and unsetImage().
|
protected |
Definition at line 106 of file glImage.h.
Referenced by bindTexture(), operator bool(), setImage(), and unsetImage().
|
protected |
Definition at line 104 of file glImage.h.
Referenced by draw(), getSizeX(), and setImage().
|
protected |
Definition at line 104 of file glImage.h.
Referenced by draw(), getSizeY(), and setImage().
|
protected |
Definition at line 105 of file glImage.h.
Referenced by draw(), and setImage().
|
protected |
Definition at line 105 of file glImage.h.
Referenced by draw(), and setImage().