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