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 =========================================================================*/
26 #ifndef __vtkOpenGLScalarsToColorsPainter_h
27 #define __vtkOpenGLScalarsToColorsPainter_h
28 
29 #include "vtkRenderingOpenGLModule.h" // For export macro
31 
32 class vtkOpenGLTexture;
33 
34 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLScalarsToColorsPainter :
36 {
37 public:
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
43 
47  virtual void ReleaseGraphicsResources(vtkWindow *);
48 
49  virtual int GetPremultiplyColorsWithAlpha(vtkActor* actor);
50 
53 
54 protected:
57 
59 
61 
65  virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
66  unsigned long typeflags,bool forceCompileOnly);
68 
69 private:
71  void operator=(const vtkOpenGLScalarsToColorsPainter&); // Not implemented.
72 };
73 
74 #endif
75