16 #ifndef __vtkPlusMmfVideoSource_h 17 #define __vtkPlusMmfVideoSource_h 20 #include "vtkPlusDataCollectionExport.h" 22 #include "vtkIGSIORecursiveCriticalSection.h" 25 #include <vtkSmartPointer.h> 27 class MmfVideoSourceReader;
40 friend class MmfVideoSourceReader;
44 unsigned int DeviceId;
45 unsigned int StreamIndex;
46 FrameSizeType FrameSize;
47 std::wstring PixelFormatName;
55 virtual void SetRequestedDeviceId(
unsigned int deviceId);
56 virtual void SetRequestedVideoFormat(
const std::wstring& pixelFormatName);
57 virtual void SetRequestedStreamIndex(
unsigned int streamIndex);
58 virtual void SetRequestedFrameSize(
const FrameSizeType& frameSize);
60 std::wstring GetRequestedDeviceName();
61 std::wstring GetActiveDeviceName();
62 void GetListOfCaptureVideoFormats(std::vector<std::wstring>& videoModes,
unsigned int deviceId);
63 void LogListOfCaptureVideoFormats(
unsigned int deviceId);
64 void GetListOfCaptureDevices(std::vector<std::wstring>& deviceNames);
65 void LogListOfCaptureDevices();
97 std::wstring GetCaptureDeviceName(
unsigned int deviceId);
101 vtkSmartPointer<vtkIGSIORecursiveCriticalSection>
Mutex;
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual PlusStatus InternalStopRecording()
Abstract interface for tracker and video devices.
vtkSmartPointer< vtkIGSIORecursiveCriticalSection > Mutex
virtual bool IsTracker() const
virtual PlusStatus InternalConnect()
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *)
VideoFormat ActiveVideoFormat
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *)
virtual PlusStatus InternalStartRecording()
igsioVideoFrame UncompressedVideoFrame
virtual PlusStatus NotifyConfigured()
virtual PlusStatus InternalDisconnect()
VideoFormat RequestedVideoFormat
Microsoft media foundation video digitizer.
MmfVideoSourceReader * MmfSourceReader
static vtkPlusDevice * New()