PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusNVidiaDVPVideoSourceLinux.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2 Program: Plus
3 Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4 See License.txt for details.
5 =========================================================Plus=header=end*/
6 
7 #ifndef __vtkPlusNvidiaDVPVideoSource_h
8 #define __vtkPlusNvidiaDVPVideoSource_h
9 
10 #include "vtkPlusDataCollectionExport.h"
11 
12 #include "vtkPlusDevice.h"
13 
19 class vtkPlusDataCollectionExport vtkPlusNvidiaDVPVideoSource : public vtkPlusDevice
20 {
21 public:
24  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
25 
27  virtual PlusStatus ReadConfiguration(vtkXMLDataElement* config);
29  virtual PlusStatus WriteConfiguration(vtkXMLDataElement* config);
30 
32  virtual bool IsTracker() const;
33 
35  virtual PlusStatus NotifyConfigured();
36 
38  vtkGetMacro(EnableGPUCPUCopy, bool);
40  vtkSetMacro(EnableGPUCPUCopy, bool);
41 
42 protected:
44  virtual ~vtkPlusNvidiaDVPVideoSource();
45 
46  virtual PlusStatus InternalConnect();
48  virtual PlusStatus InternalUpdate();
49 
50 protected:
52  uint64_t FrameNumber;
53 
56 
57 private:
58  vtkPlusNvidiaDVPVideoSource(const vtkPlusNvidiaDVPVideoSource&); // Not implemented.
59  void operator=(const vtkPlusNvidiaDVPVideoSource&); // Not implemented.
60 };
61 
62 #endif
63 
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
bool EnableGPUCPUCopy
Enable copying of frame data from GPU to CPU for broadcasting.
Abstract interface for tracker and video devices.
Definition: vtkPlusDevice.h:60
virtual PlusStatus InternalConnect()
igsioStatus PlusStatus
Definition: PlusCommon.h:40
virtual bool IsTracker() const
#define VTK_OVERRIDE
Definition: PlusCommon.h:49
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *)
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *)
uint64_t FrameNumber
The current frame number.
virtual PlusStatus NotifyConfigured()
virtual PlusStatus InternalDisconnect()
virtual PlusStatus InternalUpdate()
Class for providing VTK video input interface from an NVidia digital video platform interface.
static vtkPlusDevice * New()