7 #ifndef __vtkPlusNvidiaDVPVideoSource_h 8 #define __vtkPlusNvidiaDVPVideoSource_h 10 #include "vtkPlusDataCollectionExport.h" 15 #include "nvConfigure.h" 43 vtkGetMacro(EnableGPUCPUCopy,
bool);
47 vtkSetMacro(EnableGPUCPUCopy,
bool);
56 HRESULT SetupSDIDevices();
58 GLboolean CleanupGL();
59 HRESULT CleanupSDIDevices();
60 HRESULT StartSDIPipeline();
61 HRESULT StopSDIPipeline();
62 GLenum CaptureVideo();
63 HRESULT CopyGPUToCPU();
67 HRESULT SetupSDIinGL();
68 HRESULT SetupSDIinDevices();
69 HRESULT CleanupSDIinGL();
99 bool EnableGPUCPUCopy;
vtkPlusDataSource * OutputDataSource
Data source for CPU output (if enabled)
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract interface for tracker and video devices.
virtual PlusStatus InternalConnect()
virtual bool IsTracker() const
CNvSDIin NvSDIin
Capture interface class.
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *)
#define MAX_VIDEO_STREAMS
nvOptions NvOptions
Options to configure capture.
unsigned long FrameNumber
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *)
unsigned char * CPUFrame
CPU memory storage of image.
virtual PlusStatus NotifyConfigured()
virtual PlusStatus InternalDisconnect()
HDC HandleDC
Windows device context.
virtual PlusStatus InternalUpdate()
Class for providing VTK video input interface from an NVidia digital video platform interface.
static vtkPlusDevice * New()
HGLRC HandleGLRC
Windows GL context.
Interface to a 3D positioning tool, video source, or generalized data stream.