PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusUltravioletPCOUVCam.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 __vtkPlusUltravioletPCOUVCam_h
10 #define __vtkPlusUltravioletPCOUVCam_h
11 
12 #include "vtkPlusDataCollectionExport.h"
13 #include "vtkPlusDevice.h"
14 
22 class vtkPlusDataCollectionExport vtkPlusUltravioletPCOUVCam : public vtkPlusDevice
23 {
24 public:
27  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
28 
30  PlusStatus ReadConfiguration(vtkXMLDataElement* config);
32  PlusStatus WriteConfiguration(vtkXMLDataElement* config);
33 
35  PlusStatus FreezeDevice(bool freeze);
36 
38  bool IsTracker() const { return false; }
39 
42 
44  virtual PlusStatus NotifyConfigured();
45 
46 protected:
49 
51  virtual PlusStatus InternalDisconnect() VTK_OVERRIDE;
52 
53 protected:
54  int device;
55  WORD *pImgBuf;
56  HANDLE cam;
57  HANDLE BufEvent;
58  short BufNum;
59  WORD XResAct, YResAct, XResMax, YResMax;
60  DWORD bufsize;
61  DWORD dwDelay;
62  DWORD dwExposure;
63  WORD wTimeBaseDelay;
64  WORD wTimeBaseExposure;
65 };
66 
67 #endif // __vtkPlusUltravioletPCOUVCam_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
unsigned short WORD
Definition: ATC3DGm.h:450
#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 PCO Ultraviolet capture device and recording frames into a Plus buffer.
virtual PlusStatus NotifyConfigured()
virtual PlusStatus InternalUpdate()
static vtkPlusDevice * New()