VTexture Class Reference

VTexture: Klasse zur Repräsentation von 2D Texturen. More...

#include <VTexture.h>

List of all members.

Public Member Functions

 VTexture (string)
void bind ()
 ~VTexture (void)

Private Attributes

GLuint tex
string filename
GLbyte * pixels
int width
int height


Detailed Description

VTexture: Klasse zur Repräsentation von 2D Texturen.

Definition at line 11 of file VTexture.h.


Constructor & Destructor Documentation

VTexture::VTexture ( string   ) 

Konstruktor

Parameters:
filename Dateiname des Bildes

Definition at line 13 of file VTexture.cpp.

References filename, height, pixels, and width.

VTexture::~VTexture ( void   ) 

Definition at line 39 of file VTexture.cpp.

References pixels.


Member Function Documentation

void VTexture::bind (  ) 

Wendet die Textur an

Definition at line 34 of file VTexture.cpp.

Referenced by VSliceElement::draw(), VRenderMode::draw(), VColorChooser::draw(), and V2Ddraw::drawTexBox().


Member Data Documentation

GLuint VTexture::tex [private]

Textur id

Definition at line 14 of file VTexture.h.

string VTexture::filename [private]

Dateiname des Bildes

Definition at line 16 of file VTexture.h.

Referenced by VTexture().

GLbyte* VTexture::pixels [private]

ausgelesene pixel

Definition at line 18 of file VTexture.h.

Referenced by VTexture(), and ~VTexture().

int VTexture::width [private]

Definition at line 19 of file VTexture.h.

Referenced by VTexture().

int VTexture::height [private]

Definition at line 20 of file VTexture.h.

Referenced by VTexture().


The documentation for this class was generated from the following files:
Generated on Wed Dec 6 11:08:06 2006 for VisLU by  doxygen 1.5.1-p1