VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkOpenGLCompositePainter.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 =========================================================================*/ 00020 #ifndef __vtkOpenGLCompositePainter_h 00021 #define __vtkOpenGLCompositePainter_h 00022 00023 #include "vtkRenderingOpenGLModule.h" // For export macro 00024 #include "vtkCompositePainter.h" 00025 00026 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLCompositePainter : public vtkCompositePainter 00027 { 00028 public: 00029 static vtkOpenGLCompositePainter* New(); 00030 vtkTypeMacro(vtkOpenGLCompositePainter, vtkCompositePainter); 00031 void PrintSelf(ostream& os, vtkIndent indent); 00032 00033 protected: 00034 vtkOpenGLCompositePainter(); 00035 ~vtkOpenGLCompositePainter(); 00036 00038 00039 virtual void UpdateRenderingState( 00040 vtkRenderWindow* window, vtkProperty* property, RenderBlockState& state); 00042 00043 private: 00044 vtkOpenGLCompositePainter(const vtkOpenGLCompositePainter&); // Not implemented. 00045 void operator=(const vtkOpenGLCompositePainter&); // Not implemented. 00046 00047 bool PushedOpenGLAttribs; 00048 }; 00049 00050 #endif