VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
OpenGL
vtkOpenGLScalarsToColorsPainter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOpenGLScalarsToColorsPainter.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
=========================================================================*/
26
#ifndef __vtkOpenGLScalarsToColorsPainter_h
27
#define __vtkOpenGLScalarsToColorsPainter_h
28
29
#include "vtkRenderingOpenGLModule.h"
// For export macro
30
#include "
vtkScalarsToColorsPainter.h
"
31
32
class
vtkOpenGLTexture
;
33
34
class
VTKRENDERINGOPENGL_EXPORT
vtkOpenGLScalarsToColorsPainter
:
35
public
vtkScalarsToColorsPainter
36
{
37
public
:
38
static
vtkOpenGLScalarsToColorsPainter
*
New
();
39
vtkTypeMacro(
vtkOpenGLScalarsToColorsPainter
,
40
vtkScalarsToColorsPainter
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
43
47
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*);
48
49
virtual
int
GetPremultiplyColorsWithAlpha
(
vtkActor
* actor);
50
52
virtual
vtkIdType
GetTextureSizeLimit
();
53
54
protected
:
55
vtkOpenGLScalarsToColorsPainter
();
56
~
vtkOpenGLScalarsToColorsPainter
();
57
58
vtkOpenGLTexture
*
InternalColorTexture
;
59
61
65
virtual
void
RenderInternal
(
vtkRenderer
* renderer,
vtkActor
* actor,
66
unsigned
long
typeflags,
bool
forceCompileOnly);
68
69
private
:
70
vtkOpenGLScalarsToColorsPainter
(
const
vtkOpenGLScalarsToColorsPainter
&);
// Not implemented.
71
void
operator=(
const
vtkOpenGLScalarsToColorsPainter
&);
// Not implemented.
72
};
73
74
#endif
75
Generated on Thu May 24 2012 22:22:36 for VTK by
1.8.1