13#ifndef vtkOpenVROverlay_h 
   14#define vtkOpenVROverlay_h 
   18#include "vtkRenderingOpenVRModule.h"  
   24VTK_ABI_NAMESPACE_BEGIN
 
   71  std::vector<vtkOpenVROverlaySpot>& 
GetSpots() { 
return this->Spots; }
 
   92    this->DashboardImageFileName = name;
 
  109    return this->SavedCameraPoses;
 
  135  std::vector<vtkOpenVROverlaySpot> 
Spots;
 
a simple class to control print indentation
 
Allocate and hold a VTK object.
 
abstract base class for most VTK objects
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
std::map< int, vtkOpenVRCameraPose > SavedCameraPoses
 
std::string GetDashboardImageFileName()
Set/Get a file for the dashboard image.
 
vr::VROverlayHandle_t OverlayThumbnailHandle
 
std::string GetSessionName()
Set/Get a prefix for saving camera poses.
 
unsigned char * CurrentTextureData
 
static vtkOpenVROverlay * New()
 
virtual void ReadCameraPoses()
 
virtual std::map< int, vtkOpenVRCameraPose > & GetSavedCameraPoses()
 
virtual void LoadCameraPose(int num)
 
virtual void UpdateSpot(vtkOpenVROverlaySpot *spot)
 
std::vector< vtkOpenVROverlaySpot > & GetSpots()
 
std::string DashboardImageFileName
 
virtual void LoadNextCameraPose()
 
virtual void SetupSpots()
 
unsigned char * OriginalTextureData
 
vtkOpenVRCameraPose * GetSavedCameraPose(int i)
 
vtkNew< vtkTextureObject > OverlayTexture
 
vtkOpenVROverlaySpot * LastSpot
 
double ActiveSpotIntensity
 
virtual void SaveCameraPose(int num)
 
virtual void MouseButtonRelease(int x, int y)
methods to support events on the overlay
 
virtual void WriteCameraPoses()
 
virtual void SetDashboardImageData(vtkJPEGReader *rdr)
 
virtual void Create(vtkOpenVRRenderWindow *rw)
Create the overlay.
 
vr::VROverlayHandle_t OverlayHandle
 
virtual void ReadCameraPoses(istream &is)
 
virtual void WriteCameraPoses(ostream &os)
 
void SetSessionName(const std::string &name)
Set/Get a prefix for saving camera poses.
 
virtual void SetSavedCameraPose(int i, vtkOpenVRCameraPose *)
 
vtkWeakPointer< vtkOpenVRRenderWindow > Window
 
~vtkOpenVROverlay() override
 
virtual void ReadCameraPoses(vtkXMLDataElement *xml)
 
vr::VROverlayHandle_t GetOverlayHandle()
Get handle to the overlay.
 
virtual void Render()
Render the overlay.
 
vtkTextureObject * GetOverlayTexture()
Get handle to the overlay texture.
 
virtual void MouseMoved(int x, int y)
methods to support events on the overlay
 
void SetDashboardImageFileName(const std::string &name)
Set/Get a file for the dashboard image.
 
vtkOpenVROverlaySpot * GetLastSpot()
 
std::vector< vtkOpenVROverlaySpot > Spots
 
virtual void MouseButtonPress(int x, int y)
methods to support events on the overlay
 
abstracts an OpenGL texture object.
 
a weak reference to a vtkObject.
 
Represents an XML element and those nested inside.