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 vtkActor;
32 
33 class VTKRENDERINGOPENVR_EXPORT vtkOpenVRRenderer : public vtkOpenGLRenderer
34 {
35 public:
36  static vtkOpenVRRenderer *New();
38  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
46  void ResetCamera() VTK_OVERRIDE;
47 
57  void ResetCamera(double bounds[6]) VTK_OVERRIDE;
58 
62  void ResetCamera(double xmin, double xmax, double ymin, double ymax,
63  double zmin, double zmax) VTK_OVERRIDE;
64 
65  using vtkRenderer::ResetCameraClippingRange;
66 
68 
74  void ResetCameraClippingRange( double bounds[6] ) VTK_OVERRIDE;
76 
80  void DeviceRender(void);
81 
85  virtual void SetShowFloor(bool);
86  virtual bool GetShowFloor() {
87  return this->ShowFloor; }
88 
89 protected:
92 
94  bool ShowFloor;
95 
96 private:
97  vtkOpenVRRenderer(const vtkOpenVRRenderer&) VTK_DELETE_FUNCTION;
98  void operator=(const vtkOpenVRRenderer&) VTK_DELETE_FUNCTION;
99 };
100 
101 
102 #endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
virtual void ResetCamera()
Automatically set up the camera based on the visible actors.
abstract specification for renderers
Definition: vtkRenderer.h:63
OpenVR renderer.
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkOpenGLRenderer * New()
OpenGL renderer.