VTK
vtkExternalOpenGLRenderer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExternalOpenGLRenderer.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 =========================================================================*/
35 #ifndef __vtkExternalOpenGLRenderer_h
36 #define __vtkExternalOpenGLRenderer_h
37 
38 #include "vtkRenderingExternalModule.h" // For export macro
39 #include "vtkOpenGLRenderer.h"
40 
41 class VTKRENDERINGEXTERNAL_EXPORT vtkExternalOpenGLRenderer :
42  public vtkOpenGLRenderer
43 {
44 public:
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
51  void Clear(void);
52 
54  void Render(void);
55 
57 
61  vtkGetMacro(PreserveColorBuffer, int);
62  vtkSetMacro(PreserveColorBuffer, int);
63  vtkBooleanMacro(PreserveColorBuffer, int);
65 
69 
70 protected:
73 
75 
76 private:
77  vtkExternalOpenGLRenderer(const vtkExternalOpenGLRenderer&); // Not implemented.
78  void operator=(const vtkExternalOpenGLRenderer&); // Not implemented.
79 };
80 
81 #endif //__vtkExternalOpenGLRenderer_h
virtual vtkCamera * MakeCamera()
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:83
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:632
a simple class to control print indentation
Definition: vtkIndent.h:38
a virtual camera for 3D rendering
Definition: vtkCamera.h:48
static vtkOpenGLRenderer * New()
virtual void Clear(void)
void PrintSelf(ostream &os, vtkIndent indent)
#define vtkBooleanMacro(name, type)
Definition: vtkSetGet.h:234
OpenGL renderer.
virtual void Render()
#define vtkSetMacro(name, type)
Definition: vtkSetGet.h:69