dox/Rendering/vtkMesaTexture.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00026
#ifndef __vtkMesaTexture_h
00027
#define __vtkMesaTexture_h
00028
00029
#include "vtkTexture.h"
00030
00031
class vtkWindow;
00032
class vtkMesaRenderer;
00033
class vtkRenderWindow;
00034
00035 class VTK_RENDERING_EXPORT vtkMesaTexture :
public vtkTexture
00036 {
00037
public:
00038
static vtkMesaTexture *
New();
00039 vtkTypeRevisionMacro(vtkMesaTexture,
vtkTexture);
00040
virtual void PrintSelf(ostream& os,
vtkIndent indent);
00041
00043
void Load(
vtkRenderer *ren);
00044
00049
void ReleaseGraphicsResources(
vtkWindow *);
00050
00051
protected:
00052 vtkMesaTexture();
00053 ~vtkMesaTexture();
00054
00055
unsigned char *ResampleToPowerOfTwo(
int &xsize,
int &ysize,
00056
unsigned char *dptr,
int bpp);
00057
00058 vtkTimeStamp LoadTime;
00059 long Index;
00060 static long GlobalIndex;
00061 vtkRenderWindow *RenderWindow;
00062
private:
00063 vtkMesaTexture(
const vtkMesaTexture&);
00064
void operator=(
const vtkMesaTexture&);
00065 };
00066
00067
#endif