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 // Forward declarations
42 class vtkLightCollection;
43 class vtkExternalLight;
44 
45 class VTKRENDERINGEXTERNAL_EXPORT vtkExternalOpenGLRenderer :
46  public vtkOpenGLRenderer
47 {
48 public:
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54  void Render(void);
55 
59 
61  virtual void AddExternalLight(vtkExternalLight *);
62 
64  virtual void RemoveExternalLight(vtkExternalLight *);
65 
67  virtual void RemoveAllExternalLights();
68 
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()
a virtual light object for tweaking existing lights in an external 3D rendering context ...
a list of lights
a simple class to control print indentation
Definition: vtkIndent.h:38
a virtual camera for 3D rendering
Definition: vtkCamera.h:48
static vtkOpenGLRenderer * New()
void PrintSelf(ostream &os, vtkIndent indent)
OpenGL renderer.
virtual void Render()