VTK
vtkOpenVRRenderer.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 vtkOpenVRRenderer_h
26#define vtkOpenVRRenderer_h
27
28#include "vtkRenderingOpenVRModule.h" // For export macro
29#include "vtkOpenGLRenderer.h"
30
31class VTKRENDERINGOPENVR_EXPORT vtkOpenVRRenderer : public vtkOpenGLRenderer
32{
33public:
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
62protected:
65
66private:
67 vtkOpenVRRenderer(const vtkOpenVRRenderer&); // Not implemented.
68 void operator=(const vtkOpenVRRenderer&); // Not implemented.
69};
70
71
72#endif
OpenGL renderer.
OpenVR renderer.
static vtkOpenVRRenderer * New()
virtual void ResetCamera(double bounds[6])
Automatically set up the camera based on a specified bounding box (xmin,xmax, ymin,...
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]);.