16 #include "PlusConfigure.h" 17 #include "vtkPlusNvidiaDVPVideoSource.h" 21 #include <vtkObjectFactory.h> 27 #include <NVCtrlLib.h> 38 , EnableGPUCPUCopy( false )
63 LOG_TRACE(
"vtkPlusPhilips3DProbeVideoSource::InternalConnect" );
72 LOG_TRACE(
"vtkPlusNvidiaDVPVideoSource::InternalDisconnect" );
86 LOG_TRACE(
"vtkPlusNvidiaDVPVideoSource::ReadConfiguration" );
97 LOG_TRACE(
"vtkPlusNvidiaDVPVideoSource::WriteConfiguration" );
111 LOG_ERROR(
"Incorrect configuration. GPU/CPU copy and OutputChannel configuration are incompatible." );
119 LOG_ERROR(
"Unable to find video source. Device needs a video buffer to put new frames into when copying frames from the GPU." );
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
bool EnableGPUCPUCopy
Enable copying of frame data from GPU to CPU for broadcasting.
#define XML_FIND_DEVICE_ELEMENT_REQUIRED_FOR_WRITING(deviceConfig, rootConfigElement)
vtkStandardNewMacro(vtkPlusNvidiaDVPVideoSource)
virtual PlusStatus InternalDisconnect()
PlusStatus GetFirstVideoSource(vtkPlusDataSource *&anImage)
virtual PlusStatus Disconnect()
virtual PlusStatus NotifyConfigured()
Perform any completion tasks once configured.
virtual void SetCorrectlyConfigured(bool)
#define XML_FIND_DEVICE_ELEMENT_REQUIRED_FOR_READING(deviceConfig, rootConfigElement)
virtual PlusStatus InternalUpdate()
virtual ~vtkPlusNvidiaDVPVideoSource()
bool StartThreadForInternalUpdates
virtual bool IsTracker() const
Respond to the query if this is a tracker or not.
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *config)
Read configuration from XML data.
ChannelContainer OutputChannels
DVPAPI_INTERFACE dvpInitGLContext(uint32_t flags)
virtual PlusStatus InternalConnect()
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *config)
Write configuration to XML data.
Class for providing VTK video input interface from an NVidia digital video platform interface.
vtkPlusNvidiaDVPVideoSource()
Interface to a 3D positioning tool, video source, or generalized data stream.