VTK
vtkOculusRenderer.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4
5Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6All rights reserved.
7See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8
9This software is distributed WITHOUT ANY WARRANTY; without even
10the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11PURPOSE. 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
32class VTKRENDERINGOCULUS_EXPORT vtkOculusRenderer : public vtkOpenGLRenderer
33{
34public:
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
63protected:
66
67private:
68 vtkOculusRenderer(const vtkOculusRenderer&); // Not implemented.
69 void operator=(const vtkOculusRenderer&); // Not implemented.
70};
71
72
73#endif
Oculus renderer.
virtual void ResetCamera()
Automatically set up the camera based on the visible actors.
static vtkOculusRenderer * New()
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.