VTK
dox/Rendering/vtkMesaScalarsToColorsPainter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkMesaScalarsToColorsPainter.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 
00022 #ifndef __vtkMesaScalarsToColorsPainter_h
00023 #define __vtkMesaScalarsToColorsPainter_h
00024 
00025 #include "vtkScalarsToColorsPainter.h"
00026 
00027 class vtkOpenGLTexture;
00028 
00029 class VTK_RENDERING_EXPORT vtkMesaScalarsToColorsPainter : 
00030   public vtkScalarsToColorsPainter
00031 {
00032 public:
00033   static vtkMesaScalarsToColorsPainter* New();
00034   vtkTypeMacro(vtkMesaScalarsToColorsPainter,
00035     vtkScalarsToColorsPainter);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037   
00038 
00042   virtual void ReleaseGraphicsResources(vtkWindow *);
00043 
00045   virtual vtkIdType GetTextureSizeLimit();
00046 
00047 protected:
00048   vtkMesaScalarsToColorsPainter();
00049   ~vtkMesaScalarsToColorsPainter();
00050  
00051   vtkOpenGLTexture* InternalColorTexture;
00052 
00054 
00058   virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor, 
00059     unsigned long typeflags);
00061 
00062 private:
00063   vtkMesaScalarsToColorsPainter(const vtkMesaScalarsToColorsPainter&); // Not implemented.
00064   void operator=(const vtkMesaScalarsToColorsPainter&); // Not implemented.
00065 };
00066 
00067 #endif
00068