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 =========================================================================*/
22 #ifndef vtkOpenVRRenderer_h
23 #define vtkOpenVRRenderer_h
24 
25 #include "vtkRenderingOpenVRModule.h" // For export macro
26 #include "vtkOpenGLRenderer.h"
27 
28 class vtkActor;
29 
30 class VTKRENDERINGOPENVR_EXPORT vtkOpenVRRenderer : public vtkOpenGLRenderer
31 {
32 public:
33  static vtkOpenVRRenderer *New();
35  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
36 
43  void ResetCamera() VTK_OVERRIDE;
44 
54  void ResetCamera(double bounds[6]) VTK_OVERRIDE;
55 
59  void ResetCamera(double xmin, double xmax, double ymin, double ymax,
60  double zmin, double zmax) VTK_OVERRIDE;
61 
62  using vtkRenderer::ResetCameraClippingRange;
63 
65 
71  void ResetCameraClippingRange( double bounds[6] ) VTK_OVERRIDE;
73 
77  void DeviceRender(void);
78 
82  virtual void SetShowFloor(bool);
83  virtual bool GetShowFloor() {
84  return this->ShowFloor; }
85 
86 protected:
89 
91  bool ShowFloor;
92 
93 private:
94  vtkOpenVRRenderer(const vtkOpenVRRenderer&) VTK_DELETE_FUNCTION;
95  void operator=(const vtkOpenVRRenderer&) VTK_DELETE_FUNCTION;
96 };
97 
98 
99 #endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:45
virtual void ResetCamera()
Automatically set up the camera based on the visible actors.
abstract specification for renderers
Definition: vtkRenderer.h:57
OpenVR renderer.
a simple class to control print indentation
Definition: vtkIndent.h:33
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkOpenGLRenderer * New()
OpenGL renderer.