7 #ifndef __vtkPlusICCapturingSource_h 8 #define __vtkPlusICCapturingSource_h 10 #include "vtkPlusDataCollectionExport.h" 67 vtkSetStringMacro(DeviceName);
69 vtkGetStringMacro(DeviceName);
72 vtkSetStringMacro(VideoNorm);
74 vtkGetStringMacro(VideoNorm);
77 vtkSetStringMacro(VideoFormat);
79 vtkGetStringMacro(VideoFormat);
82 vtkSetStringMacro(InputChannel);
84 vtkGetStringMacro(InputChannel);
87 vtkSetMacro(ICBufferSize,
int);
89 vtkGetMacro(ICBufferSize,
int);
92 void SetFrameSize(
const FrameSizeType& frameSize);
93 void SetFrameSize(
unsigned int i,
unsigned int j,
unsigned int k);
95 FrameSizeType GetFrameSize()
const;
102 void GetListOfCaptureDevices(std::vector< std::string >& deviceNames);
104 void GetListOfCaptureVideoNorms(std::vector< std::string >& videoNorms,
const std::string&
deviceName);
107 void GetListOfCaptureVideoModes(std::vector< std::string >& videoModes,
const std::string&
deviceName,
const std::string& videoNorm);
110 void LogListOfCaptureDevices();
131 PlusStatus AddFrameToBuffer(
unsigned char*
data,
unsigned long size,
unsigned long frameNumber);
134 void ParseDShowLibVideoFormatString(
const char* videoFormatFrameSizeString);
137 std::string GetDShowLibVideoFormatString();
163 static bool vtkPlusICCapturingSourceNewFrameCallback(
unsigned char*
data,
unsigned long size,
unsigned long frameNumber);
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual PlusStatus InternalStopRecording()
Abstract interface for tracker and video devices.
static vtkPlusICCapturingSourceCleanup Cleanup
virtual PlusStatus InternalConnect()
virtual bool IsTracker() const
virtual std::string GetSdkVersion()
Class for providing video input interfaces between VTK and ICCapturing frame grabber device.
Class that listens for incoming framegrabber images.
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *)
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *)
virtual PlusStatus InternalStartRecording()
Class that cleans up (deletes singleton instance of) vtkPlusICCapturingSource when destroyed.
class vtkPlusDataCollectionExport vtkPlusICCapturingSource
virtual PlusStatus NotifyConfigured()
virtual PlusStatus InternalDisconnect()
ICCapturingListener * FrameGrabberListener
static vtkPlusDevice * New()