VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "
vtkScalarsToColorsPainter.h
"
30
31
class
vtkOpenGLTexture
;
32
33
class
VTK_RENDERING_EXPORT
vtkOpenGLScalarsToColorsPainter
:
34
public
vtkScalarsToColorsPainter
35
{
36
public
:
37
static
vtkOpenGLScalarsToColorsPainter
*
New
();
38
vtkTypeMacro(
vtkOpenGLScalarsToColorsPainter
,
39
vtkScalarsToColorsPainter
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
42
46
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*);
47
48
virtual
int
GetPremultiplyColorsWithAlpha
(
vtkActor
* actor);
49
51
virtual
vtkIdType
GetTextureSizeLimit
();
52
53
protected
:
54
vtkOpenGLScalarsToColorsPainter
();
55
~
vtkOpenGLScalarsToColorsPainter
();
56
57
vtkOpenGLTexture
*
InternalColorTexture
;
58
60
64
virtual
void
RenderInternal
(
vtkRenderer
* renderer,
vtkActor
* actor,
65
unsigned
long
typeflags,
bool
forceCompileOnly);
67
68
private
:
69
vtkOpenGLScalarsToColorsPainter
(
const
vtkOpenGLScalarsToColorsPainter
&);
// Not implemented.
70
void
operator=(
const
vtkOpenGLScalarsToColorsPainter
&);
// Not implemented.
71
};
72
73
#endif
74
Generated on Wed Nov 21 2012 21:34:04 for VTK by
1.8.2