Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkUSTelemedProbesControls.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 MITKUSTelemedProbesControls_H_HEADER_INCLUDED_
14 #define MITKUSTelemedProbesControls_H_HEADER_INCLUDED_
15 
16 #include "mitkUSTelemedSDKHeader.h"
17 #include "mitkUSTelemedProbe.h"
19 
20 #include <itkObjectFactory.h>
21 
22 namespace mitk {
23  class USTelemedDevice;
24 
30  {
31  public:
34 
38  virtual void SetIsActive(bool);
39 
40  virtual bool GetIsActive();
41 
42  virtual std::vector<USProbe::Pointer> GetProbeSet();
43  virtual void OnSelectProbe(unsigned int index);
44  virtual void OnSelectProbe(USProbe::Pointer probe);
45  virtual USProbe::Pointer GetSelectedProbe();
46  virtual unsigned int GetProbesCount() const;
47 
48  void ProbeRemoved(unsigned int index);
49  void ProbeAdded(unsigned int index);
50 
51  protected:
59  virtual ~USTelemedProbesControls();
60 
65 
72  void CreateProbesSet();
73 
74  bool m_IsActive;
75  unsigned int m_SelectedProbeIndex;
76  std::vector<USTelemedProbe::Pointer> m_ProbesSet;
78 
79  Usgfw2Lib::IUsgCollection* m_ProbesCollection;
80  Usgfw2Lib::IProbe* m_Probe;
81  };
82 }
83 
84 #endif // MITKUSTelemedProbesControls_H_HEADER_INCLUDED_
virtual void OnSelectProbe(unsigned int index)
Virtual method which is called inside mitk::USControlInterfaceProbes::SelectProbe(). Implement this method to handle the actual selecting of the probe at the device api.
std::vector< USTelemedProbe::Pointer > m_ProbesSet
Usgfw2Lib::IUsgCollection * m_ProbesCollection
Interface defining methods for probe selection of ultrasound devices. It consists of methods for gett...
virtual std::vector< USProbe::Pointer > GetProbeSet()
DataCollection - Class to facilitate loading/accessing structured data.
Implementation of mitk::USControlInterfaceProbes for Telemed ultrasound devices. See documentation of...
itk::SmartPointer< USTelemedDevice > m_TelemedDevice
USTelemedProbesControls(itk::SmartPointer< USTelemedDevice > device)
virtual USProbe::Pointer GetSelectedProbe()
mitkClassMacro(USTelemedProbesControls, USControlInterfaceProbes)
mitkNewMacro1Param(Self, itk::SmartPointer< USTelemedDevice >)
virtual unsigned int GetProbesCount() const