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 =========================================================================*/
25 #ifndef vtkOculusRenderer_h
26 #define vtkOculusRenderer_h
27 
28 #include "vtkRenderingOculusModule.h" // For export macro
29 #include "vtkOpenGLRenderer.h"
30 
31 
32 class VTKRENDERINGOCULUS_EXPORT vtkOculusRenderer : public vtkOpenGLRenderer
33 {
34 public:
37 
44  virtual void ResetCamera();
45 
55  virtual void ResetCamera(double bounds[6]);
56 
60  virtual void ResetCamera(double xmin, double xmax, double ymin, double ymax,
61  double zmin, double zmax);
62 
63 protected:
66 
67 private:
68  vtkOculusRenderer(const vtkOculusRenderer&); // Not implemented.
69  void operator=(const vtkOculusRenderer&); // Not implemented.
70 };
71 
72 
73 #endif
Oculus renderer.
static vtkOculusRenderer * New()
virtual void ResetCamera()
Automatically set up the camera based on the visible actors.
virtual void ResetCamera(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
Alternative version of ResetCamera(bounds[6]);.
virtual void ResetCamera(double bounds[6])
Automatically set up the camera based on a specified bounding box (xmin,xmax, ymin,...
OpenGL renderer.