Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkGalilMotor.h>
Public Member Functions | |
mitkClassMacroItkParent (mitk::GalilMotor, itk::Object) | |
virtual bool | OpenConnection (std::string configuration) |
virtual bool | CloseConnection () |
double | GetMinWavelength () |
double | GetMaxWavelength () |
double | GetCurrentWavelength () |
bool | TuneToWavelength (double wavelength, bool isRecalibrating) |
bool | FastTuneWavelengths (std::vector< double > wavelengthList) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
virtual bool | Home () |
void | LoadResorceFile (std::string filename, std::string *lines) |
int | GetPositionFromWavelength (double wavelength) |
GalilMotor () | |
virtual | ~GalilMotor () |
Protected Attributes | |
int | m_ComPort |
int | m_BaudRate |
std::string | m_ErrorMessage |
GCon | m_GalilSystem |
GReturn | m_ReturnCode |
std::string | m_XmlOpoConfiguration |
double | m_MinWavelength |
double | m_MaxWavelength |
double | m_CurrentWavelength |
double | m_WavelengthToStepCalibration [7] |
double | m_HomePosition |
Definition at line 36 of file mitkGalilMotor.h.
|
protected |
Definition at line 25 of file mitkGalilMotor.cpp.
|
protectedvirtual |
Definition at line 34 of file mitkGalilMotor.cpp.
References CloseConnection(), and MITK_INFO.
|
virtual |
Definition at line 113 of file mitkGalilMotor.cpp.
References Home(), m_GalilSystem, and m_ReturnCode.
Referenced by ~GalilMotor().
bool mitk::GalilMotor::FastTuneWavelengths | ( | std::vector< double > | wavelengthList | ) |
Definition at line 186 of file mitkGalilMotor.cpp.
References GetPositionFromWavelength(), LoadResorceFile(), m_GalilSystem, m_ReturnCode, and MITK_INFO.
double mitk::GalilMotor::GetCurrentWavelength | ( | ) |
Definition at line 274 of file mitkGalilMotor.cpp.
References m_CurrentWavelength.
double mitk::GalilMotor::GetMaxWavelength | ( | ) |
Definition at line 269 of file mitkGalilMotor.cpp.
References m_MaxWavelength.
double mitk::GalilMotor::GetMinWavelength | ( | ) |
Definition at line 264 of file mitkGalilMotor.cpp.
References m_MinWavelength.
|
protected |
Definition at line 126 of file mitkGalilMotor.cpp.
References m_HomePosition, and m_WavelengthToStepCalibration.
Referenced by FastTuneWavelengths(), and TuneToWavelength().
|
protectedvirtual |
Definition at line 237 of file mitkGalilMotor.cpp.
References LoadResorceFile(), m_GalilSystem, m_ReturnCode, and MITK_INFO.
Referenced by CloseConnection(), and OpenConnection().
|
protected |
Definition at line 40 of file mitkGalilMotor.cpp.
References ModuleContext::GetModule(), us::GetModuleContext(), us::ModuleResource::IsFile(), us::ModuleResource::IsValid(), line, and MITK_ERROR.
Referenced by FastTuneWavelengths(), Home(), OpenConnection(), and TuneToWavelength().
mitk::GalilMotor::mitkClassMacroItkParent | ( | mitk::GalilMotor | , |
itk::Object | |||
) |
|
static |
|
virtual |
Definition at line 58 of file mitkGalilMotor.cpp.
References Home(), LoadResorceFile(), m_BaudRate, m_ComPort, m_CurrentWavelength, m_GalilSystem, m_HomePosition, m_MaxWavelength, m_MinWavelength, m_ReturnCode, m_WavelengthToStepCalibration, m_XmlOpoConfiguration, MITK_ERROR, and MITK_INFO.
bool mitk::GalilMotor::TuneToWavelength | ( | double | wavelength, |
bool | isRecalibrating | ||
) |
Definition at line 140 of file mitkGalilMotor.cpp.
References GetPositionFromWavelength(), LoadResorceFile(), m_CurrentWavelength, m_GalilSystem, m_HomePosition, m_ReturnCode, and MITK_INFO.
|
protected |
Definition at line 61 of file mitkGalilMotor.h.
Referenced by OpenConnection().
|
protected |
Definition at line 60 of file mitkGalilMotor.h.
Referenced by OpenConnection().
|
protected |
Definition at line 69 of file mitkGalilMotor.h.
Referenced by GetCurrentWavelength(), OpenConnection(), and TuneToWavelength().
|
protected |
Definition at line 62 of file mitkGalilMotor.h.
|
protected |
Definition at line 63 of file mitkGalilMotor.h.
Referenced by CloseConnection(), FastTuneWavelengths(), Home(), OpenConnection(), and TuneToWavelength().
|
protected |
Definition at line 71 of file mitkGalilMotor.h.
Referenced by GetPositionFromWavelength(), OpenConnection(), and TuneToWavelength().
|
protected |
Definition at line 68 of file mitkGalilMotor.h.
Referenced by GetMaxWavelength(), and OpenConnection().
|
protected |
Definition at line 67 of file mitkGalilMotor.h.
Referenced by GetMinWavelength(), and OpenConnection().
|
protected |
Definition at line 64 of file mitkGalilMotor.h.
Referenced by CloseConnection(), FastTuneWavelengths(), Home(), OpenConnection(), and TuneToWavelength().
|
protected |
Definition at line 70 of file mitkGalilMotor.h.
Referenced by GetPositionFromWavelength(), and OpenConnection().
|
protected |
Definition at line 66 of file mitkGalilMotor.h.
Referenced by OpenConnection().