Medical Imaging Interaction Toolkit  2023.12.00
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
14 #define mitkUSTelemedProbesControls_h
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
mitk::USTelemedProbesControls::CreateProbesCollection
bool CreateProbesCollection()
mitkUSTelemedSDKHeader.h
mitk::USTelemedProbesControls::m_TelemedDevice
itk::SmartPointer< USTelemedDevice > m_TelemedDevice
Definition: mitkUSTelemedProbesControls.h:77
mitk::USTelemedProbesControls::mitkNewMacro1Param
mitkNewMacro1Param(Self, itk::SmartPointer< USTelemedDevice >)
mitk::USTelemedProbesControls::OnSelectProbe
virtual void OnSelectProbe(unsigned int index)
Virtual method which is called inside mitk::USControlInterfaceProbes::SelectProbe()....
mitk::USTelemedProbesControls::GetIsActive
virtual bool GetIsActive()
itk::SmartPointer
Definition: mitkIFileReader.h:30
mitk::USTelemedProbesControls::SetIsActive
virtual void SetIsActive(bool)
mitk::USTelemedProbesControls::GetProbeSet
virtual std::vector< USProbe::Pointer > GetProbeSet()
mitkUSTelemedProbe.h
mitk::USTelemedProbesControls::USTelemedProbesControls
USTelemedProbesControls(itk::SmartPointer< USTelemedDevice > device)
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::USTelemedProbesControls::mitkClassMacro
mitkClassMacro(USTelemedProbesControls, USControlInterfaceProbes)
mitkUSControlInterfaceProbes.h
mitk::USTelemedProbesControls::~USTelemedProbesControls
virtual ~USTelemedProbesControls()
mitk::USTelemedProbesControls::CreateProbesSet
void CreateProbesSet()
mitk::USTelemedProbesControls::GetSelectedProbe
virtual USProbe::Pointer GetSelectedProbe()
mitk::USTelemedProbesControls::ProbeAdded
void ProbeAdded(unsigned int index)
mitk::USControlInterfaceProbes
Interface defining methods for probe selection of ultrasound devices. It consists of methods for gett...
Definition: mitkUSControlInterfaceProbes.h:30
mitk::USTelemedProbesControls::ProbeRemoved
void ProbeRemoved(unsigned int index)
mitk::USTelemedProbesControls::m_IsActive
bool m_IsActive
Definition: mitkUSTelemedProbesControls.h:74
mitk::USTelemedProbesControls::GetProbesCount
virtual unsigned int GetProbesCount() const
mitk::USTelemedProbesControls::m_ProbesSet
std::vector< USTelemedProbe::Pointer > m_ProbesSet
Definition: mitkUSTelemedProbesControls.h:76
mitk::USTelemedProbesControls::m_SelectedProbeIndex
unsigned int m_SelectedProbeIndex
Definition: mitkUSTelemedProbesControls.h:75
mitk::USTelemedProbesControls::m_Probe
Usgfw2Lib::IProbe * m_Probe
Definition: mitkUSTelemedProbesControls.h:80
mitk::USTelemedProbesControls::m_ProbesCollection
Usgfw2Lib::IUsgCollection * m_ProbesCollection
Definition: mitkUSTelemedProbesControls.h:79
mitk::USTelemedProbesControls
Implementation of mitk::USControlInterfaceProbes for Telemed ultrasound devices. See documentation of...
Definition: mitkUSTelemedProbesControls.h:29