Tracking::Texture Class Reference
Class Texture.
More...
#include <Texture.h>
List of all members.
Public Member Functions |
void | bind (int stage=0) |
void | copyFromTexture (Texture *tex, int x, int y, unsigned w, unsigned h) |
void | copyFromTexture (Texture *tex) |
void | copyTexImage2D (int x, int y, unsigned width, unsigned height) |
void | copyTexImage2D (unsigned width, unsigned height) |
unsigned | getHeight () |
bool | getImageData (unsigned char *image_data) |
int | getResID () |
GLuint | getTextureID () |
unsigned | getWidth () |
bool | load (const char *filename) |
bool | load (unsigned char *image_data, unsigned width, unsigned height, GLenum format=GL_BGR) |
bool | save (const char *filename) |
void | setResID (int id) |
| Texture () |
cv::Mat | toCvMat () |
| ~Texture () |
Private Attributes |
unsigned | m_height |
int | m_res_id |
GLuint | m_texture_id |
unsigned | m_width |
Detailed Description
Class Texture.
Definition at line 20 of file Texture.h.
Constructor & Destructor Documentation
Member Function Documentation
void Texture::bind |
( |
int |
stage = 0 |
) |
|
void Texture::copyFromTexture |
( |
Texture * |
tex, |
|
|
int |
x, |
|
|
int |
y, |
|
|
unsigned |
w, |
|
|
unsigned |
h | |
|
) |
| | |
void Texture::copyFromTexture |
( |
Texture * |
tex |
) |
|
void Texture::copyTexImage2D |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned |
width, |
|
|
unsigned |
height | |
|
) |
| | |
void Texture::copyTexImage2D |
( |
unsigned |
width, |
|
|
unsigned |
height | |
|
) |
| | |
unsigned Tracking::Texture::getHeight |
( |
|
) |
[inline] |
bool Texture::getImageData |
( |
unsigned char * |
image_data |
) |
|
int Tracking::Texture::getResID |
( |
|
) |
[inline] |
GLuint Tracking::Texture::getTextureID |
( |
|
) |
[inline] |
unsigned Tracking::Texture::getWidth |
( |
|
) |
[inline] |
bool Texture::load |
( |
const char * |
filename |
) |
|
bool Texture::load |
( |
unsigned char * |
image_data, |
|
|
unsigned |
width, |
|
|
unsigned |
height, |
|
|
GLenum |
format = GL_BGR | |
|
) |
| | |
bool Texture::save |
( |
const char * |
filename |
) |
|
void Tracking::Texture::setResID |
( |
int |
id |
) |
[inline] |
cv::Mat Texture::toCvMat |
( |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following files:
blort
Author(s): Michael Zillich,
Thomas Mörwald,
Johann Prankl,
Andreas Richtsfeld,
Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:59 2013