Public Member Functions | Public Attributes
crl::multisense::system::DeviceMode Class Reference

#include <MultiSenseTypes.hh>

List of all members.

Public Member Functions

 DeviceMode (uint32_t w=0, uint32_t h=0, DataSource d=0, int32_t s=-1)

Public Attributes

int32_t disparities
uint32_t height
DataSource supportedDataSources
uint32_t width

Detailed Description

Class used query the device modes for a given sensor.

Example code to query all the available device modes for a sensor.

 {.cpp}
     crl::multisense::Channel* channel;
     channel = crl::multisense::Channel::Create("10.66.171.21");

     channel->setMtu(7200);

     std::vector<crl::multisense::system::DeviceMode> deviceModeVect;

     crl::multisense::Status status = channel->getDeviceModes(deviceModeVect));

     if(crl::multisense::Status_Ok != status) {
          throw std::runtime_error("Unable to query device modes info");
     }

     //
     // Use the device modes...

     crl::multisense::Channel::Destroy(channel);

Definition at line 1822 of file MultiSenseTypes.hh.


Constructor & Destructor Documentation

crl::multisense::system::DeviceMode::DeviceMode ( uint32_t  w = 0,
uint32_t  h = 0,
DataSource  d = 0,
int32_t  s = -1 
) [inline]

Constructor

Parameters:
wThe device mode width. Default value: 0
hThe device mode height. Default value: 0
dThe available data sources. Default value: 0
sThe number of valid disparities. Default value: -1

Definition at line 1845 of file MultiSenseTypes.hh.


Member Data Documentation

The number of valid disparities for a given device mode

Definition at line 1832 of file MultiSenseTypes.hh.

The image height configuration for a given device mode

Definition at line 1828 of file MultiSenseTypes.hh.

A listing of all the data sources available for a specific device mode

Definition at line 1830 of file MultiSenseTypes.hh.

The image width configuration for a given device mode

Definition at line 1826 of file MultiSenseTypes.hh.


The documentation for this class was generated from the following file:


multisense_lib
Author(s):
autogenerated on Thu Aug 27 2015 14:01:12