Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkUSControlInterfaceProbes.cpp
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 
18 #include "mitkUSDevice.h"
19 
22 {
23 }
24 
26 {
27 }
28 
30 {
31  this->OnSelectProbe(index);
32  m_Device->UpdateServiceProperty(mitk::USDevice::GetPropertyKeys().US_PROPKEY_PROBES_SELECTED,
33  this->GetSelectedProbe()->GetName());
34 
35 }
36 
38 {
39  this->OnSelectProbe(probe);
40  m_Device->UpdateServiceProperty(mitk::USDevice::GetPropertyKeys().US_PROPKEY_PROBES_SELECTED,
41  this->GetSelectedProbe()->GetName());
42 }
Superclass for all ultrasound device control interfaces. Defines an interface for activating and deac...
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
USControlInterfaceProbes(itk::SmartPointer< USDevice > device)
static std::string GetName(std::string fileName, std::string suffix)