PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusIntersonVideoSource.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 __vtkPlusIntersonVideoSource_h
8 #define __vtkPlusIntersonVideoSource_h
9 
10 #include "vtkPlusDataCollectionExport.h"
11 #include "vtkPlusUsDevice.h"
12 
22 class vtkPlusDataCollectionExport vtkPlusIntersonVideoSource : public vtkPlusUsDevice
23 {
24 public:
27  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
28 
29  virtual bool IsTracker() const { return false; }
30 
32  virtual PlusStatus ReadConfiguration(vtkXMLDataElement* config);
34  virtual PlusStatus WriteConfiguration(vtkXMLDataElement* config);
35 
37  virtual PlusStatus NotifyConfigured();
38 
39  virtual std::string GetSdkVersion();
40 
42  PlusStatus GetSoundVelocity(double& aVel);
43 
45  PlusStatus SetDepthMm(double depthMm);
47  PlusStatus SetFrequencyMhz(float freq);
49  PlusStatus SetSectorPercent(double value);
51  PlusStatus SetIntensity(int value);
53  PlusStatus SetContrast(int value);
55  PlusStatus SetDynRangeDb(double value);
57  PlusStatus SetSoundVelocity(double value);
59  PlusStatus SetTimeGainCompensationPercent(double gainPercent[3]);
61  PlusStatus SetZoomFactor(float zoomFactor);
63  PlusStatus SetImageSize(int imageSize[2]);
64 
66  virtual PlusStatus SetNewImagingParameters(const vtkPlusUsImagingParameters& newImagingParameters);
67 
69 
70  bool GetEnableProbeButtonMonitoring() const;
71  void SetEnableProbeButtonMonitoring(bool _arg);
72 
73 protected:
75  virtual PlusStatus InternalConnect();
76 
79 
82 
85 
88 
89  PlusStatus GetFullIniFilePath(std::string& fullPath);
90 
91  PlusStatus FreezeDevice(bool freeze);
92 
93  PlusStatus WaitForFrame();
94 
95  PlusStatus GetSampleFrequencyDevice(double& aFreq);
96  PlusStatus GetSoundVelocityDevice(float& aVel);
97 
99  PlusStatus SetWindowDepthDevice(int height);
101  PlusStatus SetDepthMmDevice(double depthMm);
103  PlusStatus SetFrequencyMhzDevice(float aFreq);
105  PlusStatus SetSoundVelocityDevice(double velocity);
107  PlusStatus SetTimeGainCompensationPercentDevice(double gainPercent[3]);
109  PlusStatus SetZoomFactorDevice(float zoomFactor);
111  PlusStatus SetLookupTableDevice(double intensity, double contrast);
112 
117  PlusStatus GetProbeAllowedModes(std::vector< std::pair<double, double> >& allowedModes);
118 
120  PlusStatus GetProbeNameDevice(std::string& probeName);
121 
122 protected:
127 
128  class vtkInternal;
129  vtkInternal* Internal;
130 private:
131  vtkPlusIntersonVideoSource(const vtkPlusIntersonVideoSource&); // Not implemented.
132  void operator=(const vtkPlusIntersonVideoSource&); // Not implemented.
133 };
134 
135 #endif
virtual PlusStatus InternalStopRecording()
This class is used to store a configuration of the imaging parameters of an ultrasound video device....
double * velocity
Definition: phidget22.h:3326
virtual PlusStatus InternalConnect()
igsioStatus PlusStatus
Definition: PlusCommon.h:40
virtual PlusStatus SetNewImagingParameters(const vtkPlusUsImagingParameters &newImagingParameters)
virtual std::string GetSdkVersion()
#define VTK_OVERRIDE
Definition: PlusCommon.h:49
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *)
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual PlusStatus InternalStartRecording()
double contrast
Definition: phidget22.h:4297
static vtkPlusUsDevice * New()
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *)
const char const char * value
Definition: phidget22.h:5111
PhidgetLCD_Font int int * height
Definition: phidget22.h:4275
virtual PlusStatus InternalApplyImagingParameterChange()
virtual PlusStatus NotifyConfigured()
virtual PlusStatus InternalDisconnect()
Abstract interface for ultrasound video devices.
Class for acquiring ultrasound images from Interson USB ultrasound systems.
virtual PlusStatus InternalUpdate()