Image Component Library (ICL)
|
Grabber-Implementation for the SwissRanger time-of-flight camera using the libMesaSR library. More...
#include <SwissRangerGrabber.h>
Public Member Functions | |
ICLIO_API | SwissRangerGrabber (int serialNumber=0, core::depth bufferDepth=core::depth32f, int pickChannel=-1) throw (utils::ICLException) |
Create interface to device with given serial number: | |
ICLIO_API | ~SwissRangerGrabber () |
Destructor. | |
ICLIO_API const core::ImgBase * | acquireImage () |
grab an undistorted image | |
ICLIO_API void | addProperties () |
adds properties to Configurable | |
ICLIO_API void | processPropertyChange (const utils::Configurable::Property &prop) |
callback for changed configurable properties | |
Static Public Member Functions | |
static ICLIO_API const std::vector < GrabberDeviceDescription > & | getDeviceList (std::string hint, bool rescan) |
returns a list of all found devices | |
static ICLIO_API float | getMaxRangeMM (const std::string &modulationFreq) throw (utils::ICLException) |
Internally used utility function, that might be interesting elsewhere. | |
Private Member Functions | |
float | getMaxRangeVal () const |
utility function | |
Private Attributes | |
SwissRanger * | m_sr |
Internal data. | |
utils::Mutex | m_mutex |
Internally used mutex locks grabbing and setting of properties. |
Grabber-Implementation for the SwissRanger time-of-flight camera using the libMesaSR library.
ICLIO_API icl::io::SwissRangerGrabber::SwissRangerGrabber | ( | int | serialNumber = 0 , |
core::depth | bufferDepth = core::depth32f , |
||
int | pickChannel = -1 |
||
) | throw (utils::ICLException) |
Create interface to device with given serial number:
serialNumber | if 0 -> automatic select if < 0 open selection dialog (windows: gui, linux: shell input) if > 0 specify serial number of device |
bufferDepth | |
pickChannel |
Destructor.
ICLIO_API const core::ImgBase* icl::io::SwissRangerGrabber::acquireImage | ( | ) | [virtual] |
grab an undistorted image
Reimplemented from icl::io::Grabber.
adds properties to Configurable
static ICLIO_API const std::vector<GrabberDeviceDescription>& icl::io::SwissRangerGrabber::getDeviceList | ( | std::string | hint, |
bool | rescan | ||
) | [static] |
returns a list of all found devices
static ICLIO_API float icl::io::SwissRangerGrabber::getMaxRangeMM | ( | const std::string & | modulationFreq | ) | throw (utils::ICLException) [static] |
Internally used utility function, that might be interesting elsewhere.
float icl::io::SwissRangerGrabber::getMaxRangeVal | ( | ) | const [private] |
utility function
ICLIO_API void icl::io::SwissRangerGrabber::processPropertyChange | ( | const utils::Configurable::Property & | prop | ) |
callback for changed configurable properties
Reimplemented from icl::io::Grabber.
Internally used mutex locks grabbing and setting of properties.
Reimplemented from icl::utils::Configurable.
SwissRanger* icl::io::SwissRangerGrabber::m_sr [private] |
Internal data.