Medical Imaging Interaction Toolkit  2022.04.99-01b95b17
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_HEADER_INCLUDED_
14 #define MITKUSTelemedImageSource_H_HEADER_INCLUDED_
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 // MITKUSTelemedImageSource_H
Usgfw2Lib::IUsgScanConverterPlugin * m_Plugin
Usgfw2Lib::IUsgImageProperties * m_ImageProperties
DataCollection - Class to facilitate loading/accessing structured data.
USTelemedScanConverterPlugin * m_PluginCallback
This is an abstract superclass for delivering USImages. Each subclass must implement the method mitk:...
Usgfw2Lib::IUsgDepth * m_DepthProperties
mitkClassMacro(USTelemedImageSource, USImageSource)
Implementation of mitk::USImageSource for Telemed API devices. The method mitk::USImageSource::GetNex...
virtual void GetNextRawImage(std::vector< mitk::Image::Pointer > &)
Telemed API plugin for getting images from scan lines. Implements a COM interface whereat only the fu...
Usgfw2Lib::IUsgDataView * m_UsgDataView
bool CreateAndConnectConverterPlugin(Usgfw2Lib::IUsgDataView *, Usgfw2Lib::tagScanMode)
Connect this object to the Telemed API. This method is for being used by mitk::USTelemedDevice.