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