Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
icl::io::SwissRangerGrabber Class Reference

Grabber-Implementation for the SwissRanger time-of-flight camera using the libMesaSR library. More...

#include <SwissRangerGrabber.h>

Inheritance diagram for icl::io::SwissRangerGrabber:
icl::io::Grabber icl::utils::Uncopyable icl::utils::Configurable

List of all members.

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::ImgBaseacquireImage ()
 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.

Detailed Description

Grabber-Implementation for the SwissRanger time-of-flight camera using the libMesaSR library.


Constructor & Destructor Documentation

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:

Parameters:
serialNumberif 0 -> automatic select
if < 0 open selection dialog (windows: gui, linux: shell input) if > 0 specify serial number of device
bufferDepth
pickChannel

Destructor.


Member Function Documentation

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.

utility function

callback for changed configurable properties

Reimplemented from icl::io::Grabber.


Member Data Documentation

Internally used mutex locks grabbing and setting of properties.

Reimplemented from icl::utils::Configurable.

SwissRanger* icl::io::SwissRangerGrabber::m_sr [private]

Internal data.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines