Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 #include "itkFastMutexLock.h"
21 
22 namespace mitk {
33 {
34 public:
36  itkFactorylessNewMacro(Self);
37  itkCloneMacro(Self);
38 
43  virtual void GetNextRawImage( std::vector<mitk::Image::Pointer>& );
44 
50  void UpdateImageGeometry();
51 
56  bool CreateAndConnectConverterPlugin( Usgfw2Lib::IUsgDataView*, Usgfw2Lib::tagScanMode );
57 
58 protected:
60  virtual ~USTelemedImageSource( );
61 
62  Usgfw2Lib::IUsgScanConverterPlugin* m_Plugin;
64 
65  Usgfw2Lib::IUsgDataView* m_UsgDataView; // main SDK object for comminucating with the Telemed API
66 
67  //API objects for communication, used to get the right geometry
68  Usgfw2Lib::IUsgImageProperties* m_ImageProperties;
69  Usgfw2Lib::IUsgDepth* m_DepthProperties;
72 
73 
75  itk::FastMutexLock::Pointer m_ImageMutex;
76 };
77 } // namespace mitk
78 
79 #endif // MITKUSTelemedImageSource_H
itk::FastMutexLock::Pointer m_ImageMutex
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...
Telemed API plugin for getting images from scan lines. Implements a COM interface whereat only the fu...
Usgfw2Lib::IUsgDataView * m_UsgDataView
virtual void GetNextRawImage(std::vector< mitk::Image::Pointer > &)
bool CreateAndConnectConverterPlugin(Usgfw2Lib::IUsgDataView *, Usgfw2Lib::tagScanMode)
Connect this object to the Telemed API. This method is for being used by mitk::USTelemedDevice.