#include <MultiSenseTypes.hh>
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 |
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 2018 of file MultiSenseTypes.hh.
crl::multisense::system::DeviceMode::DeviceMode | ( | uint32_t | w = 0 , |
uint32_t | h = 0 , |
||
DataSource | d = 0 , |
||
int32_t | s = -1 |
||
) | [inline] |
Constructor
w | The device mode width. Default value: 0 |
h | The device mode height. Default value: 0 |
d | The available data sources. Default value: 0 |
s | The number of valid disparities. Default value: -1 |
Definition at line 2041 of file MultiSenseTypes.hh.
The number of valid disparities for a given device mode
Definition at line 2028 of file MultiSenseTypes.hh.
The image height configuration for a given device mode
Definition at line 2024 of file MultiSenseTypes.hh.
A listing of all the data sources available for a specific device mode
Definition at line 2026 of file MultiSenseTypes.hh.
The image width configuration for a given device mode
Definition at line 2022 of file MultiSenseTypes.hh.