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