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 "vtkCamera.h"
26 
27 class vtkOpenGLRenderer;
28 
30 {
31 public:
32  static vtkOpenGLCamera *New();
33  vtkTypeMacro(vtkOpenGLCamera,vtkCamera);
34  virtual void PrintSelf(ostream& os, vtkIndent indent);
35 
37  void Render(vtkRenderer *ren);
38 
39  void UpdateViewport(vtkRenderer *ren);
40 
41 protected:
44 private:
45  vtkOpenGLCamera(const vtkOpenGLCamera&); // Not implemented.
46  void operator=(const vtkOpenGLCamera&); // Not implemented.
47 };
48 
49 #endif
abstract specification for renderers
Definition: vtkRenderer.h:69
virtual void UpdateViewport(vtkRenderer *vtkNotUsed(ren))
Definition: vtkCamera.h:427
a simple class to control print indentation
Definition: vtkIndent.h:37
a virtual camera for 3D rendering
Definition: vtkCamera.h:47
virtual void Render(vtkRenderer *)
Definition: vtkCamera.h:385
#define VTK_RENDERING_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
OpenGL renderer.
OpenGL camera.
static vtkCamera * New()