VTK
vtkMesaScalarsToColorsPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMesaScalarsToColorsPainter.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 =========================================================================*/
15 
16 #ifndef __vtkMesaScalarsToColorsPainter_h
17 #define __vtkMesaScalarsToColorsPainter_h
18 
20 
21 class vtkOpenGLTexture;
22 
25 {
26 public:
28  vtkTypeMacro(vtkMesaScalarsToColorsPainter,
30  void PrintSelf(ostream& os, vtkIndent indent);
31 
32 
33  // Description:
34  // Release any graphics resources that are being consumed by this mapper.
35  // The parameter window could be used to determine which graphic
36  // resources to release.
37  virtual void ReleaseGraphicsResources(vtkWindow *);
38 
39  // Description:
40  // Return the texture size limit, i.e. GL_MAX_TEXTURE_SIZE.
42 
43 protected:
46 
48 
49  // Description:
50  // Generates rendering primitives of appropriate type(s). Multiple types
51  // of preimitives can be requested by or-ring the primitive flags.
52  // Subclasses may override this method. Default implementation propagates
53  // the call to Deletegate Painter, in any.
54  virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
55  unsigned long typeflags);
56 
57 private:
59  void operator=(const vtkMesaScalarsToColorsPainter&); // Not implemented.
60 };
61 
62 #endif
63 
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)
abstract specification for renderers
Definition: vtkRenderer.h:69
int vtkIdType
Definition: vtkType.h:255
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()