13 #ifndef vtkOpenVROverlay_h
14 #define vtkOpenVROverlay_h
18 #include "vtkRenderingOpenVRModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
43 virtual void Render();
64 virtual void MouseMoved(
int x,
int y);
65 virtual void MouseButtonPress(
int x,
int y);
66 virtual void MouseButtonRelease(
int x,
int y);
71 std::vector<vtkOpenVROverlaySpot>&
GetSpots() {
return this->Spots; }
92 this->DashboardImageFileName =
name;
99 virtual void WriteCameraPoses(ostream& os);
100 virtual void WriteCameraPoses();
101 virtual void ReadCameraPoses();
102 virtual void ReadCameraPoses(istream& is);
104 virtual void SaveCameraPose(
int num);
105 virtual void LoadCameraPose(
int num);
106 virtual void LoadNextCameraPose();
109 return this->SavedCameraPoses;
135 std::vector<vtkOpenVROverlaySpot>
Spots;
153 VTK_ABI_NAMESPACE_END
std::string DashboardImageFileName
void SetDashboardImageFileName(VTK_FILEPATH const std::string &name)
Set/Get a file for the dashboard image.
vtkWeakPointer< vtkOpenVRRenderWindow > Window
abstract base class for most VTK objects
vtkTextureObject * GetOverlayTexture()
Get handle to the overlay texture.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Represents an XML element and those nested inside.
vtkOpenVROverlaySpot * LastSpot
std::map< int, vtkOpenVRCameraPose > SavedCameraPoses
unsigned char * CurrentTextureData
double ActiveSpotIntensity
a simple class to control print indentation
vtkNew< vtkTextureObject > OverlayTexture
vr::VROverlayHandle_t OverlayHandle
unsigned char * OriginalTextureData
vtkOpenVROverlaySpot * GetLastSpot()
VTK_FILEPATH std::string GetDashboardImageFileName()
Set/Get a file for the dashboard image.
vr::VROverlayHandle_t OverlayThumbnailHandle
std::vector< vtkOpenVROverlaySpot > & GetSpots()
abstracts an OpenGL texture object.
std::vector< vtkOpenVROverlaySpot > Spots
vr::VROverlayHandle_t GetOverlayHandle()
Get handle to the overlay.
void SetSessionName(const std::string &name)
Set/Get a prefix for saving camera poses.
virtual std::map< int, vtkOpenVRCameraPose > & GetSavedCameraPoses()
virtual void SetupSpots()
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
std::string GetSessionName()
Set/Get a prefix for saving camera poses.