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 =========================================================================*/
33 #ifndef vtkExternalOpenGLRenderer_h
34 #define vtkExternalOpenGLRenderer_h
35 
36 #include "vtkRenderingExternalModule.h" // For export macro
37 #include "vtkOpenGLRenderer.h"
38 
39 // Forward declarations
40 class vtkLightCollection;
41 class vtkExternalLight;
42 
43 class VTKRENDERINGEXTERNAL_EXPORT vtkExternalOpenGLRenderer :
44  public vtkOpenGLRenderer
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
54  void Render(void);
55 
61 
65  virtual void AddExternalLight(vtkExternalLight *);
66 
70  virtual void RemoveExternalLight(vtkExternalLight *);
71 
75  virtual void RemoveAllExternalLights();
76 
77 
78 protected:
81 
83 
84 private:
85  vtkExternalOpenGLRenderer(const vtkExternalOpenGLRenderer&) VTK_DELETE_FUNCTION;
86  void operator=(const vtkExternalOpenGLRenderer&) VTK_DELETE_FUNCTION;
87 };
88 
89 #endif //vtkExternalOpenGLRenderer_h
virtual vtkCamera * MakeCamera()
Create a new Camera sutible for use with this type of Renderer.
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:39
a virtual camera for 3D rendering
Definition: vtkCamera.h:50
static vtkOpenGLRenderer * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
OpenGL renderer.
virtual void Render()
CALLED BY vtkRenderWindow ONLY.