VTK
vtkOculusRenderer.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 =========================================================================*/
22 #ifndef vtkOculusRenderer_h
23 #define vtkOculusRenderer_h
24 
25 #include "vtkRenderingOculusModule.h" // For export macro
26 #include "vtkOpenGLRenderer.h"
27 
28 
29 class VTKRENDERINGOCULUS_EXPORT vtkOculusRenderer : public vtkOpenGLRenderer
30 {
31 public:
32  static vtkOculusRenderer *New();
34 
41  virtual void ResetCamera();
42 
52  virtual void ResetCamera(double bounds[6]);
53 
57  virtual void ResetCamera(double xmin, double xmax, double ymin, double ymax,
58  double zmin, double zmax);
59 
60 protected:
63 
64 private:
65  vtkOculusRenderer(const vtkOculusRenderer&); // Not implemented.
66  void operator=(const vtkOculusRenderer&); // Not implemented.
67 };
68 
69 
70 #endif
virtual void ResetCamera()
Automatically set up the camera based on the visible actors.
static vtkOpenGLRenderer * New()
Oculus renderer.
OpenGL renderer.