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