VTK
vtkOpenGLCamera.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLCamera.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 =========================================================================*/
22 #ifndef vtkOpenGLCamera_h
23 #define vtkOpenGLCamera_h
24 
25 #include "vtkRenderingOpenGLModule.h" // For export macro
26 #include "vtkCamera.h"
27 
28 class vtkOpenGLRenderer;
29 
30 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLCamera : public vtkCamera
31 {
32 public:
33  static vtkOpenGLCamera *New();
34  vtkTypeMacro(vtkOpenGLCamera, vtkCamera);
35  virtual void PrintSelf(ostream& os, vtkIndent indent);
36 
38  void Render(vtkRenderer *ren);
39 
40  void UpdateViewport(vtkRenderer *ren);
41 
42 protected:
45 private:
46  vtkOpenGLCamera(const vtkOpenGLCamera&); // Not implemented.
47  void operator=(const vtkOpenGLCamera&); // Not implemented.
48 };
49 
50 #endif
abstract specification for renderers
Definition: vtkRenderer.h:62
virtual void UpdateViewport(vtkRenderer *vtkNotUsed(ren))
Definition: vtkCamera.h:476
a simple class to control print indentation
Definition: vtkIndent.h:38
a virtual camera for 3D rendering
Definition: vtkCamera.h:49
virtual void Render(vtkRenderer *)
Definition: vtkCamera.h:441
void PrintSelf(ostream &os, vtkIndent indent)
OpenGL renderer.
OpenGL camera.
static vtkCamera * New()