VTK
vtkExternalOpenGLCamera.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExternalOpenGLCamera.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 =========================================================================*/
25 #ifndef vtkExternalOpenGLCamera_h
26 #define vtkExternalOpenGLCamera_h
27 
28 #include "vtkRenderingExternalModule.h" // For export macro
29 #include "vtkOpenGLCamera.h"
30 
31 class VTKRENDERINGEXTERNAL_EXPORT vtkExternalOpenGLCamera :
32  public vtkOpenGLCamera
33 {
34 public:
35  static vtkExternalOpenGLCamera *New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
42  void Render(vtkRenderer *ren) override;
43 
47  void SetViewTransformMatrix(const double elements[16]);
48 
52  void SetProjectionTransformMatrix(const double elements[16]);
53 
54 protected:
57 
62  void ComputeViewTransform() override;
63 
64 private:
65  bool UserProvidedViewTransform;
66 
68  void operator=(const vtkExternalOpenGLCamera&) = delete;
69 };
70 
71 #endif
static vtkOpenGLCamera * New()
abstract specification for renderers
Definition: vtkRenderer.h:63
void Render(vtkRenderer *ren) override
Implement base class method.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual void ComputeViewTransform()
These methods should only be used within vtkCamera.cxx.
OpenGL camera.