vtkOpenVRDefaultOverlay.h 1.42 KB
Newer Older
Ken Martin's avatar
Ken Martin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
/*=========================================================================

  Program:   Visualization Toolkit

  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
  All rights reserved.
  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.

     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notice for more information.

=========================================================================*/
/**
 * @class   vtkOpenVRDefaultOverlay
 * @brief   OpenVR overlay
 *
 * vtkOpenVRDefaultOverlay support for VR overlays
*/

#ifndef vtkOpenVRDefaultOverlay_h
#define vtkOpenVRDefaultOverlay_h

#include "vtkRenderingOpenVRModule.h" // For export macro
#include "vtkOpenVROverlay.h"

class VTKRENDERINGOPENVR_EXPORT vtkOpenVRDefaultOverlay : public vtkOpenVROverlay
{
public:
  static vtkOpenVRDefaultOverlay *New();
  vtkTypeMacro(vtkOpenVRDefaultOverlay, vtkOpenVROverlay);
32
  void PrintSelf(ostream& os, vtkIndent indent) override;
Ken Martin's avatar
Ken Martin committed
33 34 35 36

  /**
   * Render the overlay, we set some opf the spots based on current settings
   */
37
  void Render() override;
Ken Martin's avatar
Ken Martin committed
38 39 40 41 42

protected:
  vtkOpenVRDefaultOverlay();
  ~vtkOpenVRDefaultOverlay();

43
  void SetupSpots() override;
Ken Martin's avatar
Ken Martin committed
44 45

private:
46 47
  vtkOpenVRDefaultOverlay(const vtkOpenVRDefaultOverlay&) = delete;
  void operator=(const vtkOpenVRDefaultOverlay&) = delete;
Ken Martin's avatar
Ken Martin committed
48 49 50
};

#endif