MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkUSControlInterfaceProbes.cpp
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
14#include "mitkUSDevice.h"
15
20
24
26{
27 this->OnSelectProbe(index);
28 m_Device->UpdateServiceProperty(mitk::USDevice::GetPropertyKeys().US_PROPKEY_PROBES_SELECTED,
29 this->GetSelectedProbe()->GetName());
30
31}
32
33void mitk::USControlInterfaceProbes::SelectProbe( USProbe::Pointer probe )
34{
35 this->OnSelectProbe(probe);
36 m_Device->UpdateServiceProperty(mitk::USDevice::GetPropertyKeys().US_PROPKEY_PROBES_SELECTED,
37 this->GetSelectedProbe()->GetName());
38}
Superclass for all ultrasound device control interfaces. Defines an interface for activating and deac...
USControlInterfaceProbes(itk::SmartPointer< USDevice > device)
static mitk::USDevice::PropertyKeys GetPropertyKeys()
IGT Exceptions.