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 
36 {
37 public:
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
46  virtual void ReleaseGraphicsResources(vtkWindow *);
47 
48  virtual int GetPremultiplyColorsWithAlpha(vtkActor* actor);
49 
52 
53 protected:
56 
61 
63 
67  virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
68  unsigned long typeflags, bool forceCompileOnly);
70 
71 private:
73  void operator=(const vtkOpenGLScalarsToColorsPainter&); // Not implemented.
74 };
75 
76 #endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
implementation of vtkScalarsToColorsPainter for OpenGL.
abstract specification for renderers
Definition: vtkRenderer.h:63
int vtkIdType
Definition: vtkType.h:275
virtual int GetPremultiplyColorsWithAlpha(vtkActor *actor)
virtual void ReleaseGraphicsResources(vtkWindow *)
OpenGL texture map.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGOPENGL_EXPORT
painter that converts scalars to colors. It enable/disables coloring state depending on the ScalarMod...
static vtkScalarsToColorsPainter * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual vtkIdType GetTextureSizeLimit()