 |
VTK
9.0.1
|
Go to the documentation of this file.
24 #ifndef vtkOpenVROverlay_h
25 #define vtkOpenVROverlay_h
29 #include "vtkRenderingOpenVRModule.h"
53 virtual void Render();
74 virtual void MouseMoved(
int x,
int y);
75 virtual void MouseButtonPress(
int x,
int y);
76 virtual void MouseButtonRelease(
int x,
int y);
81 std::vector<vtkOpenVROverlaySpot>&
GetSpots() {
return this->Spots; }
106 virtual void WriteCameraPoses(ostream& os);
107 virtual void WriteCameraPoses();
108 virtual void ReadCameraPoses();
109 virtual void ReadCameraPoses(istream& is);
111 virtual void SaveCameraPose(
int num);
112 virtual void LoadCameraPose(
int num);
113 virtual void LoadNextCameraPose();
116 return this->SavedCameraPoses;
142 std::vector<vtkOpenVROverlaySpot>
Spots;
std::string GetDashboardImageFileName()
void SetDashboardImageFileName(const std::string &name)
Set/Get a file for the dashboard image.
void SetSessionName(const std::string &name)
Set/Get a prefix for saving camera poses.
std::map< int, vtkOpenVRCameraPose > SavedCameraPoses
virtual void SetupSpots()
unsigned char * CurrentTextureData
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
double ActiveSpotIntensity
abstract base class for most VTK objects
vtkNew< vtkTextureObject > OverlayTexture
vr::VROverlayHandle_t OverlayThumbnailHandle
vr::VROverlayHandle_t GetOverlayHandle()
Get handle to the overlay.
vtkWeakPointer< vtkOpenVRRenderWindow > Window
vtkOpenVROverlaySpot * GetLastSpot()
virtual std::map< int, vtkOpenVRCameraPose > & GetSavedCameraPoses()
std::vector< vtkOpenVROverlaySpot > Spots
a simple class to control print indentation
abstracts an OpenGL texture object.
vtkOpenVROverlaySpot * LastSpot
std::string GetSessionName()
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.
std::string DashboardImageFileName
vtkTextureObject * GetOverlayTexture()
Get handle to the overlay texture.
unsigned char * OriginalTextureData
vr::VROverlayHandle_t OverlayHandle
std::vector< vtkOpenVROverlaySpot > & GetSpots()