Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Public Attributes
pcl::RealSenseGrabber::Mode Struct Reference

A descriptor for capturing mode. More...

#include <pcl/io/real_sense_grabber.h>

Public Member Functions

 Mode ()
 Set all fields to zero (i.e. More...
 
 Mode (unsigned int fps)
 Set desired framerate, the rest is "don't care". More...
 
 Mode (unsigned int depth_width, unsigned int depth_height)
 Set desired depth resolution, the rest is "don't care". More...
 
 Mode (unsigned int fps, unsigned int depth_width, unsigned int depth_height)
 Set desired framerate and depth resolution, the rest is "don't care". More...
 
 Mode (unsigned int depth_width, unsigned int depth_height, unsigned int color_width, unsigned int color_height)
 Set desired depth and color resolution, the rest is "don't care". More...
 
 Mode (unsigned int fps, unsigned int depth_width, unsigned int depth_height, unsigned int color_width, unsigned int color_height)
 Set desired framerate, depth and color resolution. More...
 
bool operator== (const pcl::RealSenseGrabber::Mode &m) const
 

Public Attributes

unsigned int fps
 
unsigned int depth_width
 
unsigned int depth_height
 
unsigned int color_width
 
unsigned int color_height
 

Detailed Description

A descriptor for capturing mode.

Consists of framerate and resolutions of depth and color streams. Serves two purposes: to describe the desired capturing mode when creating a grabber, and to list the available modes supported by the grabber (see getAvailableModes()). In the first case setting some fields to zero means "don't care", i.e. the grabber is allowed to decide itself which concrete values to use.

Definition at line 83 of file real_sense_grabber.h.

Constructor & Destructor Documentation

pcl::RealSenseGrabber::Mode::Mode ( )

Set all fields to zero (i.e.

"don't care").

pcl::RealSenseGrabber::Mode::Mode ( unsigned int  fps)

Set desired framerate, the rest is "don't care".

pcl::RealSenseGrabber::Mode::Mode ( unsigned int  depth_width,
unsigned int  depth_height 
)

Set desired depth resolution, the rest is "don't care".

pcl::RealSenseGrabber::Mode::Mode ( unsigned int  fps,
unsigned int  depth_width,
unsigned int  depth_height 
)

Set desired framerate and depth resolution, the rest is "don't care".

pcl::RealSenseGrabber::Mode::Mode ( unsigned int  depth_width,
unsigned int  depth_height,
unsigned int  color_width,
unsigned int  color_height 
)

Set desired depth and color resolution, the rest is "don't care".

pcl::RealSenseGrabber::Mode::Mode ( unsigned int  fps,
unsigned int  depth_width,
unsigned int  depth_height,
unsigned int  color_width,
unsigned int  color_height 
)

Set desired framerate, depth and color resolution.

Member Function Documentation

bool pcl::RealSenseGrabber::Mode::operator== ( const pcl::RealSenseGrabber::Mode m) const

Member Data Documentation

unsigned int pcl::RealSenseGrabber::Mode::color_height

Definition at line 89 of file real_sense_grabber.h.

unsigned int pcl::RealSenseGrabber::Mode::color_width

Definition at line 88 of file real_sense_grabber.h.

unsigned int pcl::RealSenseGrabber::Mode::depth_height

Definition at line 87 of file real_sense_grabber.h.

unsigned int pcl::RealSenseGrabber::Mode::depth_width

Definition at line 86 of file real_sense_grabber.h.

unsigned int pcl::RealSenseGrabber::Mode::fps

Definition at line 85 of file real_sense_grabber.h.


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