Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkUSDevicePersistence.h>
Public Member Functions | |
mitkClassMacroItkParent (USDevicePersistence, itk::Object) | |
Pointer | Clone () const |
void | StoreCurrentDevices () |
std::vector< mitk::USDevice::Pointer > | RestoreLastDevices () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
USDevicePersistence () | |
~USDevicePersistence () override | |
QString | USVideoDeviceToString (mitk::USVideoDevice::Pointer d) |
mitk::USVideoDevice::Pointer | StringToUSVideoDevice (QString s) |
QString | USProbeToString (mitk::USProbe::Pointer p) |
mitk::USProbe::Pointer | StringToUSProbe (std::string s) |
void | split (std::string &text, std::string &separators, std::vector< std::string > &words) |
double | spacingToDouble (std::string s) |
int | depthToInt (std::string s) |
Protected Attributes | |
QSettings | m_devices |
Documentation TODO
Definition at line 32 of file mitkUSDevicePersistence.h.
|
protected |
Definition at line 23 of file mitkUSDevicePersistence.cpp.
|
inlineoverrideprotected |
Definition at line 46 of file mitkUSDevicePersistence.h.
References StringToUSProbe(), StringToUSVideoDevice(), USProbeToString(), and USVideoDeviceToString().
Pointer mitk::USDevicePersistence::Clone | ( | ) | const |
|
protected |
Definition at line 329 of file mitkUSDevicePersistence.cpp.
References mitkThrow.
Referenced by StringToUSProbe().
mitk::USDevicePersistence::mitkClassMacroItkParent | ( | USDevicePersistence | , |
itk::Object | |||
) |
|
static |
Referenced by mitk::USActivator::Load(), and mitk::USActivator::Unload().
std::vector< mitk::USDevice::Pointer > mitk::USDevicePersistence::RestoreLastDevices | ( | ) |
Definition at line 55 of file mitkUSDevicePersistence.cpp.
References m_devices, MITK_ERROR, MITK_INFO, and StringToUSVideoDevice().
|
protected |
Definition at line 317 of file mitkUSDevicePersistence.cpp.
References mitkThrow.
Referenced by StringToUSProbe().
|
protected |
Definition at line 302 of file mitkUSDevicePersistence.cpp.
Referenced by StringToUSProbe(), and StringToUSVideoDevice().
void mitk::USDevicePersistence::StoreCurrentDevices | ( | ) |
Definition at line 27 of file mitkUSDevicePersistence.cpp.
References us::GetModuleContext(), m_devices, MITK_INFO, MITK_WARN, and USVideoDeviceToString().
|
protected |
Definition at line 231 of file mitkUSDevicePersistence.cpp.
References depthToInt(), MITK_ERROR, mitk::USProbe::New(), spacingToDouble(), and split().
Referenced by StringToUSVideoDevice(), and ~USDevicePersistence().
|
protected |
Definition at line 164 of file mitkUSDevicePersistence.cpp.
References MITK_ERROR, MITK_INFO, mitkThrow, mitk::ImageSource::New(), split(), and StringToUSProbe().
Referenced by RestoreLastDevices(), and ~USDevicePersistence().
|
protected |
Definition at line 141 of file mitkUSDevicePersistence.cpp.
Referenced by USVideoDeviceToString(), and ~USDevicePersistence().
|
protected |
Definition at line 83 of file mitkUSDevicePersistence.cpp.
References MITK_ERROR, MITK_INFO, mitkThrow, and USProbeToString().
Referenced by StoreCurrentDevices(), and ~USDevicePersistence().
|
protected |
Definition at line 53 of file mitkUSDevicePersistence.h.
Referenced by RestoreLastDevices(), and StoreCurrentDevices().