Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef MITKUSTelemedImageSource_H_HEADER_INCLUDED_
18 #define MITKUSTelemedImageSource_H_HEADER_INCLUDED_
19 
20 #include "mitkUSImageSource.h"
21 #include "mitkUSTelemedSDKHeader.h"
23 
24 #include "itkFastMutexLock.h"
25 
26 namespace mitk {
37 {
38 public:
40  itkFactorylessNewMacro(Self)
41  itkCloneMacro(Self)
42 
43 
47  virtual void GetNextRawImage( mitk::Image::Pointer& );
48 
54  void UpdateImageGeometry();
55 
60  bool CreateAndConnectConverterPlugin( Usgfw2Lib::IUsgDataView*, Usgfw2Lib::tagScanMode );
61 
62 protected:
64  virtual ~USTelemedImageSource( );
65 
66  Usgfw2Lib::IUsgScanConverterPlugin* m_Plugin;
68 
69  Usgfw2Lib::IUsgDataView* m_UsgDataView; // main SDK object for comminucating with the Telemed API
70 
71  //API objects for communication, used to get the right geometry
72  Usgfw2Lib::IUsgImageProperties* m_ImageProperties;
73  Usgfw2Lib::IUsgDepth* m_DepthProperties;
76 
77 
80 };
81 } // namespace mitk
82 
83 #endif // MITKUSTelemedImageSource_H
itk::SmartPointer< Self > Pointer
itk::FastMutexLock::Pointer m_ImageMutex
Usgfw2Lib::IUsgScanConverterPlugin * m_Plugin
Usgfw2Lib::IUsgImageProperties * m_ImageProperties
DataCollection - Class to facilitate loading/accessing structured data.
USTelemedScanConverterPlugin * m_PluginCallback
virtual void GetNextRawImage(mitk::Image::Pointer &)
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
bool CreateAndConnectConverterPlugin(Usgfw2Lib::IUsgDataView *, Usgfw2Lib::tagScanMode)
Connect this object to the Telemed API. This method is for being used by mitk::USTelemedDevice.