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=========================================================================*/
23#ifndef vtkOpenGLCamera_h
24#define vtkOpenGLCamera_h
25
26#include "vtkRenderingOpenGLModule.h" // For export macro
27#include "vtkCamera.h"
28
30
31class VTKRENDERINGOPENGL_EXPORT vtkOpenGLCamera : public vtkCamera
32{
33public:
35 vtkTypeMacro(vtkOpenGLCamera, vtkCamera);
36 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
37
41 void Render(vtkRenderer *ren);
42
44
45protected:
48private:
49 vtkOpenGLCamera(const vtkOpenGLCamera&) VTK_DELETE_FUNCTION;
50 void operator=(const vtkOpenGLCamera&) VTK_DELETE_FUNCTION;
51};
52
53#endif
a virtual camera for 3D rendering
Definition: vtkCamera.h:51
a simple class to control print indentation
Definition: vtkIndent.h:40
OpenGL camera.
void UpdateViewport(vtkRenderer *ren)
void Render(vtkRenderer *ren)
Implement base class method.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkOpenGLCamera * New()
OpenGL renderer.
abstract specification for renderers
Definition: vtkRenderer.h:64