Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkUSTelemedImageSource.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkUSTelemedImageSource_h
14 #define mitkUSTelemedImageSource_h
15 
16 #include "mitkUSImageSource.h"
17 #include "mitkUSTelemedSDKHeader.h"
19 
20 namespace mitk {
31 {
32 public:
34  itkFactorylessNewMacro(Self);
35  itkCloneMacro(Self);
36 
41  virtual void GetNextRawImage( std::vector<mitk::Image::Pointer>& );
42 
48  void UpdateImageGeometry();
49 
54  bool CreateAndConnectConverterPlugin( Usgfw2Lib::IUsgDataView*, Usgfw2Lib::tagScanMode );
55 
56 protected:
58  virtual ~USTelemedImageSource( );
59 
60  Usgfw2Lib::IUsgScanConverterPlugin* m_Plugin;
62 
63  Usgfw2Lib::IUsgDataView* m_UsgDataView; // main SDK object for comminucating with the Telemed API
64 
65  //API objects for communication, used to get the right geometry
66  Usgfw2Lib::IUsgImageProperties* m_ImageProperties;
67  Usgfw2Lib::IUsgDepth* m_DepthProperties;
70 
71 
73  std::mutex* m_ImageMutex;
74 };
75 } // namespace mitk
76 
77 #endif
mitk::USTelemedImageSource::m_OldnXPelsPerUnit
long m_OldnXPelsPerUnit
Definition: mitkUSTelemedImageSource.h:68
mitk::USTelemedImageSource::m_UsgDataView
Usgfw2Lib::IUsgDataView * m_UsgDataView
Definition: mitkUSTelemedImageSource.h:63
mitkUSTelemedSDKHeader.h
mitk::USTelemedImageSource::~USTelemedImageSource
virtual ~USTelemedImageSource()
mitkUSTelemedScanConverterPlugin.h
mitk::USTelemedImageSource
Implementation of mitk::USImageSource for Telemed API devices. The method mitk::USImageSource::GetNex...
Definition: mitkUSTelemedImageSource.h:30
itk::SmartPointer< Self >
mitk::USTelemedImageSource::m_Image
mitk::Image::Pointer m_Image
Definition: mitkUSTelemedImageSource.h:72
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::USImageSource
This is an abstract superclass for delivering USImages. Each subclass must implement the method mitk:...
Definition: mitkUSImageSource.h:38
mitk::USTelemedImageSource::m_OldnYPelsPerUnit
long m_OldnYPelsPerUnit
Definition: mitkUSTelemedImageSource.h:69
mitk::USTelemedImageSource::m_PluginCallback
USTelemedScanConverterPlugin * m_PluginCallback
Definition: mitkUSTelemedImageSource.h:61
mitk::USTelemedImageSource::USTelemedImageSource
USTelemedImageSource()
mitk::USTelemedImageSource::m_DepthProperties
Usgfw2Lib::IUsgDepth * m_DepthProperties
Definition: mitkUSTelemedImageSource.h:67
mitk::USTelemedImageSource::UpdateImageGeometry
void UpdateImageGeometry()
mitk::USTelemedImageSource::m_ImageProperties
Usgfw2Lib::IUsgImageProperties * m_ImageProperties
Definition: mitkUSTelemedImageSource.h:66
mitk::USTelemedImageSource::m_ImageMutex
std::mutex * m_ImageMutex
Definition: mitkUSTelemedImageSource.h:73
mitkUSImageSource.h
mitk::USTelemedImageSource::m_Plugin
Usgfw2Lib::IUsgScanConverterPlugin * m_Plugin
Definition: mitkUSTelemedImageSource.h:60
mitk::USTelemedImageSource::mitkClassMacro
mitkClassMacro(USTelemedImageSource, USImageSource)
USTelemedScanConverterPlugin
Telemed API plugin for getting images from scan lines. Implements a COM interface whereat only the fu...
Definition: mitkUSTelemedScanConverterPlugin.h:41
mitk::USTelemedImageSource::CreateAndConnectConverterPlugin
bool CreateAndConnectConverterPlugin(Usgfw2Lib::IUsgDataView *, Usgfw2Lib::tagScanMode)
Connect this object to the Telemed API. This method is for being used by mitk::USTelemedDevice.
mitk::USTelemedImageSource::GetNextRawImage
virtual void GetNextRawImage(std::vector< mitk::Image::Pointer > &)