VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkMesaTexture.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMesaTexture.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
22
#ifndef __vtkMesaTexture_h
23
#define __vtkMesaTexture_h
24
25
#include "
vtkTexture.h
"
26
27
class
vtkWindow
;
28
class
vtkMesaRenderer
;
29
class
vtkRenderWindow
;
30
31
class
VTK_RENDERING_EXPORT
vtkMesaTexture
:
public
vtkTexture
32
{
33
public
:
34
static
vtkMesaTexture
*
New
();
35
vtkTypeMacro(
vtkMesaTexture
,
vtkTexture
);
36
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
37
39
void
Load
(
vtkRenderer
*ren);
40
45
void
ReleaseGraphicsResources
(
vtkWindow
*);
46
47
protected
:
48
vtkMesaTexture
();
49
~
vtkMesaTexture
();
50
51
unsigned
char
*ResampleToPowerOfTwo(
int
&xsize,
int
&ysize,
52
unsigned
char
*dptr,
int
bpp);
53
54
vtkTimeStamp
LoadTime
;
55
long
Index
;
56
static
long
GlobalIndex
;
57
vtkRenderWindow
*
RenderWindow
;
// RenderWindow used for previous render
58
private
:
59
vtkMesaTexture
(
const
vtkMesaTexture
&);
// Not implemented.
60
void
operator=(
const
vtkMesaTexture
&);
// Not implemented.
61
};
62
63
#endif
Generated on Wed Nov 21 2012 21:34:04 for VTK by
1.8.2