PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusDAQVideoSource.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 
6 Developed by ULL & IACTEC-IAC group
7 =========================================================Plus=header=end*/
8 
9 #ifndef __vtkPlusDAQVideoSource_h
10 #define __vtkPlusDAQVideoSource_h
11 
12 #include "vtkPlusDataCollectionExport.h"
13 #include "vtkPlusDevice.h"
14 
22 class vtkPlusDataCollectionExport vtkPlusDAQVideoSource : public vtkPlusDevice
23 {
24 public:
25  static vtkPlusDAQVideoSource* New();
27  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
28 
30  PlusStatus ReadConfiguration(vtkXMLDataElement* config);
32  PlusStatus WriteConfiguration(vtkXMLDataElement* config);
33 
35  bool IsTracker() const { return false; }
36 
39 
41  virtual PlusStatus NotifyConfigured();
42 
43 protected:
46 
48  virtual PlusStatus InternalDisconnect() VTK_OVERRIDE;
49 
50 protected:
51  typedef unsigned short CAMERADATATYPE_t;
52  enum COLORDEPTH_E {COLORDEPTH_8 = 8,COLORDEPTH_16 = 16,COLORDEPTH_32 = 32,COLORDEPTH_64 = 64} colorDepth;
53  enum DATAMODE_E { DATAMODE_8 = 0,DATAMODE_16 = 1,DATAMODE_32 = 2,DATAMODE_64 = 3 } m_dataMode;
54  enum CAMERAMODE_E { CAMERAMODE_SCAN, CAMERAMODE_LINE } cameraMode;
57  unsigned char * pImgBufAux;
65  double m_currentTime = UNDEFINED_TIMESTAMP;
66 };
67 
68 #endif // __vtkPlusDAQVideoSource_h
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract interface for tracker and video devices.
Definition: vtkPlusDevice.h:60
virtual PlusStatus InternalConnect()
igsioStatus PlusStatus
Definition: PlusCommon.h:40
#define VTK_OVERRIDE
Definition: PlusCommon.h:49
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *)
unsigned long DWORD
Definition: ATC3DGm.h:451
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *)
Class for interfacing an Infrared capture device and recording frames into a Plus buffer.
virtual PlusStatus NotifyConfigured()
CAMERADATATYPE_t * pImgBuf
virtual PlusStatus InternalUpdate()
static vtkPlusDevice * New()