VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/External/vtkExternalOpenGLRenderer.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkExternalOpenGLRenderer.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 =========================================================================*/
00035 #ifndef __vtkExternalOpenGLRenderer_h
00036 #define __vtkExternalOpenGLRenderer_h
00037 
00038 #include "vtkRenderingExternalModule.h" // For export macro
00039 #include "vtkOpenGLRenderer.h"
00040 
00041 class VTKRENDERINGEXTERNAL_EXPORT vtkExternalOpenGLRenderer :
00042   public vtkOpenGLRenderer
00043 {
00044 public:
00045   static vtkExternalOpenGLRenderer *New();
00046   vtkTypeMacro(vtkExternalOpenGLRenderer, vtkOpenGLRenderer);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048 
00051   void Clear(void);
00052 
00054   void Render(void);
00055 
00057 
00061   vtkGetMacro(PreserveColorBuffer, int);
00062   vtkSetMacro(PreserveColorBuffer, int);
00063   vtkBooleanMacro(PreserveColorBuffer, int);
00065 
00068   vtkCamera* MakeCamera();
00069 
00070 protected:
00071   vtkExternalOpenGLRenderer();
00072   ~vtkExternalOpenGLRenderer();
00073 
00074   int PreserveColorBuffer;
00075 
00076 private:
00077   vtkExternalOpenGLRenderer(const vtkExternalOpenGLRenderer&);  // Not implemented.
00078   void operator=(const vtkExternalOpenGLRenderer&);  // Not implemented.
00079 };
00080 
00081 #endif //__vtkExternalOpenGLRenderer_h