Kinetic Visualization
 All Classes Functions Variables Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
Img Class Reference

List of all members.

Public Member Functions

 Img ()
 ~Img ()
bool IsImageLoad ()
bool LoadImg (ILenum Type, std::string FileName)
int GetWidth ()
int GetHeight ()
ILubyte * GetData ()

Static Public Member Functions

static void GetErrors ()
static ILfloat * LoadImgGetFloat (ILenum Type, std::string FileName, int &width, int &height)

Public Attributes

ILuint handle
double id

Static Public Attributes

static std::vector< Img * > images

Constructor & Destructor Documentation

Img::Img ( )
inline

Standardconstructor

Img::~Img ( )
inline

Standarddeconstructor


Member Function Documentation

ILubyte * Img::GetData ( )

This method returns the data of the image

Returns:
data
void Img::GetErrors ( )
static

This method returns erros

int Img::GetHeight ( )

This method returns the height of the image

Returns:
height of the image
int Img::GetWidth ( )

This method returns the width of the image

Returns:
width of the image
bool Img::IsImageLoad ( )

Returns true if a imaged is loaded

bool Img::LoadImg ( ILenum  Type,
std::string  FileName 
)

This method loads an image

Parameters:
typetype of image
FileNamefilename of image to load

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