VTK
vtkOpenVRRenderer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 
5 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6 All rights reserved.
7 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
25 #ifndef vtkOpenVRRenderer_h
26 #define vtkOpenVRRenderer_h
27 
28 #include "vtkRenderingOpenVRModule.h" // For export macro
29 #include "vtkOpenGLRenderer.h"
30 
31 class VTKRENDERINGOPENVR_EXPORT vtkOpenVRRenderer : public vtkOpenGLRenderer
32 {
33 public:
34  static vtkOpenVRRenderer *New();
36 
43  virtual void ResetCamera();
44 
54  virtual void ResetCamera(double bounds[6]);
55 
59  virtual void ResetCamera(double xmin, double xmax, double ymin, double ymax,
60  double zmin, double zmax);
61 
62 protected:
65 
66 private:
67  vtkOpenVRRenderer(const vtkOpenVRRenderer&); // Not implemented.
68  void operator=(const vtkOpenVRRenderer&); // Not implemented.
69 };
70 
71 
72 #endif
virtual void ResetCamera()
Automatically set up the camera based on the visible actors.
OpenVR renderer.
static vtkOpenGLRenderer * New()
OpenGL renderer.