Public Member Functions | Static Public Member Functions | Public Attributes
GLTexInput Class Reference

#include <GLTexImage.h>

Inheritance diagram for GLTexInput:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GLTexInput ()
int LoadImageFile (char *imagepath, int &w, int &h)
int SetImageData (int width, int height, const void *data, unsigned int gl_format, unsigned int gl_type)
void VerifyTexture ()
virtual ~GLTexInput ()

Static Public Member Functions

static int DownSamplePixelDataF (unsigned int gl_format, int width, int height, int ds, const float *pin, float *pout, int skip=0)
template<class Uint >
static int DownSamplePixelDataI (unsigned int gl_format, int width, int height, int ds, const Uint *pin, Uint *pout)
template<class Uint >
static int DownSamplePixelDataI2F (unsigned int gl_format, int width, int height, int ds, const Uint *pin, float *pout, int skip=0)
static int IsSimpleGlFormat (unsigned int gl_format, unsigned int gl_type)
static int TruncateWidthCU (int w)

Public Attributes

float * _converted_data
int _data_modified
int _down_sampled
const void_pixel_data
int _rgb_converted

Detailed Description

Definition at line 94 of file GLTexImage.h.


Constructor & Destructor Documentation

GLTexInput::GLTexInput ( ) [inline]

Definition at line 126 of file GLTexImage.h.

GLTexInput::~GLTexInput ( ) [virtual]

Definition at line 1074 of file GLTexImage.cpp.


Member Function Documentation

int GLTexInput::DownSamplePixelDataF ( unsigned int  gl_format,
int  width,
int  height,
int  ds,
const float *  pin,
float *  pout,
int  skip = 0 
) [static]

Definition at line 858 of file GLTexImage.cpp.

template<class Uint >
int GLTexInput::DownSamplePixelDataI ( unsigned int  gl_format,
int  width,
int  height,
int  ds,
const Uint *  pin,
Uint *  pout 
) [static]

Definition at line 738 of file GLTexImage.cpp.

template<class Uint >
int GLTexInput::DownSamplePixelDataI2F ( unsigned int  gl_format,
int  width,
int  height,
int  ds,
const Uint *  pin,
float *  pout,
int  skip = 0 
) [static]

Definition at line 802 of file GLTexImage.cpp.

static int GLTexInput::IsSimpleGlFormat ( unsigned int  gl_format,
unsigned int  gl_type 
) [inline, static]

Definition at line 105 of file GLTexImage.h.

int GLTexInput::LoadImageFile ( char *  imagepath,
int w,
int h 
)

Definition at line 1080 of file GLTexImage.cpp.

int GLTexInput::SetImageData ( int  width,
int  height,
const void data,
unsigned int  gl_format,
unsigned int  gl_type 
)

Definition at line 912 of file GLTexImage.cpp.

static int GLTexInput::TruncateWidthCU ( int  w) [inline, static]

Definition at line 124 of file GLTexImage.h.

Definition at line 1211 of file GLTexImage.cpp.


Member Data Documentation

Definition at line 102 of file GLTexImage.h.

Definition at line 99 of file GLTexImage.h.

Definition at line 97 of file GLTexImage.h.

Definition at line 103 of file GLTexImage.h.

Definition at line 98 of file GLTexImage.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rgbd_registration
Author(s): Ross Kidson
autogenerated on Sun Oct 6 2013 12:00:42