VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkMesaScalarsToColorsPainter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMesaScalarsToColorsPainter.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
=========================================================================*/
15
16
#ifndef __vtkMesaScalarsToColorsPainter_h
17
#define __vtkMesaScalarsToColorsPainter_h
18
19
#include "
vtkScalarsToColorsPainter.h
"
20
21
class
vtkOpenGLTexture
;
22
23
class
VTK_RENDERING_EXPORT
vtkMesaScalarsToColorsPainter
:
24
public
vtkScalarsToColorsPainter
25
{
26
public
:
27
static
vtkMesaScalarsToColorsPainter
*
New
();
28
vtkTypeMacro(
vtkMesaScalarsToColorsPainter
,
29
vtkScalarsToColorsPainter
);
30
void
PrintSelf
(ostream& os,
vtkIndent
indent);
31
32
33
// Description:
34
// Release any graphics resources that are being consumed by this mapper.
35
// The parameter window could be used to determine which graphic
36
// resources to release.
37
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*);
38
39
// Description:
40
// Return the texture size limit, i.e. GL_MAX_TEXTURE_SIZE.
41
virtual
vtkIdType
GetTextureSizeLimit
();
42
43
protected
:
44
vtkMesaScalarsToColorsPainter
();
45
~
vtkMesaScalarsToColorsPainter
();
46
47
vtkOpenGLTexture
*
InternalColorTexture
;
48
49
// Description:
50
// Generates rendering primitives of appropriate type(s). Multiple types
51
// of preimitives can be requested by or-ring the primitive flags.
52
// Subclasses may override this method. Default implementation propagates
53
// the call to Deletegate Painter, in any.
54
virtual
void
RenderInternal
(
vtkRenderer
* renderer,
vtkActor
* actor,
55
unsigned
long
typeflags);
56
57
private
:
58
vtkMesaScalarsToColorsPainter
(
const
vtkMesaScalarsToColorsPainter
&);
// Not implemented.
59
void
operator=(
const
vtkMesaScalarsToColorsPainter
&);
// Not implemented.
60
};
61
62
#endif
63
Generated on Wed May 30 2012 13:22:22 for VTK by
1.8.1