VTK
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 =========================================================================*/
27 #ifndef vtkOpenGLScalarsToColorsPainter_h
28 #define vtkOpenGLScalarsToColorsPainter_h
29 
30 #include "vtkRenderingOpenGLModule.h" // For export macro
32 
33 class vtkOpenGLTexture;
34 
35 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLScalarsToColorsPainter :
37 {
38 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
49  virtual void ReleaseGraphicsResources(vtkWindow *);
50 
51  virtual int GetPremultiplyColorsWithAlpha(vtkActor* actor);
52 
57 
58 protected:
61 
66 
73  virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
74  unsigned long typeflags, bool forceCompileOnly);
75 
76 private:
78  void operator=(const vtkOpenGLScalarsToColorsPainter&) VTK_DELETE_FUNCTION;
79 };
80 
81 #endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Performs the actual rendering.
implementation of vtkScalarsToColorsPainter for OpenGL.
abstract specification for renderers
Definition: vtkRenderer.h:63
int vtkIdType
Definition: vtkType.h:287
virtual int GetPremultiplyColorsWithAlpha(vtkActor *actor)
For alpha blending, we sometime premultiply the colors with alpha and change the alpha blending funct...
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this painter.
OpenGL texture map.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
a simple class to control print indentation
Definition: vtkIndent.h:39
painter that converts scalars to colors.
static vtkScalarsToColorsPainter * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual vtkIdType GetTextureSizeLimit()
Return the texture size limit.