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
vtkMesaTexture
Mesa texture map.
Definition:
vtkMesaTexture.h:31
vtkMesaTexture::RenderWindow
vtkRenderWindow * RenderWindow
Definition:
vtkMesaTexture.h:57
vtkTimeStamp
record modification and/or execution time
Definition:
vtkTimeStamp.h:33
vtkTexture::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
Definition:
vtkTexture.h:87
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:69
vtkMesaTexture::LoadTime
vtkTimeStamp LoadTime
Definition:
vtkMesaTexture.h:54
vtkTexture::Load
virtual void Load(vtkRenderer *)
Definition:
vtkTexture.h:92
vtkTexture::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:35
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkTexture::New
static vtkTexture * New()
vtkTexture
handles properties associated with a texture map
Definition:
vtkTexture.h:68
vtkMesaRenderer
OpenGL renderer.
Definition:
vtkMesaRenderer.h:34
VTK_RENDERING_EXPORT
#define VTK_RENDERING_EXPORT
Definition:
vtkWin32Header.h:278
vtkRenderWindow
create a window for renderers to draw into
Definition:
vtkRenderWindow.h:106
vtkMesaTexture::Index
long Index
Definition:
vtkMesaTexture.h:55
vtkMesaTexture::GlobalIndex
static long GlobalIndex
Definition:
vtkMesaTexture.h:56
vtkTexture.h
Generated by
1.8.9.1