7 #ifndef __vtkPlusOvrvisionProVideoSource_h 8 #define __vtkPlusOvrvisionProVideoSource_h 10 #include "vtkPlusDataCollectionExport.h" 14 #include <ovrvision_pro.h> 17 #include <opencv2/core/mat.hpp> 29 void PrintSelf(ostream& os, vtkIndent indent);
44 vtkGetStdStringMacro(LeftEyeDataSourceName);
45 vtkGetStdStringMacro(RightEyeDataSourceName);
46 vtkGetStdStringMacro(ProcessingModeName);
47 vtkGetStdStringMacro(Vendor);
49 std::array<unsigned int, 2> GetResolution()
const;
50 vtkGetMacro(Framerate,
int);
51 vtkGetMacro(CameraSync,
bool);
52 vtkSetMacro(Exposure,
int);
55 vtkSetStdStringMacro(LeftEyeDataSourceName);
56 vtkSetStdStringMacro(RightEyeDataSourceName);
57 vtkSetStdStringMacro(ProcessingModeName);
58 vtkSetStdStringMacro(Vendor);
60 vtkSetMacro(CameraSync,
bool);
61 vtkGetMacro(Exposure,
int);
72 void ConfigureProcessingMode();
74 static std::string CamPropToString(OVR::Camprop format);
75 static OVR::Camprop StringToCamProp(
const std::string& format);
104 #if defined(PLUS_USE_OPENCL) 105 cv::UMat LeftImageCL;
106 cv::UMat RightImageCL;
cv::Mat LeftImageColorConverted
std::array< unsigned int, 2 > Resolution
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract interface for tracker and video devices.
cv::Mat RightImageColorConverted
virtual PlusStatus InternalConnect()
OVR::Camprop RequestedFormat
vtkPlusDataSource * RightEyeDataSource
OVR::ROI RegionOfInterest
OVR::OvrvisionPro OvrvisionProHandle
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *)
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *)
virtual bool IsTracker() const
OVR::Camqt ProcessingMode
std::string LeftEyeDataSourceName
std::string RightEyeDataSourceName
std::string ProcessingModeName
virtual PlusStatus NotifyConfigured()
virtual PlusStatus InternalDisconnect()
virtual PlusStatus InternalUpdate()
vtkPlusDataSource * LeftEyeDataSource
static vtkPlusDevice * New()
Interface to a 3D positioning tool, video source, or generalized data stream.